if (document.images) {
	img0 = new Image
	img1 = new Image
	img2 = new Image
	img3 = new Image
	img4 = new Image
	img5 = new Image
	img6 = new Image
	img7 = new Image

	img0.src = "images/londonmap.gif"
	img1.src = "images/londonn.gif"
	img2.src = "images/londone.gif"
	img3.src = "images/londonse.gif"
	img4.src = "images/londonsw.gif"
	img5.src = "images/londonw.gif"
	img6.src = "images/londonnw.gif"
	img7.src = "images/londonc.gif"
}
function validForm(passForm) {			//checks for non blank name and email address
if (passForm.name.value == "") {
	alert("Please enter your name")
	passForm.name.focus()
	return false
}
if (passForm.email.value == "" ) {			  	
	alert("Please enter an email address")
	passForm.email.focus()
	return false
}
return true
}
//------------------------------------------used for sending an email to a co
function updateParent(whof) {			//updates opener with requesters name to use in thank you (emailform only)
window.opener.whofrom = whof.value
}
//--------------------------------------//called by sending an email to a co in main pages (emailform.html)
function glob(actual,theiremail) {
toname = actual;
toemail = theiremail;
NewWindow = window.open("emailform.html","newwin","width=450,height=400,scrollbars=yes,toolbar=no,menubar=no,location=no,resizeable=no,status=no,top=0,left=0")
whofrom = "Sir or Madam"
NewWindow.focus()
}
//-------------------------------------------------------------------------------------------------
function formfiller() {  //called by emailform.html only
document.emailform.toemail.value = window.opener.toemail	//form hidden fields toemail and toname updated from referrer link
document.emailform.toname.value = window.opener.toname
}

//name to thankyou on contact.html and register.html only
expireDate = new Date
expireDate.setDate(expireDate.getDate()+1)
function setIt() {
email = document.emailform.name.value
document.cookie = "email="+email+";expires="+expireDate.toGMTString()
}