if(Browser==undefined){var Browser={isIE:function(){return(window.ActiveXObject&&document.all&&navigator.userAgent.toLowerCase().indexOf("msie")>-1&&navigator.userAgent.toLowerCase().indexOf("opera")==-1)?true:false}}}var Flash=function(B,F,D,A,E){this.html="";this.attributes=this.params=this.variables=null;this.variables=new Array();this.attributes={classid:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",codebase:"http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab#version=8,0,22,0",type:"application/x-shockwave-flash"};this.params={pluginurl:"http://www.macromedia.com/go/getflashplayer_br"};if(B){this.addAttribute("data",B);this.addParameter("movie",B)}if(F&&F!=null){this.addAttribute("id",F)}if(D){this.addAttribute("width",D)}if(A){this.addAttribute("height",A)}if(E!=undefined){for(var C in E){this.addParameter(C.toString(),E[C])}}};Flash.version="1.2b";Flash.getObjectByExceptions=function(F,E){var B={};for(var D in F){var A=true;for(var C=0;C<E.length;C++){if(E[C]==D.toString()){A=false;break}}if(A){B[D]=F[D]}}return B};Flash.prototype.addAttribute=function(B,A){this.attributes[B]=A};Flash.prototype.addParameter=function(B,A){this.params[B]=A};Flash.prototype.addVariable=function(B,A){this.variables.push([B,A])};Flash.prototype.getFlashVars=function(){var B=new Array();for(var A=0;A<this.variables.length;A++){B.push(this.variables[A].join("="))}return B.join("&")};Flash.prototype.toString=function(){this.params.flashVars=this.getFlashVars();if(Browser.isIE()){this.html="<object";var A=Flash.getObjectByExceptions(this.attributes,["type","data"]);for(var B in A){if(B.toString()!="extend"){this.html+=" "+B.toString()+' = "'+A[B]+'"'}}this.html+="> ";var C=Flash.getObjectByExceptions(this.params,["pluginurl","extend"]);for(var B in C){if(B.toString()!="extend"){this.html+='<param name="'+B.toString()+'" value="'+C[B]+'" /> '}}this.html+=" </object>"}else{this.html="<!--[if !IE]> <--> <object";var A=Flash.getObjectByExceptions(this.attributes,["classid","codebase"]);for(var B in A){if(B.toString()!="extend"){this.html+=" "+B.toString()+' = "'+A[B]+'"'}}this.html+="> ";var C=Flash.getObjectByExceptions(this.params,["extend"]);for(var B in C){if(B.toString()!="extend"){this.html+='<param name="'+B.toString()+'" value="'+C[B]+'" /> '}}this.html+=" </object> <!--> <![endif]-->"}return this.html};Flash.prototype.write=Flash.prototype.outIn=Flash.prototype.writeIn=function(A){if(typeof A=="string"&&document.getElementById){var A=document.getElementById(A)}if(A!=undefined&&A){A.innerHTML=this.toString()}else{document.write(this.toString())}};