﻿if(typeof deconcept=="undefined"){var deconcept=new Object()}if(typeof deconcept.util=="undefined"){deconcept.util=new Object()}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object()}deconcept.SWFObject=function(A,J,L,I,B,H,C,D,E,F){if(!document.getElementById){return}this.DETECT_KEY=F?F:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(A){this.setAttribute("swf",A)}if(J){this.setAttribute("id",J)}if(L){this.setAttribute("width",L)}if(I){this.setAttribute("height",I)}if(B){this.setAttribute("version",new deconcept.PlayerVersion(B.toString().split(".")))}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true}if(H){this.addParam("bgcolor",H)}var K=C?C:"high";this.addParam("quality",K);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var G=(D)?D:window.location;this.setAttribute("xiRedirectUrl",G);this.setAttribute("redirectUrl","");if(E){this.setAttribute("redirectUrl",E)}};deconcept.SWFObject.prototype={useExpressInstall:function(A){this.xiSWFPath=!A?"expressinstall.swf":A;this.setAttribute("useExpressInstall",true)},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},getVariablePairs:function(){var A=new Array();var C;var B=this.getVariables();for(C in B){A[A.length]=C+"="+B[C]}return A},getSWFHTML:function(){var A="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath)}A='<embed type="application/x-shockwave-flash" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'"';A+=' id="'+this.getAttribute("id")+'" name="'+this.getAttribute("id")+'" ';var B=this.getParams();for(var F in B){A+=[F]+'="'+B[F]+'" '}var C=this.getVariablePairs().join("&");if(C.length>0){A+='flashvars="'+C+'"'}A+="/>"}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath)}A='<object id="'+this.getAttribute("id")+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'">';A+='<param name="movie" value="'+this.getAttribute("swf")+'" />';var D=this.getParams();for(var F in D){A+='<param name="'+F+'" value="'+D[F]+'" />'}var E=this.getVariablePairs().join("&");if(E.length>0){A+='<param name="flashvars" value="'+E+'" />'}A+="</object>"}return A},write:function(A){if(this.getAttribute("useExpressInstall")){var B=new 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)}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var C=(typeof A=="string")?document.getElementById(A):A;C.innerHTML=this.getSWFHTML();return true}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"))}}return false}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var A=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var E=navigator.plugins["Shockwave Flash"];if(E&&E.description){A=new deconcept.PlayerVersion(E.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var C=1;var B=3;while(C){try{B++;C=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+B);A=new deconcept.PlayerVersion([B,0,0])}catch(D){C=null}}}else{try{var C=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(D){try{var C=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");A=new deconcept.PlayerVersion([6,0,21]);C.AllowScriptAccess="always"}catch(D){if(A.major==6){return A}}try{C=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(D){}}if(C!=null){A=new deconcept.PlayerVersion(C.GetVariable("$version").split(" ")[1].split(","))}}}return A};deconcept.PlayerVersion=function(A){this.major=A[0]!=null?parseInt(A[0]):0;this.minor=A[1]!=null?parseInt(A[1]):0;this.rev=A[2]!=null?parseInt(A[2]):0};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};deconcept.util={getRequestParameter:function(A){var D=document.location.search||document.location.hash;if(A==null){return D}if(D){var B=D.substring(1).split("&");for(var C=0;C<B.length;C++){if(B[C].substring(0,B[C].indexOf("="))==A){return B[C].substring((B[C].indexOf("=")+1))}}}return""}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var A=document.getElementsByTagName("OBJECT");for(var B=A.length-1;B>=0;B--){A[B].style.display="none";for(var C in A[B]){if(typeof A[B][C]=="function"){A[B][C]=function(){}}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs)};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true}}if(!document.getElementById&&document.all){document.getElementById=function(A){return document.all[A]}}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;
