
 
 function checkForm() {
		var theForm=document.getElementById('enquiryForm');
		if(theForm.customerName.value=='name'||theForm.customerName.value.length<2){
			alert('Please input correct name.');
			return false;
		}
		if(theForm.customerEmail.value=='email'||theForm.customerEmail.value.length<2){
			alert('Please input correct email.');
			return false;
		}

		
		document.getElementById('enquireDiv').style.display='none'; 
		document.getElementById('thankDiv').style.display='block';
	     return true;
	}
