//html2js×ª»»½Å±¾@2006-6-22 2:08:02  ÊÀ½ç»³
document.writeln("<script language=JavaScript> ");
document.writeln("<!-- \/\/ BannerAD ,Í¼Æ¬ÇÐ»»");
document.writeln("var bannerAD=new Array(); ");
document.writeln("var bannerADlink=new Array(); ");
document.writeln("var adNum=0; ");
document.writeln("   bannerAD[0]=\"img\/0.jpg\";");
document.writeln("   bannerADlink[0]=\"\/index.html\";");
document.writeln("   bannerAD[1]=\"img\/1.jpg\";");
document.writeln("   bannerADlink[1]=\"\/index.html\";");
document.writeln("   bannerAD[2]=\"img\/2.jpg\";");
document.writeln("   bannerADlink[2]=\"\/index.html\";");
document.writeln("   bannerAD[3]=\"img\/3.jpg\";");
document.writeln("   bannerADlink[3]=\"\/index.html\";");
document.writeln("   bannerAD[4]=\"img\/4.jpg\";");
document.writeln("   bannerADlink[4]=\"\/index.html\";");

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("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("function playTransition(){ ");
document.writeln("if (document.all) ");
document.writeln("bannerADrotator.filters.revealTrans.play() ");
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("function jump2url(){ ");
document.writeln("jumpUrl=bannerADlink[adNum]; ");
document.writeln("jumpTarget='_blank'; ");
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("<\/script>");
document.writeln("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.writeln("  <tr> ");
document.writeln("    <td bgcolor=\"#ffffff\"><A onmouseover=\"displayStatusMsg();return document.returnValue\" href=\"javascript:jump2url()\"><IMG style=\"FILTER: revealTrans(duration=2,transition=20)\" height=235 src=\"\/img\/1.jpg\" width=925 border=0 name=bannerADrotator><\/A>");
document.writeln("    <SCRIPT language=JavaScript>nextAd()<\/SCRIPT><\/td>");
document.writeln("  <\/tr>");
document.writeln("<\/table>");


