/* a note */
function bSave_New_click()
{
if (jsgetRefToElement("Centre").value.length==0)
	{
	window.alert("Please enter the name of the new sanctuary");
	return false;
	}

if (jsgetRefToElement("Centre").value.charAt(0)==" ")
	{
	window.alert("Please enter the name of the new sanctuary");
	return false;
	}

if (jsgetRefToElement("Added_Email").value.length!=0)
	{
	while (jsgetRefToElement("Added_Email").value.length!=0 && jsgetRefToElement("Added_Email").value.charAt(0)==" ")
		{
		jsgetRefToElement("Added_Email").value=jsgetRefToElement("Added_Email").value.substring(1,jsgetRefToElement("Added_Email").value.length);
		}
	if (jsgetRefToElement("Added_Email").value.length==0)
		{
		window.alert("Your email is not mandatory but if it is entered it has to be valid. If your email is the same as the sanctuary you are adding then it may be left blank");
		return false;
		}
	}
document.fNew_Sanctuary.submit();

}
function Email_Admin()
{
alert("Please address Emails to 'Admin_Email -at- animalsanctuaries.co.uk'")
}

function Show_Text(Id)
{
//jsgetRefToElement(Id).style.display="inline";
}
function Hide_Text(Id)
{
//jsgetRefToElement(Id).style.display="none";
}