function chkdata()
{
   if (f1.姓名.value.length == 0)
   {
      alert('請輸入您的姓名!!');
      f1.姓名.focus();
      return false;
   }
   
   if (f1.電話.value.length == 0)
   {
      alert('請輸入您的電話!!');
      f1.電話.focus();
      return false;
   }
   
   if (f1.手機.value.length == 0)
   {
      alert('請輸入您的手機!!');
      f1.手機.focus();
      return false;
   }
   
   if (typeof(f1.EMail) != "undefined"){
	    if (f1.EMail.value.length == 0)
      {
         alert('請輸入您的E-Mail!!');
         f1.EMail.focus();
         return false;
      }
      else if (f1.EMail.value != "") {
      	
         if (f1.EMail.value.indexOf( "@") == -1 || f1.EMail.value.indexOf( ".") == -1 ||
           f1.EMail.value.indexOf("\'")!=-1 || f1.EMail.value.indexOf("\"")!=-1 )
         {
            alert("E-Mail格式不正確或特殊字元!!!!");
            f1.EMail.focus();
            return false;
         }
      }
   }
      
   if (f1.地址.value.length == 0)
   {
      alert('請輸入您的地址!!');
      f1.地址.focus();
      return false;
   }
}