var javascriptVersion1_1=true;var detectableWithVB=false;var pluginFound=false;function canDetectPlugins(){if(detectableWithVB||(navigator.plugins&&navigator.plugins.length>0)){return true}else{return false}}function detectPDF(){var a=0;if(navigator.plugins!=null&&navigator.plugins.length>0){for(i=0;i<navigator.plugins.length;i++){var b=navigator.plugins[i];if(b.name.indexOf("Adobe Acrobat")>-1){a=parseFloat(b.description.substring(30))}}}else{if(detectableWithVB){for(i=0;i<11;i++){if(detectActiveXControl("PDF.PdfCtrl."+i)){a=i}}}}return a}function detectJava(){javaVersion=0;if(navigator.mimeTypes&&navigator.mimeTypes.length){if(navigator.mimeTypes["application/x-java-jnlp-file"]){javaVersion="1.5"}}else{if(detectableWithVB){if(detectActiveXControl("JavaWebStart.isInstalled")){javaVersion="1.1"}if(detectActiveXControl("JavaWebStart.isInstalled.2")){javaVersion="1.2"}if(detectActiveXControl("JavaWebStart.isInstalled.1.4.2.0")){javaVersion="1.4"}}}return javaVersion}function detectFlash(){var d=10;var b=0;if(navigator.plugins!=null&&navigator.plugins.length>0){var a=navigator.plugins["Shockwave Flash"];if(typeof a=="object"){for(var c=d;c>=3;c--){if(a.description.indexOf(c+".")!=-1){b=c}}}}else{if(detectableWithVB){for(c=0;c<11;c++){if(detectActiveXControl("ShockwaveFlash.ShockwaveFlash."+c)){b=c}}}else{if(agent.indexOf("webtv/2.5")!=-1){return 3}else{if(agent.indexOf("webtv")!=-1){return 2}}}}return b}function detectDirector(){directorVersion=0;for(i=0;i<11;i++){if(detectPlugin("SWCtl.SWCtl."+i)){directorVersion=i}if(!pluginFound&&detectableWithVB){if(detectActiveXControl("SWCtl.SWCtl."+i)){directorVersion=i}}}return directorVersion}function detectQuickTime(){quicktimeVersion=0;if(navigator.plugins!=null&&navigator.plugins.length>0){for(i=0;i<navigator.plugins.length;i++){var a=navigator.plugins[i];if(a.name.indexOf("QuickTime")>-1){quicktimeVersion=parseFloat(a.name.substring(18))}}}else{if(detectableWithVB){document.write('<script language="VBScript"> \n');document.write("on error resume next \n");document.write("dim obQuicktime \n");document.write('set obQuicktime = CreateObject("QuickTimeCheckObject.QuickTimeCheck.1") \n');document.write("if IsObject(obQuicktime) then \n");document.write("   if obQuicktime.IsQuickTimeAvailable(0) then \n");document.write("      quicktimeVersion = CInt(Hex(obQuicktime.QuickTimeVersion) / 1000000) \n");document.write("   end if \n");document.write("end if \n");document.write("<\/script> \n")}}return quicktimeVersion}function detectReal(){if(detectPlugin("RealPlayer")){return 1}else{if(detectableWithVB){if(detectActiveXControl("rmocx.RealPlayer G2 Control")||detectActiveXControl("RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)")||detectActiveXControl("RealVideo.RealVideo(tm) ActiveX Control (32-bit)")){return 1}}}return 0}function detectWindowsMedia(){if(detectPlugin("Windows Media")){return 1}else{if(detectableWithVB){if(detectActiveXControl("MediaPlayer.MediaPlayer.1")){return 1}}}return 0}function detectPlugin(){var b=detectPlugin.arguments;if(navigator.plugins&&navigator.plugins.length>0){var a=navigator.plugins.length;for(pluginsArrayCounter=0;pluginsArrayCounter<a;pluginsArrayCounter++){for(namesCounter=0;namesCounter<b.length;namesCounter++){if((navigator.plugins[pluginsArrayCounter].name.indexOf(b[namesCounter])>=0)||(navigator.plugins[pluginsArrayCounter].description.indexOf(b[namesCounter])>=0)){return 1}}}}return 0}if((navigator.userAgent.indexOf("MSIE")!=-1)&&(navigator.userAgent.indexOf("Win")!=-1)){document.writeln('<script language="VBscript">');document.writeln("detectableWithVB = False");document.writeln("If ScriptEngineMajorVersion >= 2 then");document.writeln("  detectableWithVB = True");document.writeln("End If");document.writeln("'this next function will detect most plugins");document.writeln("Function detectActiveXControl(activeXControlName)");document.writeln("  on error resume next");document.writeln("  detectActiveXControl = False");document.writeln("  If detectableWithVB Then");document.writeln("     detectActiveXControl = IsObject(CreateObject(activeXControlName))");document.writeln("  End If");document.writeln("End Function");document.writeln("<\/script>")}function visit_log(m){var h=0;var l=0;var d=0;var c=0;var k=0;var e=0;var j=0;var a=screen.width;var g=screen.height;var f=screen.colorDepth;var b=new Image();if(canDetectPlugins()){l=detectFlash()}m+="&visit_screen_width="+a;m+="&visit_screen_height="+g;m+="&visit_screen_depth="+f;m+="&visit_plugin_flash="+l;m+="&cache_killer="+new Date().getTime();b.src=m};