function sendmessage() 
{
	if (contactus.fname.value == ""){ 
	 	alert ("Please fill in the information in the \"First name\" field." )
        contactus.fname.focus()        
		 return;}
	else if (contactus.lname.value == ""){ 
	 	alert ("Please fill in the information in the \"Last Name\" field." )
        contactus.lname.focus()        
		 return;}
	else if (contactus.email.value == ""){ 
	 	alert ("Please fill in the information in the \"Email\" field." )
        contactus.email.focus()        
		 return;}
	else if(!((contactus.email.value.indexOf(".") > 2) && (contactus.email.value.indexOf("@") > 0))){
	 	alert ("Please enter a valid email address in the \"Email\" field." )
        contactus.email.focus()        
		 return;}
	else if (contactus.phone.value == ""){ 
	 	alert ("Please fill in the information in the \"Phone\" field." )
        contactus.phone.focus()        
		 return;}
	else if (contactus.age.value == ""){ 
	 	alert ("Please fill in the information in the \"Age\" field." )
        contactus.age.focus()        
		 return;}
	else if (contactus.gender.value == ""){ 
	 	alert ("Please fill in the information in the \"Gender\" field." )
        contactus.gender.focus()        
		 return;}
	else if (contactus.street.value == ""){ 
	 	alert ("Please fill in the information in the \"Street address\" field." )
        contactus.street.focus()        
		 return;}
	else if (contactus.zip.value == ""){ 
	 	alert ("Please fill in the information in the \"Zip/Postal code\" field." )
        contactus.zip.focus()        
		 return;}
	else if (contactus.city.value == ""){ 
	 	alert ("Please fill in the information in the \"City\" field." )
        contactus.city.focus()        
		 return;}
	else if (contactus.country.value == ""){ 
	 	alert ("Please fill in the information in the \"Country\" field." )
        contactus.country.focus()        
		 return;}
	else if (contactus.comment.value == ""){ 
	 	alert ("Please fill in the information in the \"Your comments/ inquiries please\" field." )
        contactus.comment.focus()        
		 return;}
	else{
        document.contactus.submit();}
}

function numbersonly(myfield, e, dec)
{
var key;
var keychar;

if (window.event)
   key = window.event.keyCode;
else if (e)
   key = e.which;
else
   return true;
keychar = String.fromCharCode(key);

// control keys
if ((key==null) || (key==0) || (key==8) || 
    (key==9) || (key==13) || (key==27) )
   return true;

// numbers
else if ((("0123456789").indexOf(keychar) > -1))
   return true;

// decimal point jump
else if (dec && (keychar == "."))
   {
   myfield.form.elements[dec].focus();
   return false;
   }
else
   return false;
}
