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="BayView.jpg";
//hotelname="Bay View Guest House: St Helier";
//bodytext="Offer Starts 01 05 2007<br>Offer Ends 31 05 2007<br>Children free when sharing with 2 adults ";
//phone="44 (0) 1534 720950";
//fax=" ";
//email="bayview.guesthouse@jerseymail.co.uk";
//web="http://www.bayviewjersey.co.uk";
//searchtown="red";
//searchcounty="even";
//AddHotel(image,hotelname,bodytext,phone,fax,email,web,searchtown,searchcounty);
//End details block




//End of list block
