var intSTime = 4000;//定义图片轮换时间
var intSWidth = 240;//定义图片宽度,单位:像素
var intSHeight = 180;//定义图片高度,单位:像素
var collectSAd;
var adNum = 0
function slectImg(){
 this.items = [];
 this.addItem = function(adURL,strURL,strBak,intChMode,intTarget){
  var newItem  = {};
  newItem.adURL = adURL;
  newItem.strURL = strURL;
  newItem.strBak = strBak;
  newItem.intChMode = intChMode;
  newItem.intTarget = intTarget;
  this.items[this.items.length] = newItem;
 }
 this.play = function(){
  collectSAd = this.items
  strHtml()
  nextAd()
 }
}
function setTransition(){
if (document.all){
  if(collectSAd[adNum].intChMode == ""){
bannerADrotator.filters.revealTrans.Transition=Math.floor(Math.random()*23);
}else{
   bannerADrotator.filters.revealTrans.Transition=collectSAd[adNum].intChMode;
  }
   bannerADrotator.filters.revealTrans.apply();
}
}
function playTransition(){
if (document.all)
bannerADrotator.filters.revealTrans.play()
}
function nextAd(){
adNum<collectSAd.length-1?adNum++:adNum=0;
setTransition();
document.images.bannerADrotator.src=collectSAd[adNum].adURL;
playTransition();
  document.images.bannerADrotator.alt=collectSAd[adNum].strBak;
theTimer=setTimeout("nextAd()", intSTime);
}
function jump2url(){
jumpUrl=collectSAd[adNum].strURL;
if (jumpUrl != ''){
if(collectSAd[adNum].intTarget != "")window.open(jumpUrl,collectSAd[adNum].intTarget);
else location.href=jumpUrl;
}
}
function displayStatusMsg() {
status=collectSAd[adNum].strURL;
document.returnValue = true;
}
function strHtml(){
 document.write("<a onmouseover=\"displayStatusMsg();return document.returnValue\" href=\"jump2url()\"><img src=\"nextAd()\" name=\"bannerADrotator\" width=\""+intSWidth+"\" height=\""+intSHeight+"\" border=\"0\" style=\"filter: revealTrans(duration=2,transition=20)\"></a>")
}
var theSlectImg = new slectImg();
theSlectImg.addItem("1.gif","a.html","图片1","","")
theSlectImg.addItem("2.gif","b.html","图片2","","")
theSlectImg.addItem("3.gif","c.html","图片3","","")
theSlectImg.addItem("4.gif","d.html","图片3","","")
theSlectImg.play()请问我我("<a onmouseover=\"displayStatusMsg();return document.returnValue\" href=\"jump2url()\">连接的时候为什么调不出来呢?img调用好使啊。