function frmvotecheck (frmvote,maxcount)
{
  var thisForm = frmvote;
  var thismax = parseInt( maxcount );
  var alertStr = check_vote( thisForm.votecount, thismax);
      alertStr += check_null(thisForm.votecheck.value, "投票驗證碼");
  	  	   
  if( alertStr != '' ) {
    alert( alertStr );
	return ;
}
thisForm.submit()
}


function FrmChkCk ()
{
  var thisForm = document.FrmReg;
  var alertStr = '' 

 if(!( thisForm.M_CK1.checked == true && thisForm.M_CK2.checked == true && thisForm.M_CK3.checked == true && thisForm.M_CK4.checked == true)) {
 alertStr = "您必需同意以下四項才能進行下步動作 !\n";
 }
 
  if( alertStr != '' ) {
    alert( alertStr );
	return ;
}
showConcern(subConcern4);
}

function chkId()
{
  var f = document.FrmReg;
  var uid = f.uid.value
  if( uid.length == 0 )
    {
     alert("請先輸入欲申請之帳號");
     f.uid.focus();
     return;
    }

  if( uid.length < 4 || uid.length > 12 )
    {
     alert("帳號長度只能 4 至 12 個字元 !" );
     f.uid.focus();
     return;
    }

  if ( !(uid.charAt(0)>= 'a' && uid.charAt(0) <= 'z') )
    {
     alert("帳號第一字元只能為小寫字母 !" );
     f.uid.focus();
     return;	 
    }
  for( idx = 0 ; idx < uid.length ; idx++ )
    {
  if( uid.charAt(idx)>= 'A' && uid.charAt(idx) <= 'Z' )
    {
     alert("帳號不可以含有大寫字元 !" );
     f.uid.focus();
     return;	 
    }
  if( !( ( uid.charAt(idx)>= 'a' && uid.charAt(idx) <= 'z' ) || ( uid.charAt(idx)>= '0' && uid.charAt(idx) <= '9' ) || ( uid.charAt(idx) == '_' ) ) )
    {
     alert("帳號只能是數字,英文字母及「_」等符號,其他的符號都不能使用 !\n" );	
     f.uid.focus();
     return;
	}

  if( uid.charAt(idx) == '_' && uid.charAt(idx-1) == '_' )
    {
     alert("「_」符號不可相連 !\n" );  
     f.uid.focus();
     return;
    }

    }
  if( !( ( uid.charAt(uid.length - 1 )>= 'a' && uid.charAt(uid.length - 1 ) <= 'z' ) || ( uid.charAt(uid.length - 1 )>= '0' && uid.charAt(uid.length - 1 ) <= '9' ) ) )
   {
     alert("帳號的最後只能是數字及英文字母 !\n" );
     f.uid.focus();
     return;
   }
w = window.open("/layout/CheckAll/CheckUid.asp?Uid="+f.uid.value,"chkid","width=1,height=1,toolbar=0");
w.focus();
}


function Checkstep1()
{
  var thisForm = document.FrmReg;
  var alertStr = check_uid( thisForm.uid.value );  
      alertStr += check_passwd( thisForm.pass.value, thisForm.chkpass.value, thisForm.uid.value );  
  if( alertStr != '' ) {
    alert( alertStr );
	return ;
}
showConcern(subConcern5);
}



function Checkstep3()
{
  var thisForm = document.FrmReg;
  var alertStr = check_null( thisForm.m_company.value, "公司名稱");  
      alertStr += check_null( thisForm.m_csn.value, "統一編號"); 
      alertStr += check_csn( thisForm.m_csn.value); 
      alertStr += check_telephonenumber( thisForm.m_tel.value, "聯絡電話");	  
      alertStr += check_null( thisForm.m_name.value, "聯絡人"); 	  
      alertStr += check_select( thisForm.county_no, "所在縣市"); 
      alertStr += check_select( thisForm.area_no, "所在地區"); 	  
      alertStr += check_null( thisForm.m_address.value, "聯絡地址");
      alertStr += check_email( thisForm.m_email.value); 
      alertStr += check_null( thisForm.m_url.value, "公司網址");
      alertStr += check_null( thisForm.m_msg.value, "企業簡介");
  if( alertStr != '' ) {
    alert( alertStr );
	return ;
}
thisForm.submit();
}

