// JavaScript Document
function killErrors() { 
return true; 
} 
//window.onerror = killErrors; 

function showLay(divId){
if(divId=="Layer39" && mFlag)
{
  window.location="topic.php?channelID=2&topicID=48&sLayer=39#aa";
}
var objDiv = eval(divId);
if (objDiv.style.display=="none"){
	eval("sp"+divId+".innerHTML='&nbsp;'");
	objDiv.style.display="";
}else{
	eval("sp"+divId+".innerHTML='&nbsp;'");
	objDiv.style.display="none";
	}
}

function MM_openBrWindow(theURL,winName,features) { 
  popUpWin = open(theURL,'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width=800,height=600,left=0, top=0,screenX=0,screenY=0');
}

function fn_CheckParameters(theform)
{
	if(theform.username.value=="")
	{
		alert("请输入您的登录名！");
		theform.username.focus();
        return false; 
	}
	
	if(theform.password.value=="")
	{
		alert("请输入您的登陆密码！");
		theform.password.focus();
        return false; 
	}
	return true;
}