if(typeof com=="undefined"){var com=new Object()}if(typeof com.deconcept=="undefined"){com.deconcept=new Object()}if(typeof com.deconcept.util=="undefined"){com.deconcept.util=new Object()}if(typeof com.deconcept.FlashObjectUtil=="undefined"){com.deconcept.FlashObjectUtil=new Object()}com.deconcept.FlashObject=function(E,C,L,G,I,K,J,M,A,D){this.DETECT_KEY=D?D:"detectflash";this.skipDetect=com.deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(E){this.setAttribute("swf",E)}if(C){this.setAttribute("id",C)}if(L){this.setAttribute("width",L)}if(G){this.setAttribute("height",G)}if(I){this.setAttribute("version",new com.deconcept.PlayerVersion(I.toString().split(".")))}if(K){this.addParam("bgcolor",K)}var B=M?M:"high";this.addParam("quality",B);this.setAttribute("redirectUrl","");if(A){this.setAttribute("redirectUrl",A)}if(J){var F=new com.deconcept.PlayerVersion([6,0,65]);var H=com.deconcept.FlashObjectUtil.getPlayerVersion();if(H.versionIsValid(F)&&!H.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true)}}else{this.setAttribute("doExpressInstall",false)}};com.deconcept.FlashObject.prototype.setAttribute=function(A,B){this.attributes[A]=B};com.deconcept.FlashObject.prototype.getAttribute=function(A){return this.attributes[A]};com.deconcept.FlashObject.prototype.getAttributes=function(){return this.attributes};com.deconcept.FlashObject.prototype.addParam=function(A,B){this.params[A]=B};com.deconcept.FlashObject.prototype.getParams=function(){return this.params};com.deconcept.FlashObject.prototype.getParam=function(A){return this.params[A]};com.deconcept.FlashObject.prototype.addVariable=function(A,B){this.variables[A]=B};com.deconcept.FlashObject.prototype.getVariable=function(A){return this.variables[A]};com.deconcept.FlashObject.prototype.getVariables=function(){return this.variables};com.deconcept.FlashObject.prototype.getParamTags=function(){var B="";var A;var C=this.getParams();for(A in C){B+='<param name="'+A+'" value="'+C[A]+'" />'}return B};com.deconcept.FlashObject.prototype.getVariablePairs=function(){var A=new Array();var B;var C=this.getVariables();for(B in C){A.push(B+"="+C[B])}return A};com.deconcept.FlashObject.prototype.getHTML=function(){var A="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn")}A+='<embed type="application/x-shockwave-flash" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" id="'+this.getAttribute("id")+'" name="'+this.getAttribute("id")+'"';var E=this.getParams();for(var C in E){A+=" "+C+'="'+E[C]+'"'}D=this.getVariablePairs().join("&");if(D.length>0){A+=' flashvars="'+D+'"'}A+="></embed>"}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX")}A+='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" id="'+this.getAttribute("id")+'">';A+='<param name="movie" value="'+this.getAttribute("swf")+'" />';var B=this.getParamTags();if(B.length>0){A+=B}var D=this.getVariablePairs().join("&");if(D.length>0){A+='<param name="flashvars" value="'+D+'" />'}A+="</object>"}return A};com.deconcept.FlashObject.prototype.write=function(A){if(this.skipDetect||this.getAttribute("doExpressInstall")||com.deconcept.FlashObjectUtil.getPlayerVersion().versionIsValid(this.getAttribute("version"))){if(document.getElementById){if(this.getAttribute("doExpressInstall")){this.addVariable("MMredirectURL",escape(window.location));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title)}document.getElementById(A).innerHTML=this.getHTML()}}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"))}}};com.deconcept.FlashObjectUtil.getPlayerVersion=function(){var B=new com.deconcept.PlayerVersion(0,0,0);if(navigator.plugins&&navigator.mimeTypes.length){var A=navigator.plugins["Shockwave Flash"];if(A&&A.description){B=new com.deconcept.PlayerVersion(A.description.replace(/([a-z]|[A-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}}else{if(window.ActiveXObject){try{var C=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");B=new com.deconcept.PlayerVersion(C.GetVariable("$version").split(" ")[1].split(","))}catch(D){}}}return B};com.deconcept.PlayerVersion=function(A){this.major=parseInt(A[0])||0;this.minor=parseInt(A[1])||0;this.rev=parseInt(A[2])||0};com.deconcept.PlayerVersion.prototype.versionIsValid=function(A){if(this.major<A.major){return false}if(this.major>A.major){return true}if(this.minor<A.minor){return false}if(this.minor>A.minor){return true}if(this.rev<A.rev){return false}return true};com.deconcept.util.getRequestParameter=function(D){var B=document.location.search||document.location.href.hash;if(B){var C=B.indexOf(D+"=");var A=(B.indexOf("&",C)>-1)?B.indexOf("&",C):B.length;if(B.length>1&&C>-1){return B.substring(B.indexOf("=",C)+1,A)}}return""};if(Array.prototype.push==null){Array.prototype.push=function(A){this[this.length]=A;return this.length}}var getQueryParamValue=com.deconcept.util.getRequestParameter;var FlashObject=com.deconcept.FlashObject;