function FrmConcernLogin()
{
  var thisForm = document.iFrmConcernLogin;
  var alertStr = check_null( thisForm.User.value, "帳號");  
      alertStr += check_null( thisForm.Password.value, "密碼"); 
  if( alertStr != '' ) {
    alert( alertStr );
	return ;
}
thisForm.submit();
}


function CheckMemberLogin()
{
  var thisForm = document.iFrmMemberLogin;
  var alertStr = check_null( thisForm.User.value, "登入帳號");  
      alertStr += check_null( thisForm.Password.value, "登入密碼");	   
  if( alertStr != '' ) {
    alert( alertStr );
	return ;
}
thisForm.submit();
}

function FrmConcernSendPass()
{
  var thisForm = document.iFrmForgetPassWord;
  var alertStr = check_null( thisForm.ForUid.value, "帳號");  
      alertStr += check_email( thisForm.ForEmail.value); 	 	  
  if( alertStr != '' ) {
    alert( alertStr );
	return ;
}
thisForm.submit();
}

function FrmCheckPass()
{
  var thisForm = document.iConcernPass;
  var alertStr = check_editpasswd( thisForm.OPass.value, thisForm.NPass.value, thisForm.ChkPass.value, thisForm.Uid.value);  
  if( alertStr != '' ) {
    alert( alertStr );
	return ;
}
thisForm.submit();
}



function FrmCheckEdit()
{
  var thisForm = document.iFrmConcernEdit;
  var alertStr = check_null( thisForm.C_Company.value, "公司名稱"); 
      alertStr += check_telephonenumber( thisForm.C_Tel.value, "聯絡電話");	 
      alertStr += check_null( thisForm.C_Name.value, "聯絡人"); 
      alertStr += check_select( thisForm.County_No, "所在縣市"); 
      alertStr += check_select( thisForm.Area_No, "所在地區"); 	 
      alertStr += check_null( thisForm.C_Address.value, "聯絡地址");	  
      alertStr += check_null( thisForm.C_Url.value, "公司網址");
      alertStr += check_null( thisForm.C_Msg.value, "企業簡介");	  	  	  	  	  
					  
  if( alertStr != '' ) {
    alert( alertStr );
	return ;
}
thisForm.submit();
}



function FrmConcernAccountAdd()
{
  var thisForm = document.iFrmConcernAccountAdd;
  var alertStr = check_uid( thisForm.AUid.value ); 
      alertStr += check_passwd( thisForm.APass.value, thisForm.AChkPass.value, thisForm.AUid.value );  	  	  	  	  	  
					  
  if( alertStr != '' ) {
    alert( alertStr );
	return ;
}
thisForm.submit();
}






function FrmBuildAdd ()
{
  var thisForm = document.iFrmConcernBuild;
  
  var alertStr = check_null( thisForm.B_Name.value, "建案名稱");
      alertStr += check_null( thisForm.B_SpecialTel.value, "專線電話");  
      alertStr += check_select( thisForm.County_No, "所在縣市");  
      alertStr += check_select( thisForm.Area_No, "所在區域");   
      alertStr += check_null( thisForm.B_Company.value, "建設公司" );  	       	  
	  alertStr += check_null( thisForm.B_Sell.value, "代銷公司" );  	  
      alertStr += check_select( thisForm.Object_No, "建案類型" );  	  	 	  	   
      alertStr += check_select( thisForm.Kind_No, "房屋類型" );  	  
      alertStr += check_null( thisForm.B_Station.value, "基地位置");
      alertStr += check_null( thisForm.B_Receive.value, "接待中心位置");	  	  	  
      alertStr += check_null( thisForm.B_MinSell.value, "最小銷售坪數");
      alertStr += check_num( thisForm.B_MinSell.value, "最小銷售坪數");	  	  
      alertStr += check_null( thisForm.B_MaxSell.value, "最大銷售坪數");
      alertStr += check_num( thisForm.B_MaxSell.value, "最大銷售坪數");	   
      alertStr += check_null( thisForm.B_Postulate.value, "公設比");
      //alertStr += check_num( thisForm.B_Postulate.value, "公設比");	 
      alertStr += check_null( thisForm.B_Upstairs.value, "樓層地上");
      alertStr += check_num( thisForm.B_Upstairs.value, "樓層地上");	 
      alertStr += check_null( thisForm.B_Downstairs.value, "樓層地下");
      alertStr += check_num( thisForm.B_Downstairs.value, "樓層地下");
      alertStr += check_null( thisForm.B_MinRoom.value, "最低房間數");
      alertStr += check_num( thisForm.B_MinRoom.value, "最低房間數");	  	  
      alertStr += check_null( thisForm.B_MaxRoom.value, "最高房間數");
      alertStr += check_num( thisForm.B_MaxRoom.value, "最高房間數");	   
      alertStr += check_rrboxmax( thisForm.Aspect_No, 3,"座向");
      alertStr += check_radio( thisForm.B_ShopFront, "是否有店面");	   
      alertStr += check_null( thisForm.B_LayoutMsg.value, "格局說明");
      alertStr += check_null( thisForm.B_Character.value, "建案特色");	  
	  	  	  

  if( alertStr != '' ) {
    alert( alertStr );
	return ;
}
thisForm.submit()
}


function FrmSendUserEmail()
{
  var thisForm = document.iFrmSendUserEmail;
  var alertStr = check_sendemail( thisForm.U_Email1.value, thisForm.U_Email2.value, thisForm.U_Email3.value, thisForm.U_Email4.value, thisForm.U_Email5.value ); 
      alertStr += check_useremail( thisForm.U_Email1.value, "朋友1的Email");  	
      alertStr += check_useremail( thisForm.U_Email2.value, "朋友2的Email");  	
      alertStr += check_useremail( thisForm.U_Email3.value, "朋友3的Email");  	
      alertStr += check_useremail( thisForm.U_Email4.value, "朋友4的Email");  	
      alertStr += check_useremail( thisForm.U_Email5.value, "朋友5的Email");  
      alertStr += check_null( thisForm.U_Name.value, "您的大名");	 	  
      alertStr += check_null( thisForm.U_Email.value, "您的Email");	  	  		  	  	  	    	  	  	  	  
      alertStr += check_useremail( thisForm.U_Email.value, "您的Email");  
      alertStr += check_null( thisForm.U_Msg.value, "您給朋友的留言");	 	  
	  					  
  if( alertStr != '' ) {
    alert( alertStr );
	return ;
}
thisForm.submit();
}





function FrmApoAdd ()
{
  var thisForm = document.iFrmApo;
  
  var alertStr = check_null( thisForm.A_MinPrice.value, "最低購屋預算");
      alertStr += check_num( thisForm.A_MinPrice.value, "最低購屋預算");	  	  
      alertStr += check_null( thisForm.A_MaxPrice.value, "最高購屋預算");
      alertStr += check_num( thisForm.A_MaxPrice.value, "最高購屋預算");
      alertStr += check_null( thisForm.A_MinSize.value, "最低需求坪數");
      alertStr += check_num( thisForm.A_MinSize.value, "最低需求坪數");
      alertStr += check_null( thisForm.A_MaxSize.value, "最高需求坪數");
      alertStr += check_num( thisForm.A_MaxSize.value, "最高需求坪數");	  	  
      alertStr += check_radio( thisForm.A_Stall, "車位需求");	 
      alertStr += check_radio( thisForm.A_Time, "欲購屋時間");	 	   	  
      alertStr += check_null( thisForm.A_Year.value, "希望看屋時間年份");
      alertStr += check_null( thisForm.A_Month.value, "希望看屋時間月份");	  	  
      alertStr += check_null( thisForm.A_Day.value, "希望看屋時間日期");
      alertStr += check_null( thisForm.A_Hour.value, "希望看屋時間小時");
      alertStr += check_radio( thisForm.A_Effect, "購屋用途");	 	  
      alertStr += check_null( thisForm.A_RealName.value, "真實姓名");	  
      alertStr += check_null( thisForm.A_RealTel.value, "聯絡電話");	
      //alertStr += check_null( thisForm.A_RealEmail.value, "電子信箱");		    	  	   
      //alertStr += check_useremail( thisForm.A_RealEmail.value, "電子信箱");  		   
      alertStr += check_radio( thisForm.A_Notify, "提醒通知");		     
	  	  	  

  if( alertStr != '' ) {
    alert( alertStr );
	return ;
}
thisForm.submit()
}
function FrmApoAdd1 ()
{
  var thisForm = document.iFrmApo;
  
  var alertStr  = check_null( thisForm.A_Year.value, "希望看屋時間年份");
      alertStr += check_null( thisForm.A_Month.value, "希望看屋時間月份");	  	  
      alertStr += check_null( thisForm.A_Day.value, "希望看屋時間日期");
      alertStr += check_null( thisForm.A_Hour.value, "希望看屋時間小時");
      alertStr += check_radio( thisForm.A_Effect, "購屋用途");	 	  
      alertStr += check_null( thisForm.A_RealName.value, "真實姓名");	  
      alertStr += check_null( thisForm.A_RealTel.value, "聯絡電話");	
  	  	  

  if( alertStr != '' ) {
    alert( alertStr );
	return ;
}
thisForm.submit()
}


