//Check Inquiry form
function InquiryFormCheck(obj) {
	if (obj.company_name.value == "") {
		alert("Notice! The field of Company Name was still blank.!!");
		obj.company_name.focus();
		return false;   
	}
	if (obj.contact.value == "") {
		alert("Notice! The field of Contact Person was still blank.!!");
		obj.contact.focus();
		return false;   
	}
	if (obj.email.value == "") {
		alert("Notice! The field of Email was still blank.!!");
		obj.email.focus();
		return false;   
	} else {
		if (obj.email.value.indexOf("@") == -1 || obj.email.value.indexOf(".") == -1) {
			alert("Your e-mail are not in correct format.");
			obj.email.focus();
			return false;
		}
	}
	if (obj.tel.value == "") {
		alert("Notice! The field of Telephone was still blank.");
		obj.tel.focus();
		return false;   
	}
	if (obj.subject.value == "") {
		alert("Notice! The field of Inquiry Subject was still blank.");
		obj.subject.focus();
		return false;   
	}
	if (obj.content.value == "") {
		alert("Notice! The field of Inquiry Message was still blank.");
		obj.content.focus();
		return false;   
	}
	return true;
}