var BrowserType=function(){
var userAgent=window.navigator.userAgent
if(userAgent.indexOf('Edge')>-1){
return 'Edge'
}
if(userAgent.indexOf('Firefox')>-1){
return 'Firefox'
}
if(userAgent.indexOf('Chrome')>-1){
return 'Chrome'
}
if(userAgent.indexOf('.NET')>-1){
return 'IE'
}
}
var userAgent=window.navigator.userAgent
if(userAgent.indexOf('Edge')>-1){
return 'Edge'
}
if(userAgent.indexOf('Firefox')>-1){
return 'Firefox'
}
if(userAgent.indexOf('Chrome')>-1){
return 'Chrome'
}
if(userAgent.indexOf('.NET')>-1){
return 'IE'
}
}