function ChoiceMatch ()
{
  var thisForm = document.iFrmChoiceMatch;
  
  var alertStr = check_matchbox( thisForm.MatchNo);

  if( alertStr != '' ) {
    alert( alertStr );
	return ;
}
thisForm.submit()
}


function ChoiceMatchShow ()
{
  var thisForm = document.FrmMatch;
  
  var alertStr = check_box( thisForm.MatchType, "要進行比對的項目");

  if( alertStr != '' ) {
    alert( alertStr );
	return ;
}
thisForm.submit()
}






function FrmfranchiseeAdd ()
{
  var thisForm = document.siFranchisee;
  
  var alertStr = check_null( thisForm.F_ComPany.value, "公司名稱");
      alertStr += check_null( thisForm.F_Nature.value, "營業性質");	  	  
      alertStr += check_null( thisForm.F_Name.value, "聯絡人");
      alertStr += check_null( thisForm.F_Pro.value, "職務名稱");
      alertStr += check_null( thisForm.F_Tel.value, "聯絡電話");
      alertStr += check_null( thisForm.F_Fax.value, "傳真專線");
      alertStr += check_useremail( thisForm.F_Email.value, "電子信箱");  	  
      alertStr += check_select( thisForm.County_No, "所在縣市");  
      alertStr += check_select( thisForm.Area_No, "所在區域");   	  	  
      alertStr += check_null( thisForm.F_Address.value, "地址");	  	  
      alertStr += check_radio( thisForm.F_Structure, "公司結構");	  	  	  
      alertStr += check_null( thisForm.F_Staff.value, "員工人數");
      alertStr += check_null( thisForm.F_Url.value, "公司網址");	  
      alertStr += check_null( thisForm.F_SkillMsg.value, "企業簡介");	  
      alertStr += check_null( thisForm.F_OperateMsg.value, "配合方式");	  
		     	  	  	
  if( alertStr != '' ) {
    alert( alertStr );
	return ;
}
thisForm.submit()
}



function FrmMailusAdd ()
{
  var thisForm = document.isMailus;
  
  var alertStr = check_radio( thisForm.M_Type, "意見類別");
      alertStr += check_radio( thisForm.M_Member, "會員類別");	  	  
      alertStr += check_null( thisForm.M_Trade.value, "行業類別");
      alertStr += check_null( thisForm.M_Pro.value, "職務名稱");
      alertStr += check_null( thisForm.M_Name.value, "姓名");
      alertStr += check_null( thisForm.M_Tel.value, "聯絡電話");	  
      alertStr += check_useremail( thisForm.M_Email.value, "電子信箱");  
      alertStr += check_null( thisForm.M_Msg.value, "意見訊息");	  
		     	  	  	
  if( alertStr != '' ) {
    alert( alertStr );
	return ;
}
thisForm.submit()
}



function FrmOnlineCheck ()
{
  var thisForm = document.iFrmOnline;
  
  var alertStr = check_null( thisForm.U_ID.value, "帳號");	  
      alertStr += check_email( thisForm.U_Email.value );  
		     	  	  	
  if( alertStr != '' ) {
    alert( alertStr );
	return ;
}
thisForm.submit()
}





