function clientSideInclude(id, url) {
	var req = false;
	// For Safari, Firefox, and other non-MS browsers
	if (window.XMLHttpRequest) {
		try {
			req = new XMLHttpRequest();
		} catch (e) {
			req = false;
		}
	} else {
		//For IE-7
		if (window.ActiveXObject) {
			// For Internet Explorer on Windows
			try {
				req = new ActiveXObject("Msxml2.XMLHTTP");
			} catch (e) {
				try {
					req = new ActiveXObject("Microsoft.XMLHTTP");
				} catch (e) {
					req = false;
				}
			}
		}
	}
	if (req) {
		// Synchronous request, wait till we have it all
		req.open('GET', url, false);
		req.send(null);
		return req.responseText;
	} else {
		return "Sorry, your browser does not support " +
		"XMLHTTPRequest objects. This page requires " +
		"Internet Explorer 5 or better for Windows, " +
		"or Firefox for any system, or Safari. Other " +
		"compatible browsers may also exist.";
	}
}

function displayMsg(message) {
	window.status=message
}

function swap(id, newsrc) {
	var theImage = locateImage(id);
	if (theImage) {
		theImage.src = newsrc;
	}
}

function locateImage(name) {
	var theImage = false;
	if (document.images) {
		theImage = document.images[name];
	}
	if (theImage) {
		return theImage;
	}
	return (false);
}
