<!-- Hide

	function isEmpty(inputStr) {
	  if (inputStr == "" || inputStr == null) {
		return true
	  }
	  return false
	}
	function isEmailAddr(e_mail){
		var result = false;
		var theStr = new String(e_mail);
		var index = theStr.indexOf("@");
		if (index > 0){
			var pindex = theStr.indexOf(".",index);
				if ((pindex > index+1) && (theStr.length > pindex+1))
					result = true;
			}
		return result;

	}
	function alert_select(campo, name){
		if (name == "Email"){
		alert("Please enter an E-mail valid")
		form.email.focus()
		form.email.select()
		}else{
		alert("Please enter your " + name)
		campo.focus()
		campo.select()
		}
	}
	function ValidaDatos(form){

		if (isEmpty(form.name.value)){
		  alert_select(form.name,"Name")
		  return false
		 }
		if (isEmpty(form.typeofbusi.value)){
		  alert_select(form.typeofbusi,"Type of Business")
		  return false
		 }
		if (isEmpty(form.company.value)){
		  alert_select(form.company,"Company")
		  return false
		 }
		if (isEmpty(form.address.value)){
		  alert_select(form.address,"Address")
		  return false
		 }
		if (isEmpty(form.city.value)){
		  alert_select(form.city,"City")
		  return false
		 }
		if (isEmpty(form.zipcode.value)){
		  alert_select(form.zipcode,"Zip Code")
		  return false
		 }
		if (isEmpty(form.phone.value)){
		  alert_select(form.phone,"Phone Number")
		  return false
		 }
		if (isEmpty(form.email.value) || !isEmailAddr(form.email.value)){
		  alert_select(form.email.value,"Email")
		  return false
		 }

	}
// -->