function valid()
{

	if(document.form.name.value=="")
	{
		document.form.name.focus();
		alert("Please enter your name.")
		return false;
	}
	if(document.form.email.value=="")
	{
		document.form.email.focus();
		alert("Please enter your email address so we may contact you.");
		return false;			
	}
	
	g=document.form.Status.selectedIndex;
	if (document.form.Status.options[g].value==" ")
	{
	document.form.Status.focus();
		alert("Please select a status from the popup.")
		return false;
	}
	
	if(document.form.Major.value=="")
	{
		document.form.Major.focus();
		alert("Please enter your major.");
		return false;			
	}
	if(document.form.Minor.value=="")
	{
		document.form.Minor.focus();
		alert("Please enter your minor.");
		return false;			
	}
	
	y=document.form.Relating_to.selectedIndex;
	if (document.form.Relating_to.options[y].value==" ")
	{
	document.form.Relating_to.focus();
		alert("Please select what your question is related to from the popup.")
		return false;
	}
	if (document.form.Relating_to.options[y].value=="Other"&&document.form.Other_relating.value=="")
	{
	document.form.Other_relating.focus();
		alert("Please indicate what the other relating category should be.")
		return false;
	}
	
	if(document.form.Question.value=="")
	{
		document.form.Question.focus();
		alert("Please enter your question.")
		return false;
	}


}
function validPeer()
{

	if(document.form.name.value=="")
	{
		document.form.name.focus();
		alert("Please enter your name.")
		return false;
	}
	if(document.form.email.value=="")
	{
		document.form.email.focus();
		alert("Please enter your email address so we may contact you.");
		return false;			
	}
	
	g=document.form.Status.selectedIndex;
	if (document.form.Status.options[g].value==" ")
	{
	document.form.Status.focus();
		alert("Please select a status from the popup.")
		return false;
	}
	
	
	if(document.form.Major.value=="")
	{
		document.form.Major.focus();
		alert("Please enter your major.");
		return false;			
	}
	if(document.form.Minor.value=="")
	{
		document.form.Minor.focus();
		alert("Please enter your minor.");
		return false;			
	}
	
	y=document.form.Regarding.selectedIndex;
	if (document.form.Regarding.options[y].value==" ")
	{
	document.form.Regarding.focus();
		alert("Please select what your question is regards from the popup.")
		return false;
	}
	
	if (document.form.Regarding.options[y].value=="Other"&&document.form.Other_information.value=="")
	{
	document.form.Other_information.focus();
		alert("Please indicate what the other category should be.")
		return false;
	}
	if(document.form.Question.value=="")
	{
		document.form.Question.focus();
		alert("Please enter your question.")
		return false;
	}


}
