if (screen.availWidth < 1000) { self.moveTo(0,0) self.resizeTo(screen.availWidth,screen.availHeight) } else { self.resizeTo(850,650) }*/ function EmptyCheck(Check, ErrMsg) { if (Check=='') { return ErrMsg; } return ''; } function StringLength_Check(FormName,ItemName,MinLen,MaxLen,ErrorMessage) { var theItem=eval("document."+FormName+"."+ItemName); if (theItem.value=="") { if (MinLen>0) { theItem.focus(); return ErrorMessage; } } else { var theLen=theItem.value.length; if ((theLenMaxLen)) { return ErrorMessage; } } return ''; } function EinForm0_Check() { var thisForm=document.check; var alertStr=''; alertStr+=EmptyCheck(thisForm.User_ID.value,"帳號不可為空白\n"); alertStr+=StringLength_Check("check","User_ID","0","20","StringLength Check Error !\n"); alertStr+=EmptyCheck(thisForm.User_Password.value,"密碼不可為空白\n"); alertStr+=StringLength_Check("check","User_Password","0","20","StringLength Check Error !\n"); if (alertStr!='') { alert(alertStr); return false; } return true; } EIP台綜院
 帳號:
 密碼: