function httpGet(url) {
	try {
	var httpcon = document.all ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest();
	if (httpcon) {
		httpcon.open('GET', url, false);
		httpcon.send(null);
		return httpcon.responseText;
	    } 
    	} catch (e) {
    		return ""
    	}
}
    	
function writeNav() {
    document.write(httpGet("nav.html"));
}

function writeHead() {
    document.write(httpGet("head.html"));
}

