function chk_contact_us(theForm){
	
	tf = 'true';
	message = 'Please fill the information below\n';
	var firstname = theForm.firstname.value;
	var lastname = theForm.lastname.value;
	var email = theForm.email.value;	
	
	if(firstname == ""){
	    message += '-- First name\n';
		tf = 'false';
	}
	if(lastname == ""){
		message += '-- Last name\n';
		tf = 'false';
	}
	
	if(email == ""){
		message += '-- Email\n';
		tf = 'false';
	}
	else{
			if((email.indexOf('@') == -1)||(email.indexOf('.') == -1)){
				tf = 'false';
				message += '---> \"email\" field is not correct\n';
			} 
	}
	
	
	if(tf == 'false'){
		alert(message);
		//theForm.firstname.value = maxofadults;
		//theForm.lastname.value = maxofchildren;
		if(firstname == ""){
			theForm.firstname.focus();
		}
		else if(lastname == ""){
			theForm.lastname.focus();
		}
		else if(email == ""){
			theForm.email.focus();
		}
		return false;
	}
	if(tf == 'true'){
		return true;
	}
	
}

