/*
Copyright (c) Copyright (c) 2007, Carl S. Yestrau All rights reserved.
Code licensed under the BSD License: http://www.featureblend.com/license.txt
Version: 1.0.3
*/
if(typeof ado==="object"){ado.beginExternal()}var FlashDetect=new function(){var C=this;C.installed=false;C.major=-1;var D=[{name:"ShockwaveFlash.ShockwaveFlash.7",version:function(G){return A(G)}},{name:"ShockwaveFlash.ShockwaveFlash.6",version:function(I){var G="6,0,21";try{I.AllowScriptAccess="always";G=A(I)}catch(H){}return G}},{name:"ShockwaveFlash.ShockwaveFlash",version:function(G){return A(G)}}];var A=function(I){var G=-1;try{G=I.GetVariable("$version")}catch(H){}return G};var E=function(G){var I=-1;try{I=new ActiveXObject(G)}catch(H){}return I};var B=function(H){var G=H.split(",");return{major:parseInt(G[0].split(" ")[1],10)}};var F=function(I){var G=I.split(/ +/);var H=G[2].split(/\./);return{major:parseInt(H[0],10)}};C.majorAtLeast=function(G){return C.major>=G};C.FlashDetect=function(){if(navigator.plugins&&navigator.plugins.length>0){var K="application/x-shockwave-flash";var I=navigator.mimeTypes;if(I&&I[K]&&I[K].enabledPlugin&&I[K].enabledPlugin.description){var H=I[K].enabledPlugin.description;var G=F(H);C.raw=G.raw;C.major=G.major;C.installed=true}}else{if(navigator.appVersion.indexOf("Mac")==-1&&window.execScript){var H=-1;for(var J=0;J<D.length&&H==-1;J++){var L=E(D[J].name);if(typeof L=="object"){C.installed=true;H=D[J].version(L);if(H!=-1){var G=B(H);C.major=G.major}}}}}}()};var bbb=ad.bbb.pop();var plugin=(FlashDetect.installed&&FlashDetect.major>=6)?true:false;bbb.psswtURL=bbb.redirection+"="+bbb.redir+encodeURIComponent(bbb.target_url);bbb.CreativeWrite="";if(plugin){bbb.CreativeWrite+='<object id="ado.bbb" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ';bbb.CreativeWrite+='codebase="'+location.protocol+'//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" ';bbb.CreativeWrite+='width="'+bbb.width+'" height="'+bbb.heigth+'">';bbb.CreativeWrite+='<param name="movie" value="'+bbb.swf_file+"?"+bbb.psswtURL+'">';bbb.CreativeWrite+='<param name="quality" value="autohigh"><param name="wmode" value="'+bbb.swf_transparency+'">';bbb.CreativeWrite+='<param name="bgcolor" value="'+bbb.background_color+'">';bbb.CreativeWrite+='<param name="AllowScriptAccess" value="always">';bbb.CreativeWrite+='<embed src="'+bbb.swf_file+'" flashvars="'+bbb.psswtURL+'" ';bbb.CreativeWrite+='quality="autohigh" wmode="'+bbb.swf_transparency+'" bgcolor="'+bbb.background_color+'" AllowScriptAccess="always" ';bbb.CreativeWrite+='width="'+bbb.width+'" height="'+bbb.heigth+'" type="application/x-shockwave-flash" ';bbb.CreativeWrite+='pluginspage="'+location.protocol+'//www.macromedia.com/go/getflashplayer"></object>'}document.write(bbb.CreativeWrite);if(typeof ado==="object"){ado.endExternal()};
