function detectQT(){pluginFound=detective("QuickTime");if(!pluginFound&&detectViaVB){pluginFound=detectQTWin()}return pluginFound}function detectWM(){pluginFound=detective("Windows Media");if(!pluginFound&&detectViaVB){pluginFound=detectActiveXControl("MediaPlayer.MediaPlayer.1")}return pluginFound}function detective(a){var c=false;if(navigator.plugins&&navigator.plugins.length>0){var b=navigator.plugins.length;for(pluginsArrayCounter=0;pluginsArrayCounter<b;pluginsArrayCounter++){if((navigator.plugins[pluginsArrayCounter].name.indexOf(a)>=0)||(navigator.plugins[pluginsArrayCounter].description.indexOf(a)>=0)){c=true;break}}}return c}if((navigator.userAgent.indexOf("MSIE")!=-1)&&(navigator.userAgent.indexOf("Win")!=-1)){document.writeln('<script language="VBscript">');document.writeln("detectViaVB = False");document.writeln("If ScriptEngineMajorVersion >= 2 then");document.writeln("  detectViaVB = True");document.writeln("End If");document.writeln("Function detectActiveXControl(activeXControlName)");document.writeln("  on error resume next");document.writeln("  detectActiveXControl = False");document.writeln("  If detectViaVB Then");document.writeln("     detectActiveXControl = IsObject(CreateObject(activeXControlName))");document.writeln("  End If");document.writeln("End Function");document.writeln("Function detectQTWin()");document.writeln("  on error resume next");document.writeln("  detectQTWin = False");document.writeln("  If detectViaVB Then");document.writeln("    detectQTWin = False");document.writeln("    hasQuickTimeChecker = false");document.writeln('    Set hasQuickTimeChecker = CreateObject("QuickTimeCheckObject.QuickTimeCheck.1")');document.writeln("    If IsObject(hasQuickTimeChecker) Then");document.writeln("      If hasQuickTimeChecker.IsQuickTimeAvailable(0) Then ");document.writeln("        detectQTWin = True");document.writeln("      End If");document.writeln("    End If");document.writeln("  End If");document.writeln("End Function");document.writeln("<\/script>")}function drawSpeedTag(b,a){var d=(new Date()).getTime();var c=b+"?tm="+escape(d);document.write('<img src="'+c+'" border="0" width="400" height="300" onload="connectionSpeed=detectSpeed('+d+","+a+');getResults()">');return}function detectSpeed(d,a){var b=(new Date()).getTime();var c=(Math.floor((((a*8)/((b-d)/1000))/1024)*10)/10);return c}function detectOS(){if(navigator.userAgent.indexOf("Mac")!=-1){var a="Mac"}else{if(navigator.userAgent.indexOf("Win")!=-1){var a="Windows"}else{var a="other"}}return a}function getResults(){var a=detectQT();var b=detectWM();var c=detectOS();if(connectionSpeed<57){cstype="l"}else{cstype="h"}if(c=="Mac"){mtype="q"+cstype}else{if((cstype=="l")&&(a)){mtype="ql"}else{mtype="w"+cstype}}delay4=setTimeout("setPrefs()",2500);return}function setPrefs(){document.cookie="brver=6; expires=Fri, 27 Jul 2011 02:47:11 UTC; path=/";document.cookie="flver="+version.major+"; expires=Fri, 27 Jul 2011 02:47:11 UTC; path=/";document.cookie="type="+mtype+"; expires=Fri, 27 Jul 2011 02:47:11 UTC; path=/";document.cookie="cspeed="+connectionSpeed+"; expires=Fri, 27 Jul 2011 02:47:11 UTC; path=/";document.location=ourLoc+"&type="+mtype+"&flver="+version.major+"&brver=6"}function writeit(a,b){if(document.getElementById){x=document.getElementById(b);x.innerHTML="";x.innerHTML=a}else{if(document.all){x=document.all[b];x.innerHTML=a}}};