<!-- Code after this will be ignored by older browsers

var dom = document.getElementById;
var ie = document.all;
var ns4 = document.layers;
var intSubmitCount = 0;

function SubmitOnce()
{
	if (intSubmitCount == 0)
	{
		intSubmitCount++;
		
		return true;
	}
	else 
	{
		return false;
	}
}

function validateForm(theform)
{
	var strEmail = theform.email.value;
	var strVerifyEmail = theform.verifyemail.value;
	var strAuthEmail = theform.authemail.value;
	var strFirstName = theform.firstname.value;
	var strLastName = theform.lastname.value;
	var strErrorMsg = '';
		
	if ((!strEmail) || (!strVerifyEmail) || (!strFirstName) || (!strLastName))
	{
		if (!strEmail)
		{
			strErrorMsg = strErrorMsg + '- You have not entered your email address.\n';
		}
		if (!strVerifyEmail)
		{
			strErrorMsg = strErrorMsg + '- You have not verified your email address.\n';
		}
		if (!strFirstName)
		{
			strErrorMsg = strErrorMsg + '- You have not entered your first name.\n';
		}
		if (!strLastName)
		{
			strErrorMsg = strErrorMsg + '- You have not entered your last name.\n';
		}
	}
		
	if ((strEmail) && (strVerifyEmail) && (strEmail != strVerifyEmail))
	{
		strErrorMsg = strErrorMsg + '- The email address and verify email values do not match.\n';
	}
			
	if (!strErrorMsg)
	{
		if ((strAuthEmail) && (strEmail) && (strAuthEmail!=strEmail))
		{
			userResponse = confirm("Your email address has changed - are you sure you want to use these details?\n\nPlease ensure the new email address entered is correct and accessible.");

			if (userResponse)
			{	
				return SubmitOnce();
			}
			else
			{
				return false;
			}
		}
		else
		{
			return SubmitOnce();
		}
	}
	else
	{
		alert ('Unable to submit your contribution details:\n\n' + strErrorMsg);
		
		return false;
	}
}

// Stop hiding the code here -->
