function checkIndexLoginButton()
{
   if(document.loginform.UserID.value=="" || document.loginform.PassWord.value=="")
 	alert("欄位不可以空白");
   else
    document.loginform.submit();
}

function checkName(string)
{
	re=/^\w{1,}$/;
	if (!re.test(string))
	 alert("只允許輸入英文、數字、底線");
}