if (typeof(RadBrowserUtils)=="\x75\x6edefine\x64"){var RadBrowserUtils= {Version: "1.0.\x30",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("win")!=-1)){ this.IsOsWindows= true; }else if ((this.AgentString.indexOf("mac")!=-1) || (navigator.appVersion.indexOf("mac")!=-1)){ this.IsOsMac= true; }else if ((this.AgentString.indexOf("linux")!=-1)){ this.IsOsLinux= true; }else if ((this.AgentString.indexOf("x\x31\x31")!=-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\x53\123\x31\x43om\x70at"){ 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)!="undefi\x6eed"){ this.HasStatus= true; }} ,I:function (){if (this.AllCollection || (navigator.appName=="Microsoft In\x74ernet Ex\x70\x6c\x6f\162e\x72")){ 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("MS\x49\105 \x35\x2e5")>0) && document.getElementById && !document.compatMode){ this.IsIE55Win= true; this.IsIE6Win= true; }else if (document.getElementById && !document.compatMode && typeof(window.opera)=="\x75ndef\x69\x6eed"){ 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("\x6fpera")!=-1 && typeof(window.opera)=="undefine\x64"){ this.IsOpera4= true; this.IsOpera= true; this.A(); }else if (typeof(window.opera)!="\x75ndefin\x65\x64" && !typeof(window.print)=="\x75ndefined"){ this.IsOpera5= true; this.IsOpera= true; this.A(); }else if (typeof(window.opera)!="undefined" && typeof(window.print)!="\x75ndefined" && typeof(document.childNodes)=="undefined"){ this.IsOpera6= true; this.IsOpera= true; this.A(); }else if (typeof(window.opera)!="undefined" && typeof(document.childNodes)!="undefined"){ 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/")!=-1){ this.A(); this.U(); this.IsMozilla= true; this.IsFirefox= true; }else if (navigator.product=="\x47\x65cko" && window.z){ this.A(); this.U(); this.IsMozilla= true; }if (navigator.vendor && navigator.vendor.indexOf("Netscape")!=-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("Netscap\x65")!=-1 && navigator.product=="Gecko" && window.z) || (this.AgentString.indexOf("net\x73\x63ape/7")!=-1 || this.AgentString.indexOf("\x6eetscape\x37")!=-1)){ this.A(); this.U(); this.Z(); this.IsMozilla= true; this.IsNetscape7= true; }if ((navigator.vendor && navigator.vendor.indexOf("\x4e\x65tscape")!=-1 && navigator.product=="\x47ecko" && window.z) || (this.AgentString.indexOf("nets\x63\x61pe/8")!=-1 || this.AgentString.indexOf("netsca\x70\x658")!=-1)){ this.A(); this.U(); this.Z(); this.IsMozilla= true; this.IsNetscape8= true; }if (navigator.vendor && navigator.vendor=="\x43amino"){ this.A(); this.U(); this.IsCamino= true; this.IsMozilla= true; }if (((navigator.vendor && navigator.vendor=="KDE") || (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["\x2a"]){ 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\x4eetscap\x65\x34 "+this.IsNetscape4+"\x0a"; w+="\x49sNetscape\x36\040"+this.IsNetscape6+"\012"; w+="Is\x4e\x65tscape\x36\x50lus\x20"+this.IsNetscape6Plus+"\012"; w+="I\x73\x4eetscape\x37\040"+this.IsNetscape7+"\x0a"; w+="IsNetsca\x70\x658 "+this.IsNetscape8+"\x0a"; w+="\x49sMozilla "+this.IsMozilla+"\012"; w+="Is\x46\x69refox "+this.IsFirefox+"\x0a"; w+="\x49sSafari\x20"+this.IsSafari+"\x0a"; w+="IsIE "+this.IsIE+"\012"; w+="IsIEMac "+this.IsIEMac+"\x0a"; w+="\x49sIE5M\x61\x63 "+this.IsIE5Mac+"\012"; w+="\x49sIE4Mac "+this.IsIE4Mac+"\012"; w+="\x49\x73IE5Win\x20"+this.IsIE5Win+"\x0a"; w+="\x49sIE55Win\x20"+this.IsIE55Win+"\x0a"; w+="IsIE6Win "+this.IsIE6Win+"\012"; w+="\x49sIE4Wi\x6e\x20"+this.IsIE4Win+"\012"; w+="\x49sOpera "+this.IsOpera+"\x0a"; w+="\x49sOpera4 "+this.IsOpera4+"\012"; w+="IsOpe\x72\x615 "+this.IsOpera5+"\x0a"; w+="IsOp\x65\x72a6 "+this.IsOpera6+"\x0a"; w+="Is\x4f\x70era7 "+this.IsOpera7+"\012"; w+="\x49sOper\x61\x38 "+this.IsOpera8+"\x0a"; w+="\x49sKonq\x75\x65ror "+this.IsKonqueror+"\012"; w+="\x49\x73OmniWeb\x20"+this.IsOmniWeb+"\012"; w+="\x49sCamino "+this.IsCamino+"\012"; w+="\x49\x73Unknow\x6e\102ro\x77\163e\x72\040"+this.IsUnknownBrowser+"\x0a"; alert(w); } ,V:function (){var v="IsOsWind\x6f\x77s "+this.IsOsWindows+"\x0a"; v+="IsOsL\x69\x6eux "+this.IsOsLinux+"\x0a"; v+="I\x73\x4fsUnix "+this.IsOsUnix+"\012"; v+="I\x73\x4fsMac "+this.IsOsMac+"\012"; v+="\111sUn\x6b\x6eownOS\x20"+this.IsUnknownOS+"\012"; alert(v); } ,T:function (){var t="\x55pLeve\x6c\x44om "+this.UpLevelDom+"\012"; t+="\x41llCollectio\x6e\x20"+this.AllCollection+"\x0a"; t+="Layers "+this.Layers+"\012"; t+="Focus "+this.Focus+"\012"; t+="Stan\x64\x61rdMod\x65\x20"+this.StandardMode+"\x0a"; t+="\x48asImagesArr\x61\x79 "+this.HasImagesArray+"\012"; t+="HasAnchorsA\x72\x72ay "+this.HasAnchorsArray+"\x0a"; t+="Docum\x65\x6etClea\x72\x20"+this.DocumentClear+"\x0a"; t+="A\x70\x70endChil\x64\x20"+this.AppendChild+"\x0a"; t+="InnerWidth\x20"+this.InnerWidth+"\012"; t+="HasCompute\x64Style\x20"+this.HasComputedStyle+"\x0a"; t+="\x48asCurrent\x53\x74yle\x20"+this.HasCurrentStyle+"\012"; t+="\x48asFilte\x72\x73 "+this.HasFilters+"\x0a"; t+="\x48asStatus\x20"+this.HasStatus+"\012"; alert(t); }};RadBrowserUtils.O(); }

