function include_get(lyr, url) {

	var xmlHTTP;
	// branch for native XMLHttpRequest object
	if (window.XMLHttpRequest) {
		xmlHTTP = new XMLHttpRequest();
		// branch for IE/Windows ActiveX version
	} else if (window.ActiveXObject) {
		xmlHTTP = new ActiveXObject("Microsoft.XMLHTTP"); 
	}
	
	xmlHTTP.onreadystatechange = function() {
		if (xmlHTTP.readyState == 4) {
			// only if "OK"
			if (xmlHTTP.status == 200) {
				if (xmlHTTP.responseText.search('<!-- refresh -->') != -1) {
					document.write(xmlHTTP.responseText);
				} else {
					document.getElementById(lyr).innerHTML = xmlHTTP.responseText;
				}
			} else {
				alert("There was a problem retrieving the XML data:\n" + xmlHTTP.statusText);
			}
		}
	}
    xmlHTTP.open("GET", url, true);
    xmlHTTP.send(null);
}

function change_div(lyr, msg) {
	document.getElementById(lyr).innerHTML=msg;
}