
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(swf,id,wdt,hgt,ver,col,qua,ins,red,det) {
   this.DETECT_KEY=det?det:"detectflash";
   this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);
   this.params=new Object();
   this.variables=new Object();
   this.attributes=new Array();
   if(swf) 
      this.setAttribute("swf",swf);
   if(id) 
      this.setAttribute("id",id);
   if(wdt) 
      this.setAttribute("width",wdt);
   if(hgt) 
      this.setAttribute("height",hgt);
   if(ver) 
      this.setAttribute("version",new deconcept.PlayerVersion(ver.toString().split(".")));
   this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();
   if(!window.opera&&document.all&&this.installedVer.major>7) 
      deconcept.SWFObject.doPrepUnload=true;
   if(col) 
      this.addParam("bgcolor",col);
   var qua=qua?qua:"high";
   this.addParam("quality",qua);
   this.setAttribute("useExpressInstall",false);
   this.setAttribute("doExpressInstall",false);
   var loc=(ins)?ins:window.location;
   this.setAttribute("xiRedirectUrl",loc);
   this.setAttribute("redirectUrl","");
   if(red) 
      this.setAttribute("redirectUrl",red);
   };
   
deconcept.SWFObject.prototype={

   useExpressInstall:function(p) {
      this.xiSWFPath=!p?"expressinstall.swf":p;
      this.setAttribute("useExpressInstall",true);
      },
      
   setAttribute:function(a,v) {
      this.attributes[a]=v;
      },
      
   getAttribute:function(_10) {
      return this.attributes[_10];
      },
      
   addParam:function(k,v) {
      this.params[k]=v;
      },
      
   getParams:function() {
      return this.params;
      },
      
   addVariable:function(k,v) {
      this.variables[k]=v;
      },
      
   getVariable:function(v) {
      return this.variables[v];
      },
      
   getVariables:function() {
      return this.variables;
      },
      
   getVariablePairs:function() {
      var a=new Array();
      var key;
      var v=this.getVariables();
      for(key in v)
         a[a.length]=key+"="+v[key];
       return a;
      },
      
   getSWFHTML:function() { 
      var htm="";
         if(this.getAttribute("doExpressInstall")) {
            this.addVariable("MMplayerType","ActiveX");
            this.setAttribute("swf",this.xiSWFPath);
            }
         htm="\n<object id=\""+this.getAttribute("id")
             +"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""
             +this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\">"
             +"\n<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";
         var params=this.getParams();
         params['flashvars']=this.getVariablePairs().join("&");
         for(var key in params)
             htm+="\n<param name=\""+key+"\" value=\""+params[key]+"\" />";
		 htm+="\n<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""
			 +this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\""
			 +" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";
		 var params2=this.getParams();
		 for(var key in params2)
			htm+=[key]+"=\""+params2[key]+"\" ";
		 var vars2=this.getVariablePairs().join("&");
		 if(vars2.length>0)
			htm+="flashvars=\""+vars2+"\"";
		 htm+="/>";
         htm+="\n</object>";
      return htm;
      },
      
   write:function(element) {
      if(this.getAttribute("useExpressInstall")) {
         var player=new deconcept.PlayerVersion([6,0,65]);
         if(this.installedVer.versionIsValid(player)&&!this.installedVer.versionIsValid(this.getAttribute("version"))) {
             return(false);
            }
         }
      if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){
         var n=(typeof(element)=="string")?document.getElementById(element):element;
         if(n)
            n.innerHTML=this.getSWFHTML();
         else
            document.write(this.getSWFHTML());
         return true;
         }
      else {
         if(this.getAttribute("redirectUrl")!="") {
            document.location.replace(this.getAttribute("redirectUrl"));
            }
         }
      return false;
      }
   };      
      
   deconcept.SWFObjectUtil.getPlayerVersion=function() {
      var ver=new deconcept.PlayerVersion([0,0,0]);
      if(navigator.plugins&&navigator.mimeTypes.length) {
         var x=navigator.plugins["Shockwave Flash"];
         if(x&&x.description) {
            ver=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);
                 ver=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");
                ver=new deconcept.PlayerVersion([6,0,21]);
                axo.AllowScriptAccess="always";
                } 
              catch(e) {
                if(ver.major==6) {
                   return ver;
                   }
                }
              try {
                 axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
                 }
              catch(e) {
                 }
              }
           }
        if(axo!=null) {
           ver=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));
           }
        }
     return ver;
    };

        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.major<fv.major)
              return false;
           if(this.major>fv.major)
              return true;
           if(this.minor<fv.minor)
              return false;
           if(this.minor>fv.minor)
              return true;
           if(this.rev<fv.rev)
              return false;
           return true;
           };
           
        deconcept.util={
           getRequestParameter:function(_2b){
              var q=document.location.search||document.location.hash;
              if(_2b==null)
                 return q;
              if(q){
                 var _2d=q.substring(1).split("&");
                 for(var i=0;i<_2d.length;i++){
                    if(_2d[i].substring(0,_2d[i].indexOf("="))==_2b)
                       return _2d[i].substring((_2d[i].indexOf("=")+1));
                    }
                 }
              return "";
              }
           };
           
        deconcept.SWFObjectUtil.cleanupSWFs=function(){
           var obj=document.getElementsByTagName("OBJECT");
           for(var i=obj.length-1;i>=0;i--){
              obj[i].style.display="none";
              for(var x in obj[i]){
                 if(typeof obj[i][x]=="function") 
                    obj[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;
           