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