NS=(document.layers)?1:0;
IE=(document.all)?1:0;


function setFocus() //sets the focus to the first object of the form
{
	document.getElementById("name").focus() // can be called by any form
}
	function isValid() {
		if (document.form.email.value == "" ) {
			alert("Please enter your email address.");
			document.form.address.focus();
			return false;
		}
		if (document.form.zip.value == "" && document.form.country.value == "") {
			alert("Please enter your Zip Code (for U.S.) and/or your Country.");
			document.form.zip.focus();
			return false;
		}
		return true;
	}

function ValidateComment(){
		if (document.form.name.value != ""){
			
			if (document.form.email.value != ""){
				
					
					if (document.form.comments.value != ""){
						
						return true;
					
					}
					alert("Please enter a message to send to us.");
					return false;
		
		
			}
			alert("Please enter your email address so we can respond to your comment.");
			return false;
			
		}
		alert("Please enter you name.");
		return false;
}

