/** * swfobject v1.5: flash player detection and embed - http://blog.deconcept.com/swfobject/ * * swfobject is (c) 2007 geoff stearns and is released under the mit license: * http://www.opensource.org/licenses/mit-license.php * */ 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){if(!document.getelementbyid){return;}this.detect_key=_a?_a:"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(!window.opera&&document.all&&this.installedver.major>7){deconcept.swfobject.doprepunload=true;}if(c){this.addparam("bgcolor",c);}var q=_7?_7:"high";this.addparam("quality",q);this.setattribute("useexpressinstall",false);this.setattribute("doexpressinstall",false);var _c=(_8)?_8:window.location;this.setattribute("xiredirecturl",_c);this.setattribute("redirecturl","");if(_9){this.setattribute("redirecturl",_9);}};deconcept.swfobject.prototype={useexpressinstall:function(_d){this.xiswfpath=!_d?"expressinstall.swf":_d;this.setattribute("useexpressinstall",true);},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[_16.length]=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");this.setattribute("swf",this.xiswfpath);}_19="0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";}else{if(this.getattribute("doexpressinstall")){this.addvariable("mmplayertype","activex");this.setattribute("swf",this.xiswfpath);}_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{if(navigator.useragent&&navigator.useragent.indexof("windows ce")>=0){var axo=1;var _26=3;while(axo){try{_26++;axo=new activexobject("shockwaveflash.shockwaveflash."+_26);_23=new deconcept.playerversion([_26,0,0]);}catch(e){axo=null;}}}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(_29){this.major=_29[0]!=null?parseint(_29[0]):0;this.minor=_29[1]!=null?parseint(_29[1]):0;this.rev=_29[2]!=null?parseint(_29[2]):0;};deconcept.playerversion.prototype.versionisvalid=function(fv){if(this.majorfv.major){return true;}if(this.minorfv.minor){return true;}if(this.rev=0;i--){_2f[i].style.display="none";for(var x in _2f[i]){if(typeof _2f[i][x]=="function"){_2f[i][x]=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(id){return document.all[id];};}var getqueryparamvalue=deconcept.util.getrequestparameter;var flashobject=deconcept.swfobject;var swfobject=deconcept.swfobject;