function AMSBanner_DoFSCommand(command, args)
{
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;

if(command=="clickthrough")
AMSopenNewWindow();
}

function AMSopenNewWindow()
{
(window.open(clickURL,"_blank"))
}

if (navigator.userAgent && (navigator.userAgent.indexOf("MSIE") >= 0) && navigator.userAgent.indexOf("Windows") >= 0)
{
document.write('<SCR'+'IPT LANGUAGE=VBS'+'cript> ');
document.write('Sub AMSBanner_FSCommand(ByVal command, ByVal args)');
document.write('call AMSBanner_DoFSCommand(command, args)');
document.write('end sub');
document.write('</SCRIP'+'T> ');
}
document.write('<div align=center>');
document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ');
document.write(' ID=AMSBanner WIDTH=' + flashW + ' HEIGHT=' + flashH + '>');
document.write('<PARAM NAME=movie VALUE="'+ flashIMG +'"><param name=wmode value=transparent><PARAM NAME=quality VALUE=high><PARAM NAME=AllowScriptAccess VALUE=always>');

var ShockMode = 0;

if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] && 
navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin)
{
if (navigator.plugins && navigator.plugins["Shockwave Flash"])
ShockMode = 1;
}

if (ShockMode)
{
document.write('<EMBED SRC="'+ flashIMG +'"  NAME=AMSBanner');
document.write(' NAME=AMSBanner swLiveConnect=TRUE WIDTH=' + flashW + ' HEIGHT=' + flashH + ' QUALITY=high');
document.write(' wmode="transparent" TYPE="application/x-shockwave-flash" ');
document.write(' AllowScriptAccess="always" '); 
document.write(' PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" >');
document.write('</EMBED>');
}
document.write('</OBJECT><center><a href="'+ clickURL +'" target=_blank>');
document.write('<font style="font-size:9pt;line-height:140%;">' + ALT_Text + '</font></a></font></div>');


