/**
 * SWFObject v1.4.1: Flash Player detection and embed - http://blog.deconcept.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 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(Reference1,id,w,h,Reference5,c,Reference7,Reference8,Reference9,Referencea,Referenceb){
if(!document.createElement||!document.getElementById){return;}
this.DETECTReferenceKEY=Referenceb?Referenceb:"detectflash";
this.skipDetect=deconcept.util.getRequestParameter(this.DETECTReferenceKEY);
this.params=new Object();
this.variables=new Object();
this.attributes=new Array();
if(Reference1){this.setAttribute("swf",Reference1);}
if(id){this.setAttribute("id",id);}
if(w){this.setAttribute("width",w);}
if(h){this.setAttribute("height",h);}
if(Reference5){this.setAttribute("version",new deconcept.PlayerVersion(Reference5.toString().split(".")));}
this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion(this.getAttribute("version"),Reference7);
if(c){this.addParam("bgcolor",c);}
var q=Reference8?Reference8:"high";
this.addParam("quality",q);
this.setAttribute("useExpressInstall",Reference7);
this.setAttribute("doExpressInstall",false);
var Referenced=(Reference9)?Reference9:window.location;
this.setAttribute("xiRedirectUrl",Referenced);
this.setAttribute("redirectUrl","");
if(Referencea){this.setAttribute("redirectUrl",Referencea);}};
deconcept.SWFObject.prototype={setAttribute:function(Referencee,Referencef){
this.attributes[Referencee]=Referencef;
},getAttribute:function(Reference10){
return this.attributes[Reference10];
},addParam:function(Reference11,Reference12){
this.params[Reference11]=Reference12;
},getParams:function(){
return this.params;
},addVariable:function(Reference13,Reference14){
this.variables[Reference13]=Reference14;
},getVariable:function(Reference15){
return this.variables[Reference15];
},getVariables:function(){
return this.variables;
},getVariablePairs:function(){
var Reference16=new Array();
var key;
var Reference18=this.getVariables();
for(key in Reference18){Reference16.push(key+"="+Reference18[key]);}
return Reference16;
},getSWFHTML:function(){
var Reference19="";
if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){
if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");}
Reference19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\"";
Reference19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";
var Reference1a=this.getParams();
for(var key in Reference1a){Reference19+=[key]+"=\""+Reference1a[key]+"\" ";}
var Reference1c=this.getVariablePairs().join("&");
if(Reference1c.length>0){Reference19+="flashvars=\""+Reference1c+"\"";}
Reference19+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");}
Reference19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\">";
Reference19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";
var Reference1d=this.getParams();
for(var key in Reference1d){Reference19+="<param name=\""+key+"\" value=\""+Reference1d[key]+"\" />";}
var Reference1f=this.getVariablePairs().join("&");
if(Reference1f.length>0){Reference19+="<param name=\"flashvars\" value=\""+Reference1f+"\" />";}Reference19+="</object>";}
return Reference19;},write:function(Reference20){
if(this.getAttribute("useExpressInstall")){
var Reference21=new deconcept.PlayerVersion([6,0,65]);
if(this.installedVer.versionIsValid(Reference21)&&!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 Reference20=="string")?document.getElementById(Reference20):Reference20;
n.innerHTML=this.getSWFHTML();return true;
}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}return false;}};
deconcept.SWFObjectUtil.getPlayerVersion=function(Reference23,Reference24){
var Reference25=new deconcept.PlayerVersion([0,0,0]);
if(navigator.plugins&&navigator.mimeTypes.length){
var x=navigator.plugins["Shockwave Flash"];
if(x&&x.description){Reference25=new deconcept.PlayerVersion(x.description.replace(/([a-z]|[A-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}
}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
for(var i=3;axo!=null;i++){axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+i);Reference25=new deconcept.PlayerVersion([i,0,0]);}}
catch(e){}
if(Reference23&&Reference25.major>Reference23.major){return Reference25;}
if(!Reference23||((Reference23.minor!=0||Reference23.rev!=0)&&Reference25.major==Reference23.major)||Reference25.major!=6||Reference24){
try{Reference25=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}
catch(e){}}}return Reference25;};
deconcept.PlayerVersion=function(Reference29){
this.major=parseInt(Reference29[0])!=null?parseInt(Reference29[0]):0;
this.minor=parseInt(Reference29[1])||0;
this.rev=parseInt(Reference29[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(Reference2b){
var q=document.location.search||document.location.hash;
if(q){var Reference2d=q.indexOf(Reference2b+"=");
var Reference2e=(q.indexOf("&",Reference2d)>-1)?q.indexOf("&",Reference2d):q.length;
if(q.length>1&&Reference2d>-1){return q.substring(q.indexOf("=",Reference2d)+1,Reference2e);}}
return "";}};
deconcept.SWFObjectUtil.cleanupSWFs=function(){
var Reference2f=document.getElementsByTagName("OBJECT");
for(var i=0;i<Reference2f.length;i++){
for(var x in Reference2f[i]){if(typeof Reference2f[i][x]=="function"){Reference2f[i][x]=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(Reference32){
this[this.length]=Reference32;
return this.length;};}

var getQueryParamValue = deconcept.util.getRequestParameter;
var FlashObject = deconcept.SWFObject; // for backwards compatibility
var SWFObject = deconcept.SWFObject;


