<!--  
function CheckForm()
{
	if(document.form.name.value=="")
	{
		alert("請填寫您的大名！");
		document.form.name.focus();
		return false;
	}
	if(Flag==0){
		alert("請選擇您的性別！");
		return false;
	}
	if(document.form.code.value=="")
	{
		alert("請填寫您的電話區碼！");
		document.form.code.focus();
		return false;
	}
	if(document.form.tel.value=="")
	{
		alert("請填寫您的聯絡電話！");
		document.form.tel.focus();
		return false;
	}
	if(document.form.mobile.value=="")
	{
		alert("請填寫您的手機號碼！");
		document.form.mobile.focus();
		return false;
	}
	if(document.form.email.value=="")
	{
		alert("請填寫您的E-mail！");
		document.form.email.focus();
		return false;
	}
	if(document.form.email.value!=="")
	{

		if(!checkmail(document.form.email))
			{
			document.form.email.focus();
			return false;
			} 
			
			function checkmail(myEmail) {
			if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(myEmail.value)){
			return (true)
			}
			alert("抱歉，您的E-mail格式不正確！")
			return (false)
			}
	}
	if(document.form.comment.value=="")
	{
		alert("請填寫您的詢問內容！");
		document.form.comment.focus();
		return false;
	}
}
//-->
