function check_null(){
	if (document.form.memberid.value==""){
		alert("no MembersID!");
		return false;
		}
	if (document.form.password.value==""){
			alert("Password incorrect!");
			return false;
		}
	return true;
	}
function check_admin(){
if (document.form.username.value==""){
		alert("请输入用户名!");
		return false;
	}
	if (document.form.password.value==""){
		alert("请输入密码!");
		return false;
	}
	return true;
}
function goback(){
	history.back();
}
function openwindow(filename,width,height,scr){
	window.open(filename,'','resizeable=yes,top=100,left=100,statusbar=no,scrollbars='+scr+',menubar=no,toolbar=no,width='+width+',height='+height+'\'');
}
function additem(id){
	window.open('additem.asp?pid='+id,'','resizeable=yes,statusbar=no,scrollbars=no,menubar=no,toolbar=no,width=250,height=110');
}
	
function MM_jumpMenu(targ,selObj,restore,filename){ //v3.0
  eval(targ+".location='"+filename+"page="+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}