/** * swfobject v1.4.4: flash player detection and embed - http://blog.deconcept.com/swfobject/ * * swfobject is (c) 2006 geoff stearns and is released under the mit license: * http://www.opensource.org/licenses/mit-license.php * * **swfobject is the swf embed script formerly known as flashobject. the name was changed for * legal reasons. */ 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(_1,id,w,h,_5,c,_7,_8,_9,_a,_b){if(!document.getelementbyid){return;} this.detect_key=_b?_b:"detectflash"; this.skipdetect=deconcept.util.getrequestparameter(this.detect_key); this.params=new object(); this.variables=new object(); this.attributes=new array(); if(_1){this.setattribute("swf",_1);} if(id){this.setattribute("id",id);} if(w){this.setattribute("width",w);} if(h){this.setattribute("height",h);} if(_5){this.setattribute("version",new deconcept.playerversion(_5.tostring().split(".")));} this.installedver=deconcept.swfobjectutil.getplayerversion(); if(c){this.addparam("bgcolor",c);} var q=_8?_8:"high"; this.addparam("quality",q); this.setattribute("useexpressinstall",_7); this.setattribute("doexpressinstall",false); var _d=(_9)?_9:window.location; this.setattribute("xiredirecturl",_d); this.setattribute("redirecturl",""); if(_a){this.setattribute("redirecturl",_a);}}; deconcept.swfobject.prototype={setattribute:function(_e,_f){ this.attributes[_e]=_f; },getattribute:function(_10){ return this.attributes[_10]; },addparam:function(_11,_12){ this.params[_11]=_12; },getparams:function(){ return this.params; },addvariable:function(_13,_14){ this.variables[_13]=_14; },getvariable:function(_15){ return this.variables[_15]; },getvariables:function(){ return this.variables; },getvariablepairs:function(){ var _16=new array(); var key; var _18=this.getvariables(); for(key in _18){_16.push(key+"="+_18[key]);} return _16;},getswfhtml:function(){var _19=""; if(navigator.plugins&&navigator.mimetypes&&navigator.mimetypes.length){ if(this.getattribute("doexpressinstall")){ this.addvariable("mmplayertype","plugin");} _19="0){_19+="flashvars=\""+_1c+"\"";}_19+="/>"; }else{if(this.getattribute("doexpressinstall")){this.addvariable("mmplayertype","activex");} _19=""; _19+=""; var _1d=this.getparams(); for(var key in _1d){_19+="";} var _1f=this.getvariablepairs().join("&"); if(_1f.length>0){_19+="";}_19+="";} return _19; },write:function(_20){ if(this.getattribute("useexpressinstall")){ var _21=new deconcept.playerversion([6,0,65]); if(this.installedver.versionisvalid(_21)&&!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 n=(typeof _20=="string")?document.getelementbyid(_20):_20; n.innerhtml=this.getswfhtml();return true; }else{if(this.getattribute("redirecturl")!=""){document.location.replace(this.getattribute("redirecturl"));}} return false;}}; deconcept.swfobjectutil.getplayerversion=function(){ var _23=new deconcept.playerversion([0,0,0]); if(navigator.plugins&&navigator.mimetypes.length){ var x=navigator.plugins["shockwave flash"]; if(x&&x.description){_23=new deconcept.playerversion(x.description.replace(/([a-za-z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));} }else{try{var axo=new activexobject("shockwaveflash.shockwaveflash.7");} catch(e){try{var axo=new activexobject("shockwaveflash.shockwaveflash.6"); _23=new deconcept.playerversion([6,0,21]);axo.allowscriptaccess="always";} catch(e){if(_23.major==6){return _23;}}try{axo=new activexobject("shockwaveflash.shockwaveflash");} catch(e){}}if(axo!=null){_23=new deconcept.playerversion(axo.getvariable("$version").split(" ")[1].split(","));}} return _23;}; deconcept.playerversion=function(_27){ this.major=_27[0]!=null?parseint(_27[0]):0; this.minor=_27[1]!=null?parseint(_27[1]):0; this.rev=_27[2]!=null?parseint(_27[2]):0; }; deconcept.playerversion.prototype.versionisvalid=function(fv){ if(this.majorfv.major){return true;} if(this.minorfv.minor){return true;} if(this.rev