
try {
	var topVal = 50, leftVal = 50;
	topVal  = (screen.availHeight / 2);
	leftVal = (screen.availWidth / 2);
	window.status = "Welcome To The Ann Hammond Residential Lettings Website";

}catch(e) {
	
}

function ShowGoogleMap(googleAddress) {
	try {
		var a = window.open('http://maps.google.co.uk/maps?f=q&hl=en&geocode=&q='+googleAddress+'&ie=UTF8&z=15&iwloc=addr&om=0', 'ahGooglePopUp', 'width=800,height=650,top='+(topVal-400)+',left='+(leftVal-400)+',resizable,scrollbars,toolbar');
	}catch(e) {
		return;
	}
	a.focus();
}



function ShowPrivacy(pathToCommon) {
	try {
		var a = window.open(pathToCommon+'docs/privacy.php', 'ahPrivacyPopUp', 'width=500,height=500,top='+(topVal-280)+',left='+(leftVal-250)+',resizable,scrollbars,toolbar');
	}catch(e) {
		return;
	}
	a.focus();
}


function ShowW3CValid(pathToCommon) {
	try {
		var a = window.open(pathToCommon+'docs/sitevalidity.php', 'ahW3CPopUp', 'width=700,height=550,top='+(topVal-305)+',left='+(leftVal-350)+',resizable,scrollbars,toolbar');
	}catch(e) {
		return;
	}
	a.focus();
}


