if (typeof(RadBrowserUtils)=="\x75ndefined"){var RadBrowserUtils= {Version: "\x31.0.0",IsInitialized: false ,IsOsWindows: false ,IsOsLinux: false ,IsOsUnix: false ,IsOsMac: false ,IsUnknownOS: false ,IsNetscape4: false ,IsNetscape6: false ,IsNetscape6Plus: false ,IsNetscape7: false ,IsNetscape8: false ,IsMozilla: false ,IsFirefox: false ,IsSafari: false ,IsIE: false ,IsIEMac: false ,IsIE5Mac: false ,IsIE4Mac: false ,IsIE5Win: false ,IsIE55Win: false ,IsIE6Win: false ,IsIE4Win: false ,IsOpera: false ,IsOpera4: false ,IsOpera5: false ,IsOpera6: false ,IsOpera7: false ,IsOpera8: false ,IsKonqueror: false ,IsOmniWeb: false ,IsCamino: false ,IsUnknownBrowser: false ,UpLevelDom: false ,AllCollection: false ,Layers: false ,Focus: false ,StandardMode: false ,HasImagesArray: false ,HasAnchorsArray: false ,DocumentClear: false ,AppendChild: false ,InnerWidth: false ,HasComputedStyle: false ,HasCurrentStyle: false ,HasFilters: false ,HasStatus: false ,Name: "",Codename: "",BrowserVersion: "",Platform: "",JavaEnabled: false ,ScreenWidth: 0,ScreenHeight: 0,AgentString: "",O:function (){if (window.navigator){ this.AgentString=navigator.userAgent.toLowerCase(); this.Name=navigator.appName; this.Codename=navigator.appCodeName; this.BrowserVersion=navigator.appVersion.substring(0,4); this.Platform=navigator.platform; this.JavaEnabled=navigator.javaEnabled(); this.ScreenWidth=screen.width; this.ScreenHeight=screen.height; } this.o(); this.Y(); this.I(); this.IsInitialized= true; } ,A:function (){ this.IsIE=this.IsIE6Win=this.IsIE55Win=this.IsIE5Win=this.IsIE4Win=this.IsIEMac=this.IsIE5Mac=this.IsIE4Mac= false; } ,U:function (){ this.IsOpera4=this.IsOpera5=this.IsOpera6=this.IsOpera7= false; } ,Z:function (){ this.IsFirefox=this.IsMozilla=this.IsNetscape7=this.IsNetscape6Plus=this.IsNetscape6=this.IsNetscape4= false; } ,o:function (){if ((this.AgentString.indexOf("\167in")!=-1)){ this.IsOsWindows= true; }else if ((this.AgentString.indexOf("\x6dac")!=-1) || (navigator.appVersion.indexOf("ma\x63")!=-1)){ this.IsOsMac= true; }else if ((this.AgentString.indexOf("\x6cinux")!=-1)){ this.IsOsLinux= true; }else if ((this.AgentString.indexOf("x11")!=-1)){ this.IsOsUnix= true; }else { this.IsUnknownBrowser= true; }} ,Y:function (){if ((document.getElementById && document.createElement)){ this.UpLevelDom= true; }if (document.all){ this.AllCollection= true; }if (document.layers){ this.Layers= true; }if (window.focus){ this.Focus= true; }if (document.compatMode && document.compatMode=="C\x53S1Compat"){ this.StandardMode= true; }if (document.images){ this.HasImagesArray= true; }if (document.anchors){ this.HasAnchorsArray= true; }if (document.clear){ this.DocumentClear= true; }if (document.appendChild){ this.AppendChild= true; }if (window.innerWidth){ this.InnerWidth= true; }if (window.getComputedStyle){ this.HasComputedStyle= true; }if (document.documentElement && document.documentElement.currentStyle){ this.HasCurrentStyle= true; }else if (document.body && document.body.currentStyle){ this.HasCurrentStyle= true; }if (document.body && document.body.filters){ this.HasFilters= true; }if (typeof(window.status)!="\x75ndefine\x64"){ this.HasStatus= true; }} ,I:function (){if (this.AllCollection || (navigator.appName=="Micro\x73\x6fft I\x6e\x74ern\x65t Ex\x70\154\x6f\x72er")){ this.IsIE= true; if (this.IsOsWindows){if (this.UpLevelDom){if ((navigator.appVersion.indexOf("\x4dSIE 6")>0) || (document.getElementById && document.compatMode)){ this.IsIE6Win= true; }else if ((navigator.appVersion.indexOf("MSIE 5.5")>0) && document.getElementById && !document.compatMode){ this.IsIE55Win= true; this.IsIE6Win= true; }else if (document.getElementById && !document.compatMode && typeof(window.opera)=="undefine\x64"){ this.IsIE5Win= true; }}else { this.IsIE4Win= true; }}else if (this.IsOsMac){ this.IsIEMac= true; if (this.UpLevelDom){ this.IsIE5Mac= true; }else { this.IsIE4Mac= true; }}}if (this.AgentString.indexOf("oper\x61")!=-1 && typeof(window.opera)=="\x75\x6edefined"){ this.IsOpera4= true; this.IsOpera= true; this.A(); }else if (typeof(window.opera)!="undefined" && !typeof(window.print)=="\x75ndefin\x65\x64"){ this.IsOpera5= true; this.IsOpera= true; this.A(); }else if (typeof(window.opera)!="unde\x66\x69ned" && typeof(window.print)!="undefine\x64" && typeof(document.childNodes)=="\x75\x6edefined"){ this.IsOpera6= true; this.IsOpera= true; this.A(); }else if (typeof(window.opera)!="u\x6e\x64efined" && typeof(document.childNodes)!="undef\x69\x6eed"){ this.IsOpera7= true; this.IsOpera= true; this.A(); }if (this.IsOpera7 && (this.AgentString.indexOf("\x38.")!=-1)){ this.A(); this.U(); this.IsOpera8= true; this.IsOpera= true; }if (this.AgentString.indexOf("\x66irefox\x2f")!=-1){ this.A(); this.U(); this.IsMozilla= true; this.IsFirefox= true; }else if (navigator.product=="Geck\x6f" && window.z){ this.A(); this.U(); this.IsMozilla= true; }if (navigator.vendor && navigator.vendor.indexOf("\x4eetscap\x65")!=-1 && navigator.product=="Gecko" && window.z){ this.A(); this.U(); this.IsNetscape6Plus= true; this.IsMozilla= true; }if (navigator.product=="Gecko" && !window.z){ this.A(); this.U(); this.IsNetscape6= true; }if ((navigator.vendor && navigator.vendor.indexOf("\x4eetscape")!=-1 && navigator.product=="\x47ecko" && window.z) || (this.AgentString.indexOf("n\x65\x74scape/\x37")!=-1 || this.AgentString.indexOf("netscape\x37")!=-1)){ this.A(); this.U(); this.Z(); this.IsMozilla= true; this.IsNetscape7= true; }if ((navigator.vendor && navigator.vendor.indexOf("\x4eetscape")!=-1 && navigator.product=="\x47ecko" && window.z) || (this.AgentString.indexOf("n\x65\x74scape/8")!=-1 || this.AgentString.indexOf("netscape8")!=-1)){ this.A(); this.U(); this.Z(); this.IsMozilla= true; this.IsNetscape8= true; }if (navigator.vendor && navigator.vendor=="Camino"){ this.A(); this.U(); this.IsCamino= true; this.IsMozilla= true; }if (((navigator.vendor && navigator.vendor=="\x4bDE") || (document.childNodes) && (!document.all) && (!navigator.taintEnabled))){ this.A(); this.U(); this.IsKonqueror= true; }if ((document.childNodes) && (!document.all) && (!navigator.taintEnabled) && (navigator.X)){ this.A(); this.U(); this.IsOmniWeb= true; }else if (document.layers && navigator.mimeTypes["*"]){ this.A(); this.U(); this.IsNetscape4= true; }if ((document.childNodes) && (!document.all) && (!navigator.taintEnabled) && (!navigator.X)){ this.A(); this.U(); this.IsSafari= true; }else {IsUnknownBrowser= true; }} ,W:function (){var w="I\x73\x4e\x65tsc\x61pe4 "+this.IsNetscape4+"\x0a"; w+="IsNetscape\x36\x20"+this.IsNetscape6+"\012"; w+="IsNet\x73\x63ape6P\x6c\x75s "+this.IsNetscape6Plus+"\012"; w+="\x49sNetscape7\x20"+this.IsNetscape7+"\012"; w+="\x49\x73Netsc\x61\x70e8 "+this.IsNetscape8+"\012"; w+="\x49sMoz\x69\x6cla "+this.IsMozilla+"\x0a"; w+="\x49sFirefo\x78\x20"+this.IsFirefox+"\x0a"; w+="\111sS\x61\x66ari "+this.IsSafari+"\012"; w+="\x49sIE "+this.IsIE+"\012"; w+="\x49sIEMac\x20"+this.IsIEMac+"\012"; w+="\x49\x73IE5Mac "+this.IsIE5Mac+"\012"; w+="\x49\x73IE4Mac "+this.IsIE4Mac+"\012"; w+="IsIE5W\x69\x6e "+this.IsIE5Win+"\012"; w+="\x49sIE55W\x69\x6e "+this.IsIE55Win+"\012"; w+="IsIE\x36\x57in "+this.IsIE6Win+"\012"; w+="\x49sIE4Win\x20"+this.IsIE4Win+"\x0a"; w+="\x49\x73Opera "+this.IsOpera+"\x0a"; w+="\x49sOpera4 "+this.IsOpera4+"\x0a"; w+="Is\x4f\x70era5 "+this.IsOpera5+"\x0a"; w+="Is\x4f\x70era6 "+this.IsOpera6+"\012"; w+="\x49sOpera7\x20"+this.IsOpera7+"\012"; w+="I\x73\x4fpera8 "+this.IsOpera8+"\012"; w+="IsKonquero\x72\x20"+this.IsKonqueror+"\012"; w+="\x49sOmniW\x65\x62 "+this.IsOmniWeb+"\012"; w+="\x49\x73Camin\x6f\x20"+this.IsCamino+"\012"; w+="\x49sUnknown\x42\x72ows\x65\x72 "+this.IsUnknownBrowser+"\x0a"; alert(w); } ,V:function (){var v="I\x73\x4fsWindo\x77\x73 "+this.IsOsWindows+"\x0a"; v+="IsOsLinux "+this.IsOsLinux+"\012"; v+="Is\x4f\x73Unix "+this.IsOsUnix+"\012"; v+="IsOsMac\x20"+this.IsOsMac+"\012"; v+="IsUnknownO\x53\x20"+this.IsUnknownOS+"\012"; alert(v); } ,T:function (){var t="UpLevelDom\x20"+this.UpLevelDom+"\012"; t+="AllCo\x6c\x6cecti\x6f\x6e "+this.AllCollection+"\x0a"; t+="Laye\x72\x73 "+this.Layers+"\x0a"; t+="\x46\x6fcus "+this.Focus+"\x0a"; t+="Stand\x61\x72dMode\x20"+this.StandardMode+"\x0a"; t+="HasIm\x61\x67esArr\x61\x79 "+this.HasImagesArray+"\x0a"; t+="H\x61\x73Anchors\x41\162ra\x79\x20"+this.HasAnchorsArray+"\012"; t+="\x44ocumentClea\x72\x20"+this.DocumentClear+"\012"; t+="\x41ppendC\x68\x69ld "+this.AppendChild+"\012"; t+="\x49\x6enerWid\x74\x68 "+this.InnerWidth+"\x0a"; t+="HasComputed\x53\x74yle "+this.HasComputedStyle+"\012"; t+="HasCurrent\x53\x74yle\x20"+this.HasCurrentStyle+"\x0a"; t+="\110asF\x69\x6cters "+this.HasFilters+"\x0a"; t+="\x48asStat\x75\x73 "+this.HasStatus+"\012"; alert(t); }};RadBrowserUtils.O(); }
