if (typeof(RadBrowserUtils)=="u\x6e\x64\145f\x69ned"){var RadBrowserUtils= {Version: "1\x2e0.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("win")!=-1)){ this.IsOsWindows= true; }else if ((this.AgentString.indexOf("\x6d\x61\x63")!=-1) || (navigator.appVersion.indexOf("\x6d\x61c")!=-1)){ this.IsOsMac= true; }else if ((this.AgentString.indexOf("lin\x75\x78")!=-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=="\x43SS1Compat"){ 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; }try {if (document.body && document.body.filters){ this.HasFilters= true; }}catch (e){ this.HasFilters= false; }if (typeof(window.status)!="unde\x66\x69ned"){ this.HasStatus= true; }} ,I:function (){if (this.AllCollection || (navigator.appName=="Micr\x6f\x73oft I\x6eternet\x20\x45x\x70\154\x6f\x72er")){ this.IsIE= true; if (this.IsOsWindows){if (this.UpLevelDom){if ((navigator.appVersion.indexOf("MSIE 6")>0) || (document.getElementById && document.compatMode)){ this.IsIE6Win= true; }else if ((navigator.appVersion.indexOf("\x4dSIE 5.5")>0) && document.getElementById && !document.compatMode){ this.IsIE55Win= true; this.IsIE6Win= true; }else if (document.getElementById && !document.compatMode && typeof(window.opera)=="\x75ndefined"){ 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)=="\x75ndefined"){ this.IsOpera4= true; this.IsOpera= true; this.A(); }else if (typeof(window.opera)!="\x75ndefine\x64" && !typeof(window.print)=="\x75\x6edefin\x65\x64"){ this.IsOpera5= true; this.IsOpera= true; this.A(); }else if (typeof(window.opera)!="undefined" && typeof(window.print)!="unde\x66\x69ned" && typeof(document.childNodes)=="und\x65\x66ined"){ this.IsOpera6= true; this.IsOpera= true; this.A(); }else if (typeof(window.opera)!="undefi\x6e\x65d" && typeof(document.childNodes)!="\x75ndefine\x64"){ this.IsOpera7= true; this.IsOpera= true; this.A(); }if (this.IsOpera7 && (this.AgentString.indexOf("8.")!=-1)){ this.A(); this.U(); this.IsOpera8= true; this.IsOpera= true; }if (this.AgentString.indexOf("\x66irefo\x78\x2f")!=-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("N\x65\x74scape")!=-1 && navigator.product=="\x47ecko" && window.z){ this.A(); this.U(); this.IsNetscape6Plus= true; this.IsMozilla= true; }if (navigator.product=="\x47ecko" && !window.z){ this.A(); this.U(); this.IsNetscape6= true; }if ((navigator.vendor && navigator.vendor.indexOf("Nets\x63\x61\160\x65")!=-1 && navigator.product=="Gecko" && window.z) || (this.AgentString.indexOf("\x6eetscape/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("\x4eetscap\x65")!=-1 && navigator.product=="Gecko" && window.z) || (this.AgentString.indexOf("netscape/8")!=-1 || this.AgentString.indexOf("\x6eetsc\x61\x70e8")!=-1)){ this.A(); this.U(); this.Z(); this.IsMozilla= true; this.IsNetscape8= true; }if (navigator.vendor && navigator.vendor=="\x43\x61mino"){ this.A(); this.U(); this.IsCamino= true; this.IsMozilla= true; }if (((navigator.vendor && navigator.vendor=="K\x44\x45") || (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="\111\x73Netscape\x34 "+this.IsNetscape4+"\012"; w+="\x49sNetsc\x61\x70e6 "+this.IsNetscape6+"\012"; w+="IsNetsc\x61\x70e6Pl\x75\x73 "+this.IsNetscape6Plus+"\x0a"; w+="\x49sNetscape7\x20"+this.IsNetscape7+"\x0a"; w+="IsNet\x73\x63ape8 "+this.IsNetscape8+"\012"; w+="\x49sMozilla "+this.IsMozilla+"\x0a"; w+="IsFire\x66\x6fx "+this.IsFirefox+"\x0a"; w+="IsSafari "+this.IsSafari+"\012"; w+="I\x73\x49E "+this.IsIE+"\x0a"; w+="\x49sIEMac "+this.IsIEMac+"\x0a"; w+="\x49sIE5Mac "+this.IsIE5Mac+"\x0a"; w+="\111sI\x45\x34Mac "+this.IsIE4Mac+"\x0a"; w+="\x49sIE5W\x69\x6e "+this.IsIE5Win+"\x0a"; w+="IsIE55Win\x20"+this.IsIE55Win+"\x0a"; w+="IsIE6W\x69\x6e "+this.IsIE6Win+"\x0a"; w+="I\x73\x49E4Win "+this.IsIE4Win+"\x0a"; w+="IsOpera "+this.IsOpera+"\x0a"; w+="Is\x4f\x70era4 "+this.IsOpera4+"\012"; w+="\x49sOpera5 "+this.IsOpera5+"\012"; w+="\x49sOpera6 "+this.IsOpera6+"\012"; w+="IsOpe\x72\x617 "+this.IsOpera7+"\012"; w+="\x49sOpera8 "+this.IsOpera8+"\x0a"; w+="IsKonqu\x65\x72or "+this.IsKonqueror+"\x0a"; w+="\x49sOmniW\x65\x62 "+this.IsOmniWeb+"\x0a"; w+="IsCa\x6d\x69no "+this.IsCamino+"\012"; w+="IsUnknownB\x72\x6fwse\x72\x20"+this.IsUnknownBrowser+"\x0a"; alert(w); } ,V:function (){var v="IsOsWin\x64\x6fws "+this.IsOsWindows+"\x0a"; v+="IsOsLin\x75\x78 "+this.IsOsLinux+"\x0a"; v+="Is\x4f\x73Unix "+this.IsOsUnix+"\012"; v+="\x49sOsMa\x63\x20"+this.IsOsMac+"\x0a"; v+="\x49sUnkn\x6f\x77nOS "+this.IsUnknownOS+"\012"; alert(v); } ,T:function (){var t="UpL\x65\x76elDom "+this.UpLevelDom+"\012"; t+="Al\x6c\x43ollect\x69\x6fn "+this.AllCollection+"\x0a"; t+="Lay\x65\x72s "+this.Layers+"\x0a"; t+="\x46ocus "+this.Focus+"\012"; t+="Stand\x61\x72dMode\x20"+this.StandardMode+"\x0a"; t+="\x48\x61sImage\x73\x41rra\x79\x20"+this.HasImagesArray+"\012"; t+="H\x61\x73Anchors\x41\162r\x61\x79 "+this.HasAnchorsArray+"\012"; t+="Docume\x6e\x74Clear\x20"+this.DocumentClear+"\x0a"; t+="\x41\x70pendC\x68\x69ld "+this.AppendChild+"\012"; t+="Inn\x65\x72Width "+this.InnerWidth+"\012"; t+="\x48asComput\x65\x64Sty\x6c\x65 "+this.HasComputedStyle+"\x0a"; t+="Ha\x73\x43urrentS\x74\171le\x20"+this.HasCurrentStyle+"\x0a"; t+="H\x61\x73Filter\x73\x20"+this.HasFilters+"\x0a"; t+="\x48\x61sStatu\x73\x20"+this.HasStatus+"\x0a"; alert(t); }};RadBrowserUtils.O(); }
