<!--//把这段程序放在head内
var PicNum=2;		//picture number
links=new Array("http://ds.goldhuman.com/","http://ds.goldhuman.com/");
alts=new Array("洪恩数字校园","洪恩数字校园");
times=new Array(90,90);	//delay time

var imagenum=0;
function ShowPic()
{
	imagenum=Math.round(Math.random()*(PicNum-1));
	var image="<IMG SRC=/pub/ani-gif/468x60/c"+imagenum+".gif border=0 width=468 height=60 name='logo' alt='"+alts[imagenum]+"'>";
	document.write(image.link("javascript:goUrl()"));
	window.setTimeout('ChgPic()',times[imagenum]*1000);
}
function ChgPic()
{
	imagenum=Math.round(Math.random()*(PicNum-1));
	image=new Image();
	image.src="/pub/ani-gif/468x60/c"+imagenum+".gif";
	document.logo.src=image.src;
	document.logo.link=links[imagenum];
	window.setTimeout('ChgPic()',times[imagenum]*1000);
}
function goUrl()
{
	parent.location=links[imagenum];
}
//-->
