/**
 * SWFObject v1.4.2: Flash Player detection and embed - http://blog.deconcept3.com/swfobject/
 *
 * SWFObject is (c) 2006 Geoff Stearns and is released under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 *
 * **SWFObject is the SWF embed script formerly known as FlashObject. The name was changed for
 *   legal reasons.
 */
if(typeof deconcept3=="undefined"){var deconcept3=new Object();}
if(typeof deconcept3.util=="undefined"){deconcept3.util=new Object();}
if(typeof deconcept3.SWFObjectUtil=="undefined"){deconcept3.SWFObjectUtil=new Object();}
deconcept3.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a,_b){
if(!document.getElementById){return;}
this.DETECT_KEY=_b?_b:"detectflash";
this.skipDetect=deconcept3.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 deconcept3.PlayerVersion(_5.toString().split(".")));}
this.installedVer=deconcept3.SWFObjectUtil.getPlayerVersion();
if(c){this.addParam("bgcolor",c);}
var q3=_8?_8:"high";
this.addParam("quality",q3);
this.setAttribute("useExpressInstall",_7);
this.setAttribute("doExpressInstall",false);
var _d3=(_9)?_9:window.location;
this.setAttribute("xiRedirectUrl",_d3);
this.setAttribute("redirectUrl","");
if(_a){this.setAttribute("redirectUrl",_a);}};
deconcept3.SWFObject.prototype={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 _163=new Array();
var key3;
var _183=this.getVariables();
for(key3 in _183){_163.push(key3+"="+_183[key3]);}
return _163;
},getSWFHTML:function(){
var _193="";
if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){
if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");}
_193="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\"";
_193+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";
var _1a3=this.getParams();
for(var key3 in _1a3){_193+=key3+"=\""+_1a3[key3]+"\" ";}
var _1c3=this.getVariablePairs().join("&");
if(_1c3.length>0){_193+="flashvars=\""+_1c3+"\"";}
_193+="/>";
}else{if(this.getAttribute("doExpressInstall")){
this.addVariable("MMplayerType","ActiveX");}
_193="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\">";
_193+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";
var _1d3=this.getParams();
for(var key3 in _1d3){_193+="<param name=\""+key3+"\" value=\""+_1d3[key3]+"\" />";}
var _1f3=this.getVariablePairs().join("&");
if(_1f3.length>0){_193+="<param name=\"flashvars\" value=\""+_1f3+"\" />";}
_193+="</object>";}
return _193;
},write:function(_20){
if(this.getAttribute("useExpressInstall")){
var _213=new deconcept3.PlayerVersion([6,0,65]);
if(this.installedVer.versionIsValid(_213)&&!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;}};
deconcept3.SWFObjectUtil.getPlayerVersion=function(){
var _233=new deconcept3.PlayerVersion([0,0,0]);
if(navigator.plugins&&navigator.mimeTypes.length){
var x=navigator.plugins["Shockwave Flash"];
if(x&&x.description){_233=new deconcept3.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}
}else{
try{var axo3=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}
catch(e){try{
var axo3=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
_233=new deconcept3.PlayerVersion([6,0,21]);
axo3.AllowScriptAccess="always";}
catch(e){
if(_233.major==6){return _233;}}try{axo3=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}
catch(e){}}
if(axo3!=null){_233=new deconcept3.PlayerVersion(axo3.GetVariable("$version").split(" ")[1].split(","));}}
return _233;};
deconcept3.PlayerVersion=function(_27){
this.major=_27[0]!=null?parseInt(_27[0]):0;
this.minor=_27[1]!=null?parseInt(_27[1]):0;
this.rev=_27[2]!=null?parseInt(_27[2]):0;
};
deconcept3.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;
};
deconcept3.util={getRequestParameter:function(_29){
var q3=document.location.search||document.location.hash;
if(q3){
var _2b3=q3.substring(1).split("&");
for(var i=0;i<_2b3.length;i++){
if(_2b3[i].substring(0,_2b3[i].indexOf("="))==_29){
return _2b3[i].substring((_2b3[i].indexOf("=")+1));}}}
return "";}};
deconcept3.SWFObjectUtil.cleanupSWFs=function(){
var _2d3=document.getElementsByTagName("OBJECT");
for(var i=0;i<_2d3.length;i++){
_2d3[i].style.display="none";
for(var x in _2d3[i]){if(typeof _2d3[i][x]=="function"){_2d3[i][x]=null;}}}};
if(typeof window.onunload=="function"){
var oldunload3=window.onunload;
window.onunload=function(){
deconcept3.SWFObjectUtil.cleanupSWFs();
oldunload3();};
}else{window.onunload=deconcept3.SWFObjectUtil.cleanupSWFs;}
if(Array.prototype.push==null){
Array.prototype.push=function(_30){
this[this.length]=_30;
return this.length;};}

var getQueryParamValue=deconcept3.util.getRequestParameter;
var FlashObject=deconcept3.SWFObject; // for legacy support
var SWFObject=deconcept3.SWFObject;

