function loadXMLDoc(url) {
	// branch for native XMLHttpRequest object
		req = new XMLHttpRequest();
		req.onreadystatechange = processReqChange;
		req.open("GET", url, true);
		req.send(null);
}

function processReqChange() {
	// only if req shows "complete"
	if (this.readyState == 4) {
		// only if "OK"
		if (this.status == 200) {
			if(document.getElementById) {
	pan1 = document.getElementById("pane1");
    pan2 = document.getElementById("pane2");
	pan1.style.display = "none";
	pan2.style.display = "block";

				document.getElementById("pane2").innerHTML = this.responseText;
			}
		} else {
			alert("There was a problem connecting to the server:\n" + this.statusText);
		}
	}
}

