QTObject=function(C,D,A,B){this.mov=C;this.id=D;this.width=A;this.height=B;this.redirect="";this.sq=document.location.search.split("?")[1]||"";this.altTxt="This content requires the QuickTime Plugin. <a href='http://www.apple.com/quicktime/download/'>Download QuickTime Player</a>.";this.bypassTxt="<p>Already have QuickTime Player? <a href='?detectqt=false&"+this.sq+"'>Click here.</a></p>";this.params=new Object();this.doDetect=getQueryParamValue("detectqt")};QTObject.prototype.addParam=function(A,B){this.params[A]=B};QTObject.prototype.getParams=function(){return this.params};QTObject.prototype.getParam=function(A){return this.params[A]};QTObject.prototype.getParamTags=function(){var A="";for(var B in this.getParams()){A+="<param name=\""+B+"\" value=\""+this.getParam(B)+"\" />"}if(A==""){A=null}return A};QTObject.prototype.getHTML=function(){var A="";if(navigator.plugins&&navigator.plugins.length){A+="<embed type=\"video/quicktime\" src=\""+this.mov+"\" width=\""+this.width+"\" height=\""+this.height+"\" id=\""+this.id+"\"";for(var B in this.getParams()){A+=" "+B+"=\""+this.getParam(B)+"\""}A+="></embed>"}else{A+="<object classid=\"clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B\" width=\""+this.width+"\" height=\""+this.height+"\" id=\""+this.id+"\">";this.addParam("src",this.mov);if(this.getParamTags()!=null){A+=this.getParamTags()}A+="</object>"}return A};QTObject.prototype.getVariablePairs=function(){var B=new Array();for(var A in this.getVariables()){B.push(A+"="+escape(this.getVariable(A)))}if(B.length>0){return B.join("&")}else{return null}};QTObject.prototype.write=function(A){if(isQTInstalled()||this.doDetect=="false"){if(A){document.getElementById(A).innerHTML=this.getHTML()}else{document.write(this.getHTML())}}else{if(this.redirect!=""){document.location.replace(this.redirect)}else{if(A){document.getElementById(A).innerHTML=this.altTxt+""+this.bypassTxt}else{document.write(this.altTxt+""+this.bypassTxt)}}}};function isQTInstalled(){var A=false;qtObj=false;if(navigator.plugins&&navigator.plugins.length){for(var B=0;B<navigator.plugins.length;B++){var C=navigator.plugins[B];if(C.name.indexOf("QuickTime")>-1){A=true}}}else{execScript("on error resume next: qtObj = IsObject(CreateObject(\"QuickTimeCheckObject.QuickTimeCheck.1\"))","VBScript");A=qtObj}return A}function getQueryParamValue(C){var B=document.location.search;var D=B.indexOf(C);var A=(B.indexOf("&",D)!=-1)?B.indexOf("&",D):B.length;if(B.length>1&&D!=-1){return B.substring(B.indexOf("=",D)+1,A)}else{return""}}function QTAudioObject(A,B){o=new QTObject(A,B,128,16);o.addParam("autoplay","false");o.addParam("kioskmode","true");return o.getHTML()}function WriteQTAudioObject(A,B){document.write(QTAudioObject(A,B))}