function isSelect() {
	
	var validate = document.getElementById('validate');

	if(document.getElementById("fname").value == "") {
		alert("The First Name field can not be blank. Please fill in the field.");
		document.getElementById("fname").focus();
		return false;
	}
	if(document.getElementById("lname").value == "") {
		alert("The Last Name field can not be blank. Please fill in the field.");
		document.getElementById("lname").focus();
		return false;
	}
	
	if(document.getElementById("email").value == "") {
		alert("The Email field can not be blank. Please fill in the field.");
		document.getElementById("email").focus();
		return false;
	}
	if(document.getElementById("phone").value == "") {
		alert("The Phone field can not be blank. Please fill in the field.");
		document.getElementById("phone").focus();
		return false;
	}
	if(document.getElementById("body").value == "") {
		alert("The Enquiry field can not be blank. Please fill in the field.");
		document.getElementById("body").focus();
		return false;
	}
	
	if(validate.value == ""){
		alert("You must supply an  validate code!");
		validate.focus();
		return false;
	}
	
	if(VALstate == -1){
		alert("Error validate code!");
		return false;
	}
	
}
function ishidden(value) {
	if(value == "no"){
		document.getElementById("navistate").style.display = "block";
	}else{
		c = setTimeout(sele9 , 50);
	}
}

function sele9(){
	document.getElementById("navistate").style.display = "none";
}
function func_1(){
	clearTimeout(c);
}
