<!--
browserName = navigator.appName;
browserVer = parseInt ( navigator.appVersion );
version = "n2";
if ( browserName == "Netscape" && browserVer>= 3 ) version = "n3";
if ( browserName == "Microsoft Internet Explorer" && browserVer>=4 ) version = "e4";

function mon(imgName)
{
if ( version == "n3" || version == "e4" )
	{
	document[imgName].src = "/imgs/"+imgName+"_on.GIF";
	}
}

function moff(imgName)
{
if ( version == "n3" || version == "e4" )
	{
	document[imgName].src = "/imgs/"+imgName+".GIF";
	}
}

var ver = "";
if ( browserName == "Microsoft Internet Explorer" && browserVer <=3 ) ver = "e3";

function notice(url)
{
	this.open(url,"notice","top=50,left=80,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=500,height=300");
}

function openwin(url)
{
if ( ver != "e3" )
	{
		var x = this.open(url,"news","top=60,left=60,toolbar=yes,location=no,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,width=590,height=330");
		return false;
	}
else
	{
		var ooo = "";
		ooo = this.location.href;
		this.open(url,"news","top=60,left=60,toolbar=yes,location=no,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,width=590,height=330");
		this.location.href = ooo;
	}
		return true;
}

function showdetail(id)
{
	this.open('ShowA0.asp?id='+id,'','top=10,left=60,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,width=525,height=520');
}

function zoom(url,w,h)
{
if ( ver != "e3" )
	{
		var x = this.open(url,"zoom","top=60,left=60,toolbar=no,location=no,directories=no,status=no,menubar=yes,scrollbars=no,resizable=yes,"+"width="+w+",height="+h);	
		x.focus();
		return false;
	}
else
	{
		var ooo = "";
		ooo = this.location.href;
		this.open(url,"zoom","top=60,left=60,toolbar=no,location=no,directories=no,status=no,menubar=yes,scrollbars=no,resizable=yes,"+"width="+w+",height="+h);	
		this.location.href = ooo;
	}
		return true;
}

function initArray()
{
	this.length = initArray.arguments.length;
	for (var i=0;i<this.length;i++)
	{
	this[i] = initArray.arguments[i];
	}
	return this;
}

function ShowDate()
{
	today = new Date();
	year = today.getYear();
	if (year < 2000)
	year = year + 1900;
	var d = new initArray("星期日","星期一","星期二","星期三","星期四","星期五","星期六"); 
	document.write(year,"年",today.getMonth()+1,"月",today.getDate(),"日 ",d[today.getDay()]);
}

function ShowRemain()
{
	today = new Date();
	remain = today.getDate()+12;
	document.write(remain);
}

function mOvr(src,clrOver)
{if(!src.contains(event.fromElement))
{src.style.cursor='hand';src.bgColor=clrOver;}}

function mOut(src,clrOut)
{if(!src.contains(event.toElement))
{src.style.cursor='default';src.bgColor=clrOut;}}

function stopit(t)
{
	t.stop();
}

function startit(t)
{
	t.start();
}

function random(M)
{
	now = new Date();
	hour = now.getHours();
	min = now.getMinutes();
	sec = now.getSeconds();
	return (((hour+1)*(min+1)*sec)%M)+1;
}

function MakeArray(A)
{
	for (var i=0;i<=A;i++)
	{
		this[i] = "";
	}
	return this;
}

	img0 = new MakeArray(6);
	link0 = new MakeArray(6);
	img0[0] = "/ad/ad_ML03.GIF";
	link0[0] = "/special/ml2003/";
	img0[1] = "/ad/ad_ML03.GIF";
	link0[1] = "/special/ml2003/";
	img0[2] = "/ad/ad_ML03.GIF";
	link0[2] = "/special/ml2003/";
	img0[3] = "/ad/ad_ML03.GIF";
	link0[3] = "/special/ml2003/";
	img0[4] = "/ad/ad_RJ03.GIF";
	link0[4] = "/special/renju2002/";
	img0[5] = "/ad/ad_ML03.GIF";
	link0[5] = "/special/ml2003/";
	img0[6] = "/ad/ad_YH03.GIF";
	link0[6] = "/special/ExhiYH03/";
//-->
