	showIndex=0;
	temp=0

	function config(imgUrl,imgLink,imgText){
		this.imgUrl		=	imgUrl;
		this.imgLink	=	imgLink;
		this.imgText	=	imgText;
		this.len		=	imgUrl.length;
	}

	function playTran(){
		if (document.all)	showimg.filters.revealTrans.play();
	}
	function nextAd(){
		if( temp==0 )temp=1;
		else if(document.all){
				showimg.filters.revealTrans.Transition=23;
				showimg.filters.revealTrans.apply();
				playTran();
			}
		document.images.showimg.src=imgUrl[showIndex];
//		if(document.all)showText.innerHTML="<a href=# onclick='goUrl()'>"+imgText[showIndex]+"</a>";
		showIndex++;
		if(showIndex==len)showIndex=0;
		setTimeout("nextAd()",4000);
	}
	function goUrl(){
		alert(imgLink[showIndex-1]);
	}
	/*
		0.上层图片向中心等比例变小直到后面的图片完全显示
		1.上层图片由中心等比例变大直到后面的图片完全隐藏
		2.上层图片向中心以圆形变小直到后面的图片完全显示
		3.上层图片由中心以圆形变大直到后面的图片完全隐藏
		4.上层图片由下往上隐藏
		5.上层图片由上往下隐藏
		6.上层图片由左往右隐藏
		7.上层图片由右往左隐藏
		8.百叶窗由左到右
		9.百叶窗由上到下
		10.错位百叶窗由左到右
		11.错位百叶窗由上到下
		12.点状慢慢渐变显示
		13.左右向中间等距离渐变
		14.中间向左右等距离渐变
		15.上下向中间等距离渐变
		16.中间向上下等距离渐变
		17.由右到左有角度的渐变135度
		18.由右到左有角度的渐变45度
		19.由左到右有角度的渐变45度
		20.由左到右有角度的渐变135度
		21.横向由疏到密渐变
		22.纵向由疏到密渐变
		23.随机效果
	*/
