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="Belgrave.jpg";
hotelname="The Belgrave 21: Central Blackpool";
bodytext="Offer Starts 22nd May 2009<br>Offer Ends 5th November 2009<br>Monday to Friday - four night special bed and breakfast £80per person. Weekends £25 per person per night.";
phone="01253 346792";
fax=" ";
email="belgrave21@fsmail.net";
web="http://www.belgrave21.co.uk";
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="Canberra.jpg";
hotelname="Canberra Holiday Flats: Central Blackpool";
bodytext="Offer Starts 1st June 2009<br>Offer Ends 30th June 2009<br>20% reduction throughout June when mentioned with this ad. This means a standard family flat would be £200 for one week.";
phone="01253 624803";
fax=" ";
email="thecanberraflats@yahoo.com";
web="http://www.blackpoolholidayflat.net";
searchtown="red";
searchcounty="even";
AddHotel(image,hotelname,bodytext,phone,fax,email,web,searchtown,searchcounty);
//End details block



//End of list block