function createAJAX() {
	var xmlhttp = false;

	try {
		// All browsers except MS
		xmlhttp = new XMLHttpRequest();
	} catch (trymicrosoft) {
		try {
			// Part of MS
 			xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
	 	} catch (othermicrosoft) {
			 try {
			 	// The other part of MS
			 	xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
	 		} catch (failed) {
			 	xmlhttp = false;
	 		}
 		}
	}

	if (! xmlhttp ) {
		// very old browser!
		alert("Unable to load XMLHTTP!\nPlease upgrade your browser.");
	} else {
		return xmlhttp;
	}
}

function xmlhttpChange() {
	var elem = document.getElementById(element_id);
	if ( xmlhttp.readyState == 4 ) {
		if ( xmlhttp.status == 200 ) {
 			elem.innerHTML = xmlhttp.responseText;
//			document.getElementById('loadDiv').style.visibility = 'hidden';
			externalLinks();
		}
  	}
}
