// bjw 09/03/04
// ensures DPA declaration checkbox is ticked before form is submitted

function checkConsent(formName,checkName)
	{
		if(eval("document." + formName + "." + checkName + ".checked"))
			{
				return true;
			}
		else
			{
				alert("You must complete the 'Declaration of consent to process personal data'");
				return false;
			}		
	}
