 ///function by 陈祝华 2006.5.9
<!--
    var win_main=null;
	function subLogClick(){
		if(document.form1.txtUserName.value==""){
			alert("请输入登录用户名！");
			document.form1.txtUserName.focus();
			return;
		}
		if(document.form1.txtPassword.value==""){
            alert("请输入登录密码！");
            document.form1.txtPassword.focus();
			return;
		}
		document.form1.submit();
		document.form1.txtPassword.value="";
	}

	
	//注册
	function registe(){
	    //弹出注册界面
        window.open("Http://www.csgxjy.com:8808/resource/usermanage/user_addOrEdit.jsp?act=reg");
	   // alert("regist!");
	}
	
	
	//找回密码
	function getPassword(){
       //alert
       //window.open("Http://www.csgxjy.com:8808/resource/usermanage/password_edit.jsp");
       window.open('Http://www.csgxjy.com:8808/resource/usermanage/find_password.jsp', '','height=150, width=350, scrollbars=yes, resizable=no,status=yes');
	}
	//下载客户端
	function downloadclient(flag){
	   //alert("open window to download location?flag="+flag);
	   switch(flag){
	     case "winzip":
	        location="Http://www.csgxjy.com:8808/resource/com/client/tools/WINZIP70.EXE";
	        break;
	     case "flashplayer":
	        location="Http://www.csgxjy.com:8808/resource/com/client/tools/Shockwave_Installer.exe";
	        break;
	     case "realplayer":
	        location="Http://www.csgxjy.com:8808/resource/com/client/tools/RealPlayer10-5GOLD_cn.exe";
	        break;
	     case "bfyyplayer":
	        location="Http://www.csgxjy.com:8808/resource/com/client/tools/fengbaoyingyin.exe";
	        break;
	     case "mediaplayer":
	        location="Http://www.csgxjy.com:8808/resource/com/client/tools/mpsetup9.00.exe";
	        break;
	     default:
	        window.open("Http://www.csgxjy.com:8808/resource/com/client/download.htm");
	   }
	   

	}
	//帮助中心
	function help(){
	   window.open("Http://www.csgxjy.com:8808/resource/com/help/admin.html");
	}
	function guestLogin(){
	   window.open("http://www.csgxjy.com:8808/resource/main/main.jsp");
	}	
	
//-->
