// JavaScript Document
var isPost = false;
function check(objForm) {
	if  ( isPost ) {
		alert("You have press the SUBMIT button already");
		return false;
	} else if ( IsEmpty(objForm.name.value)) {
		Warning(objForm.name , "Please specify your Name");
		return false;
	} else if ( IsEmpty(objForm.lname.value)) {
		Warning(objForm.lname , "Please specify your Last Name");
		return false;
	} else if ( IsEmpty(objForm.email.value)) {
		Warning(objForm.email ,"Please specify your E-mail");
		return false;
	} else if ( ! IsEmail(objForm.email.value)) {
		Warning(objForm.email ,"Please specify your E-mail Address in the right format");
		return false;
	} else if ( objForm.property.value==0) {
		Warning(objForm.property , "Please select Property Type");
		return false;
	} else if ( IsEmpty(objForm.description.value)) {
		Warning(objForm.description , "Please specify your Description");
		return false;
	} else {
		isPost = true;
		objForm.btnSubmit.disabled = true;
		return true;
	}
}	