function goaction1(){
recstr1 = "";
recstr2 = "";
vstr="";
	recstr1 = document.denglu.pass.value;
	recstr2 = document.denglu.username.value;
	if (recstr2!="" && recstr1!=""){
		for (var i=0;i<document.denglu.elements.length;i++){
			var e = document.denglu.elements[i];
		       	if (e.name=="usertype"){if (e.checked){vstr=e.value;break;}}
		}
		switch (vstr) {
		case "0": 
			ctlstr = "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=" + "450" + ",height=" + "450"; 
			actionstr="/servlet/uidmk.SignonServlet?username=" + document.denglu.username.value + "&pass=" + document.denglu.pass.value;
		  	controlWindow=window.open(actionstr,"uidlogon",ctlstr);
			return false;
			break;
		case "1": 
			return true;
			break;
		case "2": 
			document.dengluhtl.username.value = document.denglu.username.value;
			document.dengluhtl.i_username.value = document.denglu.username.value;
			document.dengluhtl.pass.value = document.denglu.pass.value;
			document.dengluhtl.submit();
			return false;
			break;
		default: 
			ctlstr = "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=" + "450" + ",height=" + "450"; 
			actionstr="/servlet/uidmk.SignonServlet?username=" + document.denglu.username.value + "&pass=" + document.denglu.pass.value;
		  	controlWindow=window.open(actionstr,"uidlogon",ctlstr);
			return false;
			break;
		}
					
	}
	else{
		alert("用户的用户名和密码不可为空！！");
		document.denglu.username.focus();
		return false;
	}
}
