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