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