function bb_getFlashVer(){var c=0,b,d,a;if(navigator.plugins&&navigator.mimeTypes.length){var b=navigator.plugins["Shockwave Flash"];if(b&&b.description){a=b.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split(".");c=a[0]+"."+a[1]}}else{if(typeof(ActiveXObject)!="undefined"){try{var d=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(f){try{var d=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");return 6}catch(f){}try{var d=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")
}catch(f){}}if(d!=null){a=d.GetVariable("$version").split(" ")[1].split(",");c=a[0]+"."+a[1]}}}return g(c);function g(e){var h={"0":0,"9.0":9,"10.0":10,"10.1":10,"10.2":11,"10.3":12,"11.0":13,"11.1":14,"11.2":15,"11.3":16,"11.4":17,"11.5":18,"11.6":19,"11.7":20,"11.8":21,"11.9":22,"12.0":23};var j="12.0";if(typeof h[e]=="undefined"){return h[j]}else{return h[e]}}}function bb_convertStrToHash(c){var b=0;for(var a=0;a<c.length;a++){b+=((a+1)*c.charCodeAt(a))}return b.toString(16)
}function bb_Flash3(m){if(typeof m!="object"){return}if(typeof f!="number"||f<1){var f=parseInt(bb_getFlashVer())}var l="clickTag="+escape(m.Redir)+"&clickthru="+escape(m.Redir)+"&clickTAG="+escape(m.Redir)+"&click="+escape(m.Redir)+"&clickTarget="+m.Target+"&clickTARGET="+m.Target;var g=m.Swf!=""?m.Swf:m.Flash;var b=m.Wmode==""?"opaque":m.Wmode;if(f<6){g+="?"+l;l=""}var o=navigator.appVersion.toLowerCase();if(f>=m.FlashVer){var a="";var d=false;if(f==10&&m.FlashVer<8&&(navigator.userAgent.toLowerCase()).indexOf("gecko")==-1){if(o.indexOf("msie 7")!=-1||o.indexOf("msie 8")!=-1){a="<table style='position:absolute;top:0px;left:0px;z-index:9999;height:100%;width:100%;background-color:transparent;' cellspacing=0 cellpadding=0><tr><td style='height:100%;width:100%'><a style='height:100%;width:100%;display:block' href='"+m.Redir+"' target='"+m.Target+"'></a></td>"+ +"</table>";
d=true}}var j=((typeof m.OverlayWanted=="undefined"&&d)||m.OverlayWanted==true);if(j){document.write("<div style='position:relative;width="+m.Width+"px;height="+m.Height+"px;'>")}var n=bb_convertStrToHash(g)+Math.floor(Math.random()*10000+1);var c="bb_param_"+n;var h="bb_embed_"+n;document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width='+m.Width+" height="+m.Height+" "+m.Object+' ><param id="'+c+'" name=movie value="'+g+'"><param name=allowScriptAccess value="always"><param name=FlashVars value="'+l+'"><param name=wmode value="'+b+'">'+m.Param+'<embed id="'+h+'" src="'+g+'" quality=high type="application/x-shockwave-flash" width="'+m.Width+'" height="'+m.Height+'" FlashVars="'+l+'" wmode="'+b+'" '+m.Embed+' allowScriptAccess="always"></embed></object>');
if(j){document.write(a+"</div>")}}else{document.write("<a href='"+m.Redir+"' id='bbimg' target='"+m.Target+"'><img src='"+m.Banner+"' width="+m.Width+" height="+m.Height+" border=0 /></a>")}if(o.indexOf("msie 6")!=-1){var e=document.getElementById(c);if(e){e.value=g}var k=document.getElementById(h);if(k){k.src=g}}}if(typeof(_bmad)=="object"){for(var i=0;i<_bmad.length;i++){if(_bmad[i]==null){continue}bb_Flash3(_bmad[i]);_bmad[i]=null}};