document.writeln("<SCRIPT language=JavaScript>");
document.writeln("<!--");
document.writeln("// BannerAD");
document.writeln("");
document.writeln("   var bannerAD=new Array();");
document.writeln("   var bannerADlink=new Array();");
document.writeln("   var adNum=0;");
document.writeln("");
document.writeln("   bannerAD[0]=\"picture/left1.JPG\";");
document.writeln("   bannerADlink[0]=\"javascript:;\";");
document.writeln("   bannerAD[1]=\"picture/left2.JPG\";");
document.writeln("   bannerADlink[1]=\"javascript:;\";");
document.writeln("   bannerAD[2]=\"picture/left3.JPG\";");
document.writeln("   bannerADlink[2]=\"javascript:;\";");
document.writeln("   bannerAD[3]=\"picture/left4.JPG\";");
document.writeln("   bannerADlink[3]=\"javascript:;\";");
document.writeln("   bannerAD[3]=\"picture/left5.JPG\";");
document.writeln("   bannerADlink[3]=\"javascript:;\";");




document.writeln("");
document.writeln("");
document.writeln("   var preloadedimages=new Array();");
document.writeln("   for (i=1;i<bannerAD.length;i++){");
document.writeln("      preloadedimages[i]=new Image();");
document.writeln("      preloadedimages[i].src=bannerAD[i];");
document.writeln("   }");
document.writeln("");
document.writeln("function setTransition(){");
document.writeln("   if (document.all){");
document.writeln("      bannerADrotator.filters.revealTrans.Transition=Math.floor(Math.random()*23);");
document.writeln("      bannerADrotator.filters.revealTrans.apply();");
document.writeln("   }");
document.writeln("}");
document.writeln("");
document.writeln("function playTransition(){");
document.writeln("   if (document.all)");
document.writeln("      bannerADrotator.filters.revealTrans.play()");
document.writeln("}");
document.writeln("");
document.writeln("function nextAd(){");
document.writeln("   if(adNum<bannerAD.length-1)adNum++ ;");
document.writeln("      else adNum=0;");
document.writeln("   setTransition();");
document.writeln("   document.images.bannerADrotator.src=bannerAD[adNum];");
document.writeln("   playTransition();");
document.writeln("   theTimer=setTimeout(\"nextAd()\", 5000);");
document.writeln("}");
document.writeln("");
document.writeln("function jump2url(){");
document.writeln("   jumpUrl=bannerADlink[adNum];");
document.writeln("   jumpTarget='_self';");
document.writeln("   if (jumpUrl != ''){");
document.writeln("      if (jumpTarget != '')window.open(jumpUrl,jumpTarget);");
document.writeln("      else location.href=jumpUrl;");
document.writeln("   }");
document.writeln("}");
document.writeln("function displayStatusMsg() {");
document.writeln("   status=bannerADlink[adNum];");
document.writeln("   document.returnValue = true;");
document.writeln("}");
document.writeln("");
document.writeln("function MM_openBrWindow(theURL,winName,features) { //v2.0");
document.writeln("  window.open(theURL,winName,features);");
document.writeln("}");
document.writeln("//-->");
document.writeln("</SCRIPT>");

