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
	}
	
	var Cname = window.document.contact.Company.value
	if (Cname=="")
	{
		alert("Please enter the name of your company.")
                window.document.contact.Company.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
	}
	
	//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
	}
	
	var title = window.document.contact.Link_title.value
	if (title=="")
	{
		alert("Please enter the title for your link.")
                window.document.contact.Link_title.focus()
		return false
	}	
	
		var description = window.document.contact.Link_description.value
	if (description=="")
	{
		alert("Please enter the description for your link.")
                window.document.contact.Link_description.focus()
		return false
	}
	
			var url = window.document.contact.Link_url.value
	if (url=="")
	{
		alert("Please enter the url for your link.")
                window.document.contact.Link_url.focus()
		return false
	}
	
	
	else
	{
		return true
              	}

}