function FrmCheckRent ()
{
  var thisForm = document.iFrmRent;


  var alertStr = check_null( thisForm.R_Landlord.value, "房東姓名");
      alertStr += check_null( thisForm.R_LandlordTel.value, "房東聯絡電話");
      alertStr += check_null( thisForm.R_LandlordMobile.value, "房東行動電話");
      alertStr += check_emaila( thisForm.R_LandlordEmail.value, "房東電子信箱");
      alertStr += check_radio( thisForm.R_Status, "房東身份");
      alertStr += check_select( thisForm.Kind_No, "房屋類型");  
      alertStr += check_select( thisForm.County_No, "所在縣市");  
      alertStr += check_select( thisForm.Area_No, "所在區域");   
      alertStr += check_null( thisForm.R_Address.value, "地址");
      alertStr += check_null( thisForm.R_Size.value, "坪數");
      alertStr += check_num( thisForm.R_Size.value, "坪數");	 
      alertStr += check_null( thisForm.R_Stair.value, "出租樓層");
      alertStr += check_num( thisForm.R_Stair.value, "出租樓層");	 
      alertStr += check_null( thisForm.R_StairTotal.value, "總樓層");
      alertStr += check_num( thisForm.R_StairTotal.value, "總樓層");	 	  	  	  
      alertStr += check_null( thisForm.R_Room.value, "房屋格局幾房");
      alertStr += check_num( thisForm.R_Room.value, "房屋格局幾房");	 
      alertStr += check_null( thisForm.R_Hall.value, "房屋格局幾廳");
      alertStr += check_num( thisForm.R_Hall.value, "房屋格局幾廳");	 
      alertStr += check_null( thisForm.R_Toilet.value, "房屋格局幾衛");
      alertStr += check_num( thisForm.R_Toilet.value, "房屋格局幾衛");	 	  	  	  
      alertStr += check_null( thisForm.R_HouseAge.value, "屋齡");
      alertStr += check_num( thisForm.R_HouseAge.value, "屋齡");  
      alertStr += check_box( thisForm.Term_No, "出租條件");	 
      alertStr += check_null( thisForm.R_RentalPrice.value, "租金");
      alertStr += check_num( thisForm.R_RentalPrice.value, "租金");	  	  	   	  	  	  	  
      alertStr += check_radio( thisForm.Rental_No, "租金繳費方式");
      alertStr += check_null( thisForm.R_PledgeMonth.value, "押金月數");
      alertStr += check_num( thisForm.R_PledgeMonth.value, "押金月數");	 
      alertStr += check_null( thisForm.R_RentalPrice.value, "押金總計");
      alertStr += check_num( thisForm.R_RentalPrice.value, "押金總計");	 	  	  
      //alertStr += check_box( thisForm.Contain_No, "房租內含");	 

	  
  if( alertStr != '' ) {
    alert( alertStr );
	return ;
}
thisForm.submit()
}



function FrmQueryAdd ()
{
  var thisForm = document.isQuery;
  
  var alertStr = check_null( thisForm.Cno.value, "縣市編號");
      alertStr += check_null( thisForm.Ano.value, "地區編號");
      alertStr += check_null( thisForm.Sno.value, "建案編號");
      alertStr += check_null( thisForm.UserMsg.value, "詢問內容");	  
		     	  	  	
  if( alertStr != '' ) {
    alert( alertStr );
	return ;
}
thisForm.submit()
}




function FrmCheckMission ()
{
  var thisForm = document.frmMission;
  var alertStr = check_null( thisForm.BName.value, "建案名稱");
      alertStr += check_null( thisForm.BTel.value, "建案電話");
      alertStr += check_select( thisForm.Cno, "所在縣市");  
      alertStr += check_select( thisForm.Ano, "所在區域");   	  
      alertStr += check_null( thisForm.BAddress.value, "建案位址");	  
      alertStr += check_null( thisForm.UName.value, "推薦人姓名");
      alertStr += check_null( thisForm.UTel.value, "推薦人電話");	  
      alertStr += check_radio( thisForm.USex, "推薦人性別");
      alertStr += check_emaila( thisForm.UEmail.value, "推薦人電子信箱");
      //alertStr += check_null( thisForm.UAddress.value, "推薦人地址");	  
  if( alertStr != '' ) {
    alert( alertStr );
	return ;
}
thisForm.submit()
}


function FrmCheckFriendly ()
{
  var thisForm = document.frmFriendly;
  var alertStr = check_null( thisForm.Web_Name.value, "網站名稱");
      alertStr += check_null( thisForm.Web_Url.value, "網站網址");
  if( alertStr != '' ) {
    alert( alertStr );
	return ;
}
thisForm.submit()
}


//======================================================================================

