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,F,H,K,J,M,G,A,D){if(!document.createElement||!document.getElementById){return ;}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();this.useExpressInstall=J;if(E){this.setAttribute("swf",E);}if(C){this.setAttribute("id",C);}if(L){this.setAttribute("width",L);}if(F){this.setAttribute("height",F);}if(H){this.setAttribute("version",new com.deconcept.PlayerVersion(H.toString().split(".")));}this.installedVer=com.deconcept.FlashObjectUtil.getPlayerVersion(this.getAttribute("version"),J);if(K){if(K!=""){if(K=="transparent"){this.addParam("wmode","transparent");}else{this.addParam("bgcolor",K);}}}var B=M?M:"high";this.addParam("quality",B);var I=(G)?G:window.location;this.setAttribute("xiRedirectUrl",I);this.setAttribute("redirectUrl","");if(A){this.setAttribute("redirectUrl",A);}};com.deconcept.FlashObject.prototype={setAttribute:function(A,B){this.attributes[A]=B;},getAttribute:function(A){return this.attributes[A];},addParam:function(A,B){this.params[A]=B;},getParams:function(){return this.params;},addVariable:function(A,B){this.variables[A]=B;},getVariable:function(A){return this.variables[A];},getVariables:function(){return this.variables;},createParamTag:function(C,A){var B=document.createElement("param");B.setAttribute("name",C);B.setAttribute("value",A);return B;},getVariablePairs:function(){var A=new Array();var B;var C=this.getVariables();for(B in C){A.push(B+"="+C[B]);}return A;},getFlashHTML:function(){var C="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");}C='<embed type="application/x-shockwave-flash" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'"';C+=' id="'+this.getAttribute("id")+'" name="'+this.getAttribute("id")+'" menu="false" ';var D=this.getParams();for(var A in D){C+=[A]+'="'+D[A]+'" ';}var B=this.getVariablePairs().join("&");if(B.length>0){C+='flashvars="'+B+'"';}C+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");}C='<object id="'+this.getAttribute("id")+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'">';C+='<param name="movie" value="'+this.getAttribute("swf")+'" />';C+='<param name="menu" value="false" />';var D=this.getParams();for(var A in D){C+='<param name="'+A+'" value="'+D[A]+'" />';}var B=this.getVariablePairs().join("&");if(B.length>0){C+='<param name="flashvars" value="'+B+'" />';}C+="</object>";}return C;},write:function(A){if(this.useExpressInstall){var B=new com.deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(B)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title);}}else{this.setAttribute("doExpressInstall",false);}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var C=(typeof A=="string")?document.getElementById(A):A;C.innerHTML=this.getFlashHTML();}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}}};com.deconcept.FlashObjectUtil.getPlayerVersion=function(G,E){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{try{var D=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");for(var C=3;D!=null;C++){D=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+C);B=new com.deconcept.PlayerVersion([C,0,0]);}}catch(F){}if(G&&B.major>G.major){return B;}if(!G||((G.minor!=0||G.rev!=0)&&B.major==G.major)||B.major!=6||E){try{B=new com.deconcept.PlayerVersion(D.GetVariable("$version").split(" ")[1].split(","));}catch(F){}}}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.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;