one = new Image();
one.src='images/stit1b.gif';
two = new Image();
two.src='images/stit2b.gif';
three = new Image();
three.src='images/stit3b.gif';
four = new Image();
four.src='images/stit4b.gif';
five = new Image();
five.src='images/stit5b.gif';
six = new Image();
six.src='images/stit6b.gif';
seven = new Image();
seven.src='images/stit7b.gif';
eight = new Image();
eight.src='images/stit8b.gif';
nine = new Image();
nine.src='images/stit9b.gif';
ten = new Image();
ten.src='images/stit10b.gif';
twelve = new Image();
twelve.src='images/stit12b.gif';
thirteen = new Image();
thirteen.src='images/stit13b.gif';
fourteen = new Image();
fourteen.src='images/stit14b.gif';
fifteen = new Image();
fifteen.src='images/stit11b.gif';
	
function swap(name, source, message)
	{
		eval("document." + name + ".src = 'images/" + source + "';");	
		window.status = message; 
	}

function mailto(domain,user) 
	{ 
		document.location.href = "mailto:" + user + "@" + domain + "?subject=Ostrich%20Inn%20Website%20Enquiry";
	}

function pop(url,winheight,winwidth)
	{
		//Default sizes for window
		if (winheight==null) winheight='800';
		if (winwidth==null) winwidth='800';
		window.name="mainwin"
		wintype="prodwin"
		eval("window.open(url, wintype, 'toolbar=0,location=,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width="+winwidth+",height="+winheight+"')")
	}

function pop2(url,winheight,winwidth)
	{
		//Default sizes for window
		if (winheight==null) winheight='800';
		if (winwidth==null) winwidth='800';
		window.name="mainwin"
		wintype="prodwin"
		eval("window.open(url, wintype, 'toolbar=0,location=,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width="+winwidth+",height="+winheight+"')")
	}

function pop3(url,winheight,winwidth)
{
	//Centred popup window
	if (winheight==null) winheight='480';
	if (winwidth==null) winwidth='540';
	window.name="mainwin"
	wintype="prodwin"
	var left   = (screen.width  - winwidth)/2;
	var top    = (screen.height - winheight)/2;
	var params = 'width='+winwidth+', height='+winheight;
	params += ', top='+top+', left='+left;
	params += ', directories=no';
	params += ', location=no';
	params += ', menubar=no';
	params += ', resizable=no';
	params += ', scrollbars=no';
	params += ', status=no';
	params += ', toolbar=no';
	newwin=window.open(url, wintype, params);
}

function validate() {
	if (document.form1.Name.value.length < 4) { alert("You have missed out some information\nPlease enter your Full Name\n\nThank you for your interest"); return false; }
	if (document.form1.Telno.value.length < 6) { alert("You have missed out some information\nPlease enter your Telephone Number\n\nThank you for your interest"); return false; }
	if (document.form1.email.value.length < 6) { alert("You have missed out some information\nPlease enter your Email Address\n\nThank you for your interest"); return false; }
	}

