var hotelslist = new Array();


function AddHotel(image,hotelname,bodytext,phone,fax,email,web,searchtown){
	var temp=new Item(image,hotelname,bodytext,phone,fax,email,web,searchtown,searchcounty);
	count=hotelslist.length;
	hotelslist[count]=temp;
}

//Primitive for AddHotel
function Item(i,h,b,p,f,e,w,t,c) {
	this.image = i;
	this.hotelname = h;
	this.bodytext = b;
	this.phone = p;
	this.fax = f;
	this.email = e;
	this.web = w;
	this.searchtown = t;
	this.searchcounty = c
	this.done = "false";
}
	
	
//IMPORTANT If you want to include quotes or apostrophies in the text, 
//they MUST be preceded by a backslash to prevent java executing them.
//e.g.  \" or \' like this - \'E\" to get 'E".
//IMPORTANT DO NOT USE Line Wrap In DreamWeaver

//Build the list - this is the database area. It's a bit long winded, but easy to add or
// remove entries without renumbering everything.


//Hotel details block - repeat entire block as required
//image="greenview.jpg";
//hotelname="Green View Lodges: Carlisle";
//bodytext="Start Date 1st May 2009<br>End Date 4th May 2009<br>May bank holiday weekend Friday - //Monday , 2 bedroom lodge sleeping 4 £235 or 3 bedroom lodge sleeping 6 £290 discount applies if //guests provide own linen.";
//phone="016974-762301";
//fax=" ";
//email="info@green-view-lodges.com";
//web="http://www.green-view-lodges.com";
//searchtown="red";
//searchcounty="even";
//AddHotel(image,hotelname,bodytext,phone,fax,email,web,searchtown,searchcounty);
//End details block

//Hotel details block - repeat entire block as required
image="AdamPlace.jpg";
hotelname="Adam Place Guest House: Windermere";
bodytext="Start Date 1st May 2009<br>End Date 30th November 2009<br>3 nights for £84 p.p.<br>4 nights for £110 p.p.<br>5 nights for £130 p.p.<br> offer based on 2 adults booking and does not include bank holidays.";
phone="015394 44600";
fax=" ";
email="adamplacewindermere@yahoo.co.uk";
web="http://www.adam-place.co.uk";
searchtown="red";
searchcounty="even";
AddHotel(image,hotelname,bodytext,phone,fax,email,web,searchtown,searchcounty);
//End details block


//End of list block