function FrmCheckGobuy()
{
  var thisForm = document.iGobuy;
  var alertStr = check_null( thisForm.G_MinPrice.value, "最低購屋預算");
      alertStr += check_num( thisForm.G_MinPrice.value, "最低購屋預算");	  	  
      alertStr += check_null( thisForm.G_MaxPrice.value, "最高購屋預算");
      alertStr += check_num( thisForm.G_MaxPrice.value, "最高購屋預算");
      alertStr += check_null( thisForm.G_MinSell.value, "最低需求坪數");
      alertStr += check_num( thisForm.G_MinSell.value, "最低需求坪數");
      alertStr += check_null( thisForm.G_MaxSell.value, "最高需求坪數");
      alertStr += check_num( thisForm.G_MaxSell.value, "最高需求坪數");	  	 
      alertStr += check_null( thisForm.G_MinRoom.value, "最低需求房間數");
      alertStr += check_num( thisForm.G_MinRoom.value, "最低需求房間數");
      alertStr += check_null( thisForm.G_MaxRoom.value, "最高需求房間數");
      alertStr += check_num( thisForm.G_MaxRoom.value, "最高需求房間數");	  	   
      alertStr += check_radio( thisForm.G_Stall, "車位需求");	 	  
      alertStr += check_null( thisForm.G_Name.value, "真實姓名");	  
      alertStr += check_null( thisForm.G_Tel.value, "聯絡電話");	
      alertStr += check_null( thisForm.G_Email.value, "電子信箱");		    	  	   
      alertStr += check_useremail( thisForm.G_Email.value, "電子信箱");  		   
      alertStr += check_radio( thisForm.G_HouseState, "看屋狀況");
      alertStr += check_price( thisForm.G_HouseState, thisForm.G_SellPrice.value);
	  
  if( alertStr != '' ) {
    alert( alertStr );
	return ;
}
thisForm.submit()
}

function check_price ( radio, column)
{

  if( radio[0].checked == true)
    {

     var error = false;
     if( column.length <= 0 )
       return "您選擇了已前往現場看屋，每坪開價欄位不可空白 !\n";
    for( idx = 0 ; idx < column.length ; idx++ )
	   {
         if( !( ( column.charAt(idx)>= '0' && column.charAt(idx) <= '9' )) )
		   {
            error = true;
            break;
           }
	   }

    if( error == true )
      return "每坪開價只能是數字, 其他的符號都不能使用 !\n";
    }
return "";
}

//======================================================================================



function FrmDealAdd()
{
  var thisForm = document.DealForm;
  var alertStr = check_null( thisForm.B_BuildName.value, "成交個案名稱"); 
      alertStr += check_select( thisForm.Cno, "所在縣市"); 
      alertStr += check_select( thisForm.Ano, "所在區域"); 
      alertStr += check_null( thisForm.B_UserName.value, "屋主姓名"); 	  
      alertStr += check_null( thisForm.B_Date.value, "成交日期"); 	  	  
      alertStr += check_null( thisForm.B_Msg.value, "經驗分享");	  	  
					  
  if( alertStr != '' ) {
    alert( alertStr );
	return ;
}
thisForm.submit();
}


function FrmQnaAdd()
{
  var thisForm = document.QnaForm;
  var alertStr = check_null( thisForm.Q_Title.value, "發問主題"); 
      alertStr += check_select( thisForm.Q_Cno, "問題類型"); 	  
      alertStr += check_null( thisForm.Q_Msg.value, "發問內容");	  	  
					  
  if( alertStr != '' ) {
    alert( alertStr );
	return ;
}
thisForm.submit();
}


function FrmQnaRe()
{
  var thisForm = document.QnaForm;
  var alertStr = check_null( thisForm.Q_Msg.value, "回覆內容"); 
	  
					  
  if( alertStr != '' ) {
    alert( alertStr );
	return ;
}
thisForm.submit();
}



function FrmProjectAdd()
{
  var thisForm = document.ProjectForm;
  var alertStr = check_null( thisForm.B_Name.value, "聯絡姓名"); 
      alertStr += check_null( thisForm.B_Email.value, "電子信箱");		    	  	   
      alertStr += check_useremail( thisForm.B_Email.value, "電子信箱");    	  
      alertStr += check_null( thisForm.B_Tel.value, "聯絡電話");	  	  
      alertStr += check_null( thisForm.B_Count.value, "參加人數");
      alertStr += check_num( thisForm.B_Count.value, "參加人數");	 					  
  if( alertStr != '' ) {
    alert( alertStr );
	return ;
}
thisForm.submit();
}