function changeFonts() {

	// This sorts the headings out
	fontTags = document.body.getElementsByTagName("FONT");
	for (i = 0; i < fontTags.length; i++) {
		if (fontTags[i].size == "3" && fontTags[i].innerHTML != "Try the following to improve your search" && fontTags[i].innerHTML != "Reduce your choice of facilities" && fontTags[i].innerHTML != "Choose a different date" && fontTags[i].innerHTML != "Reduce your choice of location") {
			fontTags[i].style.fontSize = "20px";
			fontTags[i].style.fontFamily = "Trebuchet MS";
		}
		
		if (fontTags[i].innerHTML == " Set your search to the week start day") {
			fontTags[i].parentNode.style.color = '#ffffff';
		}
		
		if (fontTags[i].innerHTML == "Events" && fontTags[i].size == "2") {
			fontTags[i].style.fontSize = "20px";
			fontTags[i].style.fontFamily = "Trebuchet MS";
			fontTags[i].style.color = "#003399";
		}

// Something like this...
//		if (regExp.match "Browsing [0-9]? properties."
//		insert before tag - <h1>Accommodation</h1>

	}

/*	
	if (window.location == "http://www.roomcheck.co.uk/scripts/ea_browse.asp?dc=CU&wc=CU-CC&GroupId=2") {
		for (i = 0; i < fontTags.length; i++) {
		sHTML = fontTags[i].innerHTML;
			if (sHTML == "Browsing 1 attraction") {
				fontTags[i].insertAdjacentHTML('beforeBegin', '<h1>Attractions</h1>');
			}
		}
	} */
	
	// This makes the tables stretch to 100%
	tableTags = document.body.getElementsByTagName("TABLE");
	for (i = 0; i < tableTags.length; i++) {
		if (tableTags[i].width == "613") {
			tableTags[i].width = "100%";
		}
		
		if (tableTags[i].width == "380") {
			tableTags[i].width = "100%";
		}
	}
	
	tdTags = document.body.getElementsByTagName("td");
	for (i = 0; i < tdTags.length; i++) {
		if (tdTags[i].width == "380") {
			tdTags[i].width = "50%";
		}
	}
	
	// Push the pic over to the far right
	imageTags = document.body.getElementsByTagName("img");
	for (i = 0; i < imageTags.length; i++) {
		if (imageTags[i].src.match("/propertypics/")) {
			imageTags[i].parentNode.parentNode.parentNode.parentNode.align = "right";
		}
	}
	
	imageTags = document.body.getElementsByTagName("img");
	for (i = 0; i < imageTags.length; i++) {
//	document.write(imageTags[i].src);
		if (imageTags[i].src == "http://www.roomcheck.co.uk/CU-CC/img/general/key.GIF") {	
			imageTags[i].insertAdjacentHTML('afterEnd', "<br />");
		}
		
		if (imageTags[i].src == "http://www.roomcheck.co.uk/CU-CC/img/general/website.GIF") {	
			//imageTags[i].insertAdjacentHTML('beforeBegin', "<br />");
			imageTags[i].vspace = "5";
		}
		
		if (imageTags[i].src == "http://www.roomcheck.co.uk/CU-CC/img/general/email.GIF") {	
			//imageTags[i].insertAdjacentHTML('beforeBegin', "<br />");
			imageTags[i].vspace = "5";
		}
		
		if (imageTags[i].src == "http://www.roomcheck.co.uk/CU-CC/img/general/viewmap.gif") {	
			imageTags[i].insertAdjacentHTML('beforeBegin', "<br />");
		}
		
		if (imageTags[i].src == "http://www.roomcheck.co.uk/CU-CC/img/general/arrowprev.GIF") {	
			imageTags[i].insertAdjacentHTML('afterEnd', "&nbsp;");
			imageTags[i].style.cursor = 'hand';
		}
		
	}
	
	// Get rid of #availability at the end of the links
	aTags = document.body.getElementsByTagName("a");
	for (i = 0; i < aTags.length; i++) {
		hrefLength = aTags[i].href.length;
		availLength = "#Availability".length;
		availStartPos = aTags[i].href.length - "#Availability".length;

		if (aTags[i].href.substring(availStartPos, hrefLength) == "#Availability") {
			//alert("hjsdf");
			aTags[i].href = aTags[i].href.substring(0, availStartPos);
		}
	}
	
	// Change alt tags
	document.all.btn02.alt = 'Where to stay';
	document.all.btn03.alt = 'What to see and do';
	document.all.btn04.alt = 'Shopping & Leisure';
	document.all.btn05.alt = 'About Carlisle';
	document.all.btn06.alt = 'Conferences';
	document.all.btn07.alt = 'Events';
	
	
	// Change h2 style on accommodation browse page
	h2Tags = document.body.getElementsByTagName("h2");
	for (i = 0; i < h2Tags.length; i++) {
	//	h2Tags[i].style.fontSize = '12px';
	}
	

}