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(h,y,c,w,s,q,u,v,x,p,r){if(!document.createElement||!document.getElementById){return}this.DETECT_KEY=r?r:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(h){this.setAttribute("swf",h)}if(y){this.setAttribute("id",y)}if(c){this.setAttribute("width",c)}if(w){this.setAttribute("height",w)}if(s){this.setAttribute("version",new deconcept.PlayerVersion(s.toString().split(".")))}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion(this.getAttribute("version"),u);if(q){this.addParam("bgcolor",q)}var z=v?v:"high";this.addParam("quality",z);this.setAttribute("useExpressInstall",u);this.setAttribute("doExpressInstall",false);var t=(x)?x:window.location;this.setAttribute("xiRedirectUrl",t);this.setAttribute("redirectUrl","");if(p){this.setAttribute("redirectUrl",p)}};deconcept.SWFObject.prototype={setAttribute:function(d,c){this.attributes[d]=c},getAttribute:function(b){return this.attributes[b]},addParam:function(c,d){this.params[c]=d},getParams:function(){return this.params},addVariable:function(c,d){this.variables[c]=d},getVariable:function(b){return this.variables[b]},getVariables:function(){return this.variables},getVariablePairs:function(){var f=new Array();var d;var e=this.getVariables();for(d in e){f.push(d+"="+e[d])}return f},getSWFHTML:function(){var g="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn")}g='<embed type="application/x-shockwave-flash" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'"';g+=' id="'+this.getAttribute("id")+'" name="'+this.getAttribute("id")+'" ';var i=this.getParams();for(var j in i){g+=[j]+'="'+i[j]+'" '}var k=this.getVariablePairs().join("&");if(k.length>0){g+='flashvars="'+k+'"'}g+="/>"}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX")}g='<object id="'+this.getAttribute("id")+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'">';g+='<param name="movie" value="'+this.getAttribute("swf")+'" />';var l=this.getParams();for(var j in l){g+='<param name="'+j+'" value="'+l[j]+'" />'}var h=this.getVariablePairs().join("&");if(h.length>0){g+='<param name="flashvars" value="'+h+'" />'}g+="</object>"}return g},write:function(d){if(this.getAttribute("useExpressInstall")){var e=new 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)}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var f=(typeof d=="string")?document.getElementById(d):d;f.innerHTML=this.getSWFHTML();return true}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"))}}return false}};deconcept.SWFObjectUtil.getPlayerVersion=function(j,k){var m=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var i=navigator.plugins["Shockwave Flash"];if(i&&i.description){m=new deconcept.PlayerVersion(i.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 e=3;n!=null;e++){n=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+e);m=new deconcept.PlayerVersion([e,0,0])}}catch(l){}if(j&&m.major>j.major){return m}if(!j||((j.minor!=0||j.rev!=0)&&m.major==j.major)||m.major!=6||k){try{m=new deconcept.PlayerVersion(n.GetVariable("$version").split(" ")[1].split(","))}catch(l){}}}return m};deconcept.PlayerVersion=function(b){this.major=parseInt(b[0])!=null?parseInt(b[0]):0;this.minor=parseInt(b[1])||0;this.rev=parseInt(b[2])||0};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};deconcept.util={getRequestParameter:function(h){var g=document.location.search||document.location.hash;if(g){var e=g.indexOf(h+"=");var f=(g.indexOf("&",e)>-1)?g.indexOf("&",e):g.length;if(g.length>1&&e>-1){return g.substring(g.indexOf("=",e)+1,f)}}return""}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var d=document.getElementsByTagName("OBJECT");for(var f=0;f<d.length;f++){for(var e in d[f]){if(typeof d[f][e]=="function"){d[f][e]=null}}}};if(typeof window.onunload=="function"){var oldunload=window.onunload;window.onunload=function(){deconcept.SWFObjectUtil.cleanupSWFs();oldunload()}}else{window.onunload=deconcept.SWFObjectUtil.cleanupSWFs}if(Array.prototype.push==null){Array.prototype.push=function(b){this[this.length]=b;return this.length}}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;