function killErrors(){ 
return true;} 
window.onerror = killErrors; 
function stopError(){
return true;}
window.onerror = stopError;

function ActionUrl()
{
var myname = document.login.username.value;
var mypwd = document.login.password.value;
if (document.login.Choice[0].selected) {
	if(mypwd!="")
	{
	document.login.action = "http://bbs.xishui.net/login.asp?action=chk";
	document.login.submit();
	return true;
	}
	else
	{
	window.location="http://bbs.xishui.net/";
	return false;
	}}
if (document.login.Choice[1].selected){
	if(mypwd!="")
	{
	document.login.action = "http://www.xishui.net/bbs/userlogin.asp";
	document.login.submit();
	}
	else
	{
	window.location="http://www.xishui.net/bbs/indexold.asp";
	return false;
	}}
if (document.login.Choice[2].selected){
	if(mypwd!="")
	{
	document.login.fyuser.value = document.login.username.value;
	document.login.fypwd.value = document.login.password.value;
	document.login.action = "http://www.xishui.net/campus/login.asp";
	document.login.submit();
	}
	else
	{
	window.location="http://www.xishui.net/campus/";
	return false;
	}}
if (document.login.Choice[3].selected){
	if(mypwd!="")
	{
	document.login.user_name.value = document.login.username.value;
	document.login.action = "http://www.xishui.net/friend/login.asp";
	document.login.submit();
	}
	else
	{
	window.location="http://www.xishui.net/friend/";
	return false;
	}}
if (document.login.Choice[4].selected){
	if(mypwd!="")
	{
	document.login.USER.value = document.login.username.value;
	document.login.pwd.value = document.login.password.value;
	document.login.action = "http://www.xishui.net/bbs/userlogin.asp";
	document.login.submit();
	}
	else
	{
	window.location="http://www.xishui.net/info/";
	return false;
	}}
if (document.login.Choice[5].selected){
	if(mypwd!="")
	{
	document.login.Member.value = document.login.username.value;
	document.login.action = "/gq/CheckPass.asp";
	document.login.submit();
	}
	else
	{
	window.location="./";
	return false;
	}}
	}
function goChat()
{
var mynick = document.login.username.value;
	if(mynick!="")
	{
	document.login.USER.value = document.login.username.value;
	document.login.PASS.value = document.login.password.value;
	document.login.action = "http://202.96.140.86/login.php";
	document.login.submit();
	}
	else
	{
	var sbb=Math.floor(Math.random()*160)+1;
	document.login.USER.value = "浠水网—游客"+sbb+"";
	document.login.action = "http://202.96.140.86/login.php";
	document.login.submit();
	}
}
function defaul_home(){this.home.style.behavior='url(#default#homepage)';this.home.setHomePage('http://www.xishui.net/');}
function bookmarkit(){if(navigator.appName == "Netscape"){window.alert('按 Ctrl + D 将本页加入书签或收藏夹');}else{window.external.AddFavorite('http://www.xishui.net/down/','浠水下载 [www.xishui.net]');}}
