function verify(form)
{
	//for below, im checking to see if a value has been entered in the textboxes 
	//and radio buttons, and checkboxes...if not then an alert will come up
	//and where the mistake is, it will set focus onto it
	//each if statement contains a return at the end of poping up an alert box
	//the return will make the program exit out of the function
	
	var Fname = window.document.contact.name.value
	if (Fname=="")
	{
		alert("Please enter your name.")
                window.document.contact.name.focus()
		return false
	}
		if (Fname=="* Name:")
	{
		alert("Please enter your name.")
                window.document.contact.name.focus()
		return false
	}
	
	var emailaddress = window.document.contact.email.value
	if (emailaddress=="")
	{
		alert("Please enter your email address.")
                window.document.contact.email.focus()
				window.document.contact.email.select()
		return false
	}
	
		if (emailaddress=="*E-mail:")
	{
		alert("Please enter your email address.")
                window.document.contact.email.focus()
				window.document.contact.email.select()
		return false
	}
	
	//here im checking to see if an @ and . is contained in the entered email address
	if ((window.document.contact.email.value.indexOf("@")==-1)||(window.document.contact.email.value.indexOf(".")==-1))
	{
		alert("Please enter a valid email address.")
		window.document.contact.email.focus()
		window.document.contact.email.select()
        return false
	}

	else
	{
		return true
              	}

}
