﻿var imgUrl=new Array(); var imgLink=new Array(); var imgTitle = new Array(); var adNum=0; imgUrl[1] = "http://hot.580k.com/photo/2012/02/06/2D130522B89.jpg"; imgLink[1] = "http://hot.580k.com/n/201202/06/n20120206_328700.shtml"; imgTitle[1] = "绝对让你癫狂的父母"; imgUrl[2] = "http://hot.580k.com/photo/2012/02/03/07645B59974.jpg"; imgLink[2] = "http://hot.580k.com/n/201202/03/n20120203_328394.shtml"; imgTitle[2] = "绝对惊叹的电脑狂人"; imgUrl[3] = "http://hot.580k.com/photo/2012/02/01/EEEB28C9930.jpg"; imgLink[3] = "http://hot.580k.com/n/201202/01/n20120201_328135.shtml"; imgTitle[3] = "猛不猛看了才知道"; imgUrl[4] = "http://hot.580k.com/photo/2012/01/31/E19F08CF29C.jpg"; imgLink[4] = "http://hot.580k.com/n/201201/31/n20120131_327827.shtml"; imgTitle[4] = "世上最无聊的一群人"; imgUrl[5] = "http://hot.580k.com/photo/2012/01/29/C985C50B66B.jpg"; imgLink[5] = "http://hot.580k.com/n/201201/29/n20120129_327535.shtml"; imgTitle[5] = "你丫太贱了";  var piclength=imgUrl.length - 1; function playTran() {   if (document.all) { imgInit.filters.revealTrans.play(); }} function nextAd() {   if(adNum < piclength) { adNum++; }   else { adNum=1; }   if (document.all) { imgInit.filters.revealTrans.Transition=19; imgInit.filters.revealTrans.apply(); playTran();}   document.images.imgInit.src=imgUrl[adNum];   document.getElementById('imgTitle').innerHTML = imgTitle[adNum];   setTimeout('nextAd()', 5000); } function goUrl() { window.open(imgLink[adNum],'_blank'); } 
