// JavaScript Document
function findaddress(pcode, sAddress)
{
	document.all.sSumit.src='../php/'+sAddress+'.php?postcode='+pcode+'&identifier=EnquiryPage';
}
function showHide(e)
{
	if(document.getElementById(e).style.display=="block")
	{
		document.getElementById(e).style.display = "none";
	}
	else
	{
		document.getElementById(e).style.display = "block";
	}
}
function checkPasswords()
{
	if(document.registerForm.password.value != document.registerForm.password2.value)
	{
		alert('Your passwords do not match. Please retype them');
		document.registerForm.password.value = "";
		document.registerForm.password2.value = "";
		document.registerForm.password.focus();
		
	}
}