function Validate_Form(theForm)
{
	var blnResult = true;

	for(i=0; i<theForm.length; i++)
	{
		if (theForm.elements[i].value == "")
		{
			alert("A required field has not been filled in");
			
			theForm.elements[i].focus();
			blnResult = false;
			break;
		}

	}

	return blnResult;
	

}



function Validate_Contact_Form(theForm)
{
	var blnResult = true;

	//Only validate the first 2 elements in the form
	for(i=0; i<2; i++)
	{
		if (theForm.elements[i].value == "")
		{
			alert("A required field has not been filled in");
			
			theForm.elements[i].focus();
			blnResult = false;
			break;
		}

	}

	return blnResult;
	

}

