// JavaScript Document
var FlashSupported=0;

if (navigator.userAgent.indexOf("Mac")==-1){
 document.write('<SCRIPT LANGUAGE="VBScript"\> \n');
 document.write('on error resume next  \n');
 document.write('FlashSupported = IsObject(CreateObject'+
                '("ShockwaveFlash.ShockwaveFlash.3")) \n');
 var TempVar1="</S";
 TempVar1+="CRIPT\> \n";
 document.write(TempVar1);
}

if (navigator.mimeTypes &&
    navigator.mimeTypes["application/x-shockwave-flash"] &&
    navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin){
 if (navigator.plugins && navigator.plugins["Shockwave Flash"])
  FlashSupported=1;
}

function ShowRandomBannerAd(){
 var BannerCount=1;
<!-- Change BannCount to -1 to turn banners off --!>

 var RandomNumber=Math.floor(Math.random()*BannerCount)+1;
 if (RandomNumber==1){

 ShowBannerAd('graphics/flash/business.swf','graphics/business.gif',550,145,'');
 }
}


function ShowBannerAd(MovieName,ImageName,AdWidth,AdHeight,DestURL){
 if (FlashSupported && MovieName!=''){
  document.writeln('<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
  document.writeln('CODEBASE="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#3,0,0,0"');
  document.writeln(' WIDTH='+AdWidth+' HEIGHT='+AdHeight+' ALIGN=TOP>');
  document.writeln(' <PARAM NAME="SRC" VALUE="'+MovieName+'">');
  document.writeln(' <PARAM NAME="QUALITY" VALUE="high">');
  document.writeln(' <PARAM NAME="LOOP" VALUE="false">');
  document.writeln(' <EMBED SRC="'+MovieName+'" PLUGINSPAGE="https://www.macromedia.com/shockwave/download/"');
  document.writeln(' TYPE="application/x-shockwave-flash" WIDTH='+
   AdWidth+' HEIGHT='+AdHeight+' QUALITY="high"');
  document.writeln(' ALIGN="TOP" LOOP="false" VSPACE=0>');
  document.writeln(' </EMBED>');
  document.writeln('</OBJECT>');
  if (DestURL!=''){
   document.writeln('<A HREF="'+DestURL+'">');
   document.writeln('</A>');
  }
 }
 else if (!(navigator.appName &&
            navigator.appName.indexOf("Netscape")>=0 &&
            navigator.appVersion.indexOf("2.")>=0) &&
          ImageName!=''){
  if (DestURL!=''){
   document.write('<A HREF="'+DestURL+'">');
  }
  document.write('<IMG SRC="'+ImageName+'" WIDTH='+AdWidth+
   ' HEIGHT='+AdHeight+' BORDER=0>');
  if (DestURL!=''){
   document.write('</A>');
  }
 }
}