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(P,R,V,O,Z,W,X,U,N,T,Q){if(!document.createElement||!document.getElementById){return }this.DETECT_KEY=Q?Q:"detectflash";this.skipDetect=com.deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();this.useExpressInstall=X;if(P){this.setAttribute("swf",P)}if(R){this.setAttribute("id",R)}if(V){this.setAttribute("width",V)}if(O){this.setAttribute("height",O)}if(Z){this.setAttribute("version",new com.deconcept.PlayerVersion(Z.toString().split(".")))}this.installedVer=com.deconcept.FlashObjectUtil.getPlayerVersion(this.getAttribute("version"),X);if(W){this.addParam("bgcolor",W)}var S=U?U:"high";this.addParam("quality",S);var Y=(N)?N:window.location;this.setAttribute("xiRedirectUrl",Y);this.setAttribute("redirectUrl","");if(T){this.setAttribute("redirectUrl",T)}};com.deconcept.FlashObject.prototype={setAttribute:function(D,C){this.attributes[D]=C},getAttribute:function(B){return this.attributes[B]},addParam:function(D,C){this.params[D]=C},getParams:function(){return this.params},addVariable:function(D,C){this.variables[D]=C},getVariable:function(B){return this.variables[B]},getVariables:function(){return this.variables},createParamTag:function(D,F){var E=document.createElement("param");E.setAttribute("name",D);E.setAttribute("value",F);return E},getVariablePairs:function(){var F=new Array();var E;var D=this.getVariables();for(E in D){F.push(E+"="+D[E])}return F},getFlashHTML:function(){var H="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn")}H='<embed type="application/x-shockwave-flash" base="." wmode="transparent" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'"';H+=' id="'+this.getAttribute("id")+'" name="'+this.getAttribute("id")+'" ';var G=this.getParams();for(var F in G){H+=[F]+'="'+G[F]+'" '}var E=this.getVariablePairs().join("&");if(E.length>0){H+='flashvars="'+E+'"'}H+="/>"}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX")}H='<object id="'+this.getAttribute("id")+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'">';H+='<param name="movie" value="'+this.getAttribute("swf")+'" />';H+='<param name="base" value="." />';H+='<param name="wmode" value="transparent" />';var G=this.getParams();for(var F in G){H+='<param name="'+F+'" value="'+G[F]+'" />'}var E=this.getVariablePairs().join("&");if(E.length>0){H+='<param name="flashvars" value="'+E+'" />'}H+="</object>"}return H},write:function(F){if(this.useExpressInstall){var E=new com.deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(E)&&!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 D=(typeof F=="string")?document.getElementById(F):F;D.innerHTML=this.getFlashHTML()}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"))}}}};com.deconcept.FlashObjectUtil.getPlayerVersion=function(K,M){var I=new com.deconcept.PlayerVersion(0,0,0);if(navigator.plugins&&navigator.mimeTypes.length){var J=navigator.plugins["Shockwave Flash"];if(J&&J.description){I=new com.deconcept.PlayerVersion(J.description.replace(/([a-z]|[A-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}}else{try{var N=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");for(var H=3;N!=null;H++){N=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+H);I=new com.deconcept.PlayerVersion([H,0,0])}}catch(L){}if(K&&I.major>K.major){return I}if(!K||((K.minor!=0||K.rev!=0)&&I.major==K.major)||I.major!=6||M){try{I=new com.deconcept.PlayerVersion(N.GetVariable("$version").split(" ")[1].split(","))}catch(L){}}}return I};com.deconcept.PlayerVersion=function(B){this.major=parseInt(B[0])||0;this.minor=parseInt(B[1])||0;this.rev=parseInt(B[2])||0};com.deconcept.PlayerVersion.prototype.versionIsValid=function(B){if(this.major<B.major){return false}if(this.major>B.major){return true}if(this.minor<B.minor){return false}if(this.minor>B.minor){return true}if(this.rev<B.rev){return false}return true};com.deconcept.util={getRequestParameter:function(G){var E=document.location.search||document.location.hash;if(E){var H=E.indexOf(G+"=");var F=(E.indexOf("&",H)>-1)?E.indexOf("&",H):E.length;if(E.length>1&&H>-1){return E.substring(E.indexOf("=",H)+1,F)}}return""}};if(Array.prototype.push==null){Array.prototype.push=function(B){this[this.length]=B;return this.length}}var getQueryParamValue=com.deconcept.util.getRequestParameter;var FlashObject=com.deconcept.FlashObject;