﻿// JScript 文件
// JScript 文件
function DisplayClew(obj,classname)
 {
        var itemID=obj;
        var _init=document.getElementById(itemID);
        if(_init.innerHTML!='')
            _init.className=classname;  
 }
 
 
function check()
{
   if(document.getElementById("zbacctext").value=="")
   {
	alert("直报用户名不能为空");
	return false;
   }
   if(document.getElementById("zbaccpassword").value=="")
   {
	alert("直报用户密码不能为空");
	return false;
   }
   alert("直报账户未分配,请等待...");
   return true;
}



function checksb()
{
   if(document.getElementById("sbacctext").value=="")
   {
	alert("审报用户名不能为空");
	return false;
   }
   if(document.getElementById("sbaccpassword").value=="")
   {
	alert("审报用户密码不能为空");
	return false;
   }
   alert("审报账户未分配,请等待...");
   return true;
}



function checkws()
{
   if(document.getElementById("wsacctext").value=="")
   {
	alert("直属党委用户名不能为空");
	return false;
   }
   if(document.getElementById("wsaccpassword").value=="")
   {
	alert("直属党委密码不能为空");
	return false;
   }
   alert("直属党委账户未分配,请等待...");
   return true;
}



function checkgf()
{
   if(document.getElementById("gfacctext").value=="")
   {
	alert("国防科工局用户名不能为空");
	return false;
   }
   if(document.getElementById("gfaccpassword").value=="")
   {
	alert("国防科工局密码不能为空");
	return false;
   }
   alert("国防科工局账户未分配,请等待...");
   return true;
}

