function MySamplePack(theForm){
if(theForm.FirstName.value == ""){
   alert("請輸入您的名字！");
   theForm.FirstName.focus();
   return (false);}

var vcheck1=/^[^*:/;@?%$~+\\{}<>#"'&]{1,10}$/;
var vcheck2=theForm.FirstName.value;
if(!vcheck1.test(vcheck2)){
   alert("名字輸入錯誤！");
   theForm.FirstName.focus();
   return (false);}
   
if(theForm.LastName.value == ""){
   alert("請輸入您的姓氏！");
   theForm.LastName.focus();
   return (false);}

var vcheck1=/^[^*:/;@?%$~+\\{}<>#"'&]{1,10}$/;
var vcheck2=theForm.LastName.value;
if(!vcheck1.test(vcheck2)){
   alert("姓氏輸入錯誤！");
   theForm.LastName.focus();
   return (false);}

if(theForm.Phone.value == ""){
   alert("請輸入您的聯絡電話！");
   theForm.Phone.focus();
   return (false);}

var vcheck1=/^[0-9]{6,20}$/;
var vcheck2=theForm.Phone.value;
if(!vcheck1.test(vcheck2)){
   alert("聯絡電話只能輸入數字！");
   theForm.Phone.focus();
   return (false);}

if(theForm.Email.value == ""){
   alert("請輸入您的E-mail！");
   theForm.Email.focus();
   return (false);}

var vcheck1=/^[_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,3}$/;
var vcheck2=theForm.Email.value;
if(!vcheck1.test(vcheck2)){
   alert("E-mail格式錯誤，請重新填寫！");
   theForm.Email.focus();
   return (false);}
   
if(theForm.Country.value == ""){
   alert("請輸入選擇國家地區");
   theForm.Country.focus();
   return (false);}
}

