if (typeof(RadBrowserUtils)=="unde\x66\x69\x6eed"){var RadBrowserUtils= {Version: "1.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("win")!=-1)){ this.IsOsWindows= true; }else if ((this.AgentString.indexOf("\x6d\x61c")!=-1) || (navigator.appVersion.indexOf("\x6d\x61c")!=-1)){ this.IsOsMac= true; }else if ((this.AgentString.indexOf("linux")!=-1)){ this.IsOsLinux= true; }else if ((this.AgentString.indexOf("\x7811")!=-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=="CSS\x31Compat"){ 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)!="undefined"){ this.HasStatus= true; }} ,I:function (){if (this.AllCollection || (navigator.appName=="\x4dicrosoft\x20Intern\x65t Expl\x6frer")){ this.IsIE= true; if (this.IsOsWindows){if (this.UpLevelDom){if ((navigator.appVersion.indexOf("\x4dSIE\x20\x36")>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("\x6f\160\x65\x72a")!=-1 && typeof(window.opera)=="undefined"){ this.IsOpera4= true; this.IsOpera= true; this.A(); }else if (typeof(window.opera)!="\x75ndef\x69\x6eed" && !typeof(window.print)=="\x75\x6edefined"){ this.IsOpera5= true; this.IsOpera= true; this.A(); }else if (typeof(window.opera)!="\x75ndefined" && typeof(window.print)!="\x75ndefined" && typeof(document.childNodes)=="undefined"){ this.IsOpera6= true; this.IsOpera= true; this.A(); }else if (typeof(window.opera)!="\x75ndefined" && typeof(document.childNodes)!="un\x64\x65fined"){ this.IsOpera7= true; this.IsOpera= true; this.A(); }if (this.IsOpera7 && (this.AgentString.indexOf("\070\x2e")!=-1)){ this.A(); this.U(); this.IsOpera8= true; this.IsOpera= true; }if (this.AgentString.indexOf("fi\x72\x65fox/")!=-1){ this.A(); this.U(); this.IsMozilla= true; this.IsFirefox= true; }else if (navigator.product=="\x47ecko" && window.z){ this.A(); this.U(); this.IsMozilla= true; }if (navigator.vendor && navigator.vendor.indexOf("\x4eetscape")!=-1 && navigator.product=="Gecko" && window.z){ this.A(); this.U(); this.IsNetscape6Plus= true; this.IsMozilla= true; }if (navigator.product=="\x47\x65cko" && !window.z){ this.A(); this.U(); this.IsNetscape6= true; }if ((navigator.vendor && navigator.vendor.indexOf("\116\x65\x74scape")!=-1 && navigator.product=="Gecko" && window.z) || (this.AgentString.indexOf("netscape/7")!=-1 || this.AgentString.indexOf("netscape7")!=-1)){ this.A(); this.U(); this.Z(); this.IsMozilla= true; this.IsNetscape7= true; }if ((navigator.vendor && navigator.vendor.indexOf("\x4eetsc\x61\x70e")!=-1 && navigator.product=="\x47ecko" && window.z) || (this.AgentString.indexOf("\x6eetscape/\x38")!=-1 || this.AgentString.indexOf("\x6eetsca\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=="KD\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="\x49sNetscap\x654 "+this.IsNetscape4+"\012"; w+="\x49sNetscap\x65\x36 "+this.IsNetscape6+"\x0a"; w+="\x49\163Net\x73\x63ape\x36\x50lu\x73\040"+this.IsNetscape6Plus+"\012"; w+="Is\x4e\x65tscape\x37\x20"+this.IsNetscape7+"\x0a"; w+="\x49sNetscape8\x20"+this.IsNetscape8+"\012"; w+="Is\x4d\x6fzilla "+this.IsMozilla+"\x0a"; w+="IsFirefox "+this.IsFirefox+"\x0a"; w+="IsSafari "+this.IsSafari+"\012"; w+="IsIE "+this.IsIE+"\012"; w+="\111sI\x45\x4dac "+this.IsIEMac+"\012"; w+="IsIE5Mac\x20"+this.IsIE5Mac+"\x0a"; w+="IsIE4Mac "+this.IsIE4Mac+"\x0a"; w+="\x49sIE5Win "+this.IsIE5Win+"\x0a"; w+="IsIE55Win "+this.IsIE55Win+"\x0a"; w+="IsIE6\x57\x69n "+this.IsIE6Win+"\012"; w+="I\x73\x49E4Win "+this.IsIE4Win+"\x0a"; w+="IsO\x70\x65ra "+this.IsOpera+"\x0a"; w+="IsOpera4 "+this.IsOpera4+"\x0a"; w+="\x49sOpera5\x20"+this.IsOpera5+"\012"; w+="\x49sOpera6 "+this.IsOpera6+"\x0a"; w+="\x49\x73Opera7 "+this.IsOpera7+"\012"; w+="IsOpera\x38\x20"+this.IsOpera8+"\x0a"; w+="IsKonquer\x6f\x72 "+this.IsKonqueror+"\012"; w+="\x49sOmniWeb "+this.IsOmniWeb+"\x0a"; w+="IsCami\x6e\x6f "+this.IsCamino+"\x0a"; w+="IsUnk\x6e\x6fwnBro\x77\x73er "+this.IsUnknownBrowser+"\x0a"; alert(w); } ,V:function (){var v="\x49sOsWindows\x20"+this.IsOsWindows+"\012"; v+="\x49sOsLinux "+this.IsOsLinux+"\x0a"; v+="I\x73\x4fsUnix "+this.IsOsUnix+"\x0a"; v+="\x49sOsMac\x20"+this.IsOsMac+"\x0a"; v+="\x49sUnkno\x77\x6eOS "+this.IsUnknownOS+"\012"; alert(v); } ,T:function (){var t="\x55pLevelDom "+this.UpLevelDom+"\x0a"; t+="AllColle\x63\x74ion "+this.AllCollection+"\012"; t+="Layers "+this.Layers+"\012"; t+="F\x6f\x63us "+this.Focus+"\x0a"; t+="\x53tandardMod\x65\x20"+this.StandardMode+"\x0a"; t+="Has\x49\x6dagesAr\x72\x61y "+this.HasImagesArray+"\012"; t+="\x48asAnc\x68\x6frsAr\x72\x61y "+this.HasAnchorsArray+"\012"; t+="DocumentC\x6c\x65ar "+this.DocumentClear+"\x0a"; t+="App\x65\x6edChild\x20"+this.AppendChild+"\012"; t+="\x49\x6enerWidt\x68\040"+this.InnerWidth+"\012"; t+="HasCo\x6d\x70utedS\x74\x79le "+this.HasComputedStyle+"\012"; t+="H\x61\x73Curren\x74\x53tyl\x65\x20"+this.HasCurrentStyle+"\012"; t+="\x48asFilters "+this.HasFilters+"\012"; t+="\x48asStatus "+this.HasStatus+"\012"; alert(t); }};RadBrowserUtils.O(); }
