<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body>
<SCRIPT language=javascript>
<!--
var bannerAD=new Array();
var bannerADlink=new Array();
var bannerADName=new Array();
var adNum=0;
var theTimer;
bannerAD[0]="http://image2.sina.com.cn/sms/sinarc/preview/27/171/27117/27117951.jpg";
bannerADlink[0]="http://www.csdn.net";
bannerADName[0]="picture 1";
bannerAD[1]="http://image2.sina.com.cn/sms/sinarc/preview/27/171/27117/27117952.jpg";
bannerADlink[1]="http://www.google.com";
bannerADName[1]="picture 2";
bannerAD[2]="http://image2.sina.com.cn/sms/sinarc/preview/27/171/27117/27117953.jpg";
bannerADlink[2]="http://www.baidu.com";
bannerADName[2]="picture 3";
bannerAD[3]="http://image2.sina.com.cn/sms/sinarc/preview/27/171/27117/27117954.jpg";
bannerADlink[3]="http://www.sina.com.cn";
bannerADName[3]="picture 4";
bannerAD[4]="http://image2.sina.com.cn/sms/sinarc/preview/27/171/27117/27117955.jpg";
bannerADlink[4]="http://www.sohu.com";
bannerADName[4]="picture 5";
bannerAD[5]="http://image2.sina.com.cn/sms/sinarc/preview/27/171/27117/27117956.jpg";
bannerADlink[5]="http://www.qq.com";
bannerADName[5]="picture 6";
var preloadedimages=new Array();
for (i=1;i<bannerAD.length;i++){
preloadedimages[i]=new Image();
preloadedimages[i].src=bannerAD[i];
}
function setTransition(){
if (document.all){
bannerADrotator.filters.revealTrans.Transition=Math.floor(Math.random()*23);
bannerADrotator.filters.revealTrans.apply();
}
}
function playTransition(){
if (document.all)
bannerADrotator.filters.revealTrans.play()
}
function nextAd(){
if(adNum<bannerAD.length-1)adNum++ ;
else adNum=0;
setTransition();
document.images.bannerADrotator.src=bannerAD[adNum];
document.getElementById("ADname").innerHTML=bannerADName[adNum];
playTransition();
theTimer=setTimeout("nextAd()", 6000);
}
function jump2url(){
jumpUrl=bannerADlink[adNum];
jumpTarget='_blank';
if (jumpUrl != ''){
if (jumpTarget != '')window.open(jumpUrl,jumpTarget);
else location.href=jumpUrl;
}
}
function displayStatusMsg() {
status=bannerADlink[adNum];
document.returnValue = true;
}
function toPic(id) {
adNum=id-1
gc();
nextAd();
}
function gc()
{
clearInterval(theTimer);
}
//-->
</SCRIPT>
<DIV align=center>名称:<span id="ADname"></span><br/><A
onmouseover="displayStatusMsg();return document.returnValue"
href="javascript:jump2url()"><IMG
style="FILTER: revealTrans(duration=2,transition=20)" height=280
src="http://image2.sina.com.cn/sms/sinarc/preview/27/171/27117/27117951.jpg" width=260 border=0
name=bannerADrotator></A>
<br/>
<script>
var s="";
for(i=0;i<bannerAD.length;i++)
{
s+="<a href='javascript:toPic("+i+");'>"+(i+1)+"</a> ";
}
eval("document.write(s);");
</script>
<SCRIPT language=javascript>
nextAd()
</SCRIPT>
</DIV>
</body>
</html>