<!-- Code after this will be ignored by older browsers

var intSubmitCount = 0;

function SubmitOnce()
{
	if (intSubmitCount == 0)
	{
		intSubmitCount++;
		
		return true;
	}
	else 
	{
		return false;
	}
}

function validateForm(theform)
{
	var strFirstName = theform.firstname.value;
	var strLastName = theform.lastname.value;
	var strComments = theform.additional.value;
	var strErrorMsg = '';
	
	if ((!strFirstName) && (!strLastName))
	{
		strErrorMsg += '  - You have not entered your name\n';
	}
		
	if (!strComments)
	{
		strErrorMsg += '  - You have not entered your comments\n';
	}

	if (!strErrorMsg)
	{
		return SubmitOnce();
	}
	else
	{
		strErrorMsg = 'There were problems submitting your details:\n\n' + strErrorMsg;
		
		alert (strErrorMsg);
		
		return false;
	}
}

// Stop hiding the code here -->
