// Coded by: clyndir var IPAresult; var IPAscreen, IPAwinsize, IPAcdi, IPAjava, IPAshk, IPAsvg, IPAfla, IPArp, IPAmov, IPAwma, IPApdf, IPApdfver function ipaJS_detectIE(IPAClassID) { IPAresult = false; document.write('\n on error resume next \n IPAresult = IsObject(CreateObject("' + IPAClassID + '")) \n \n'); if (IPAresult) return 'y'; else return 'n'; } function ipaJS_detectNS(IPAClassID) { IPAn = "n"; if (IPAnse.indexOf(IPAClassID) != -1) if (navigator.mimeTypes[IPAClassID].enabledPlugin != null) IPAn = "y"; return IPAn; } { IPAscreen=screen.width+"x"+screen.height; if (navigator.appName != "Netscape") { IPAcdi=screen.colorDepth; } else {IPAcdi=screen.pixelDepth}; IPAjava=navigator.javaEnabled(); if (IPAjava==true) IPAjava="y"; else IPAjava="n"; IPAcookie=navigator.cookieEnabled; if (IPAcookie==true) IPAcookie="y"; else IPAcookie="n"; var IPAnav=navigator.appName.toLowerCase(); var IPAagt=navigator.userAgent.toLowerCase(); var IPAwin = ((IPAagt.indexOf("win")!=-1) || (IPAagt.indexOf("32bit")!=-1)); var IPAmac = (IPAagt.indexOf("mac")!=-1); var IPAns = (IPAnav.indexOf("netscape") != -1); var IPAopera= (IPAnav.indexOf("opera") != -1); var IPAie = (IPAagt.indexOf("msie") != -1); var IPAwinsize; if (document.documentElement && document.documentElement.clientWidth) IPAwinsize = document.documentElement.clientWidth + 'x' + document.documentElement.clientHeight; else if (document.body && document.body.clientWidth) IPAwinsize = document.body.clientWidth + 'x' + document.body.clientHeight; else IPAwinsize = window.innerWidth + 'x' + window.innerHeight; if (IPAie && IPAwin) { IPAshk = ipaJS_detectIE("SWCtl.SWCtl.1"); IPAsvg = ipaJS_detectIE("Adobe.SVGCtl"); IPAfla = ipaJS_detectIE("ShockwaveFlash.ShockwaveFlash.1"); IPArp = ipaJS_detectIE("rmocx.RealPlayer G2 Control.1"); IPAmov = ipaJS_detectIE("QuickTimeCheckObject.QuickTimeCheck.1"); IPAwma = ipaJS_detectIE("MediaPlayer.MediaPlayer.1"); IPApdf = 'n'; IPApdfver=''; if (ipaJS_detectIE("PDF.PdfCtrl.1") == 'y') { IPApdf = 'y'; IPApdfver='4'; } if (ipaJS_detectIE('PDF.PdfCtrl.5') == 'y') { IPApdf = 'y'; IPApdfver='5'; } if (ipaJS_detectIE('PDF.PdfCtrl.6') == 'y') { IPApdf = 'y'; IPApdfver='6'; } if (ipaJS_detectIE('AcroPDF.PDF.1') == 'y') { IPApdf = 'y'; IPApdfver='7'; } } if (IPAns || !IPAwin) { IPAnse = ""; for (var IPAi=0;IPAi