function SvCheckLogin(xForm)
{
   var rKind = /(@)/g;

   xForm.email.value = xForm.email.value.replace(/(\s)g/, "");
   xForm.password.value = xForm.password.value.replace(/(\s*)$/, "");

   if (!SbCheckByRegExp(xForm.email, /^\S+/, "請輸入「帳號」！")) return;
   if (!SbCheckByRegExp(xForm.password, /^\S+/, "請輸入「密碼」！")) return;

   if (rKind.test(xForm.email.value))
      xForm.action = "https://www.bookzone.com.tw/member/BZmember/CheckUser-next.asp";
   else
      xForm.action = "https://www.bookzone.com.tw/member/KSmember/CheckUser-next.asp";

   xForm.submit();
}
