var xmlHttp;
function createXmlHttp() 
{
	if (window.XMLHttpRequest) 
	{
		xmlHttp = new XMLHttpRequest();
	} 
	else 
	{
		xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
	}
}

createXmlHttp();
xmlHttp.open("get","/head/headnew.html",false);
xmlHttp.send(null);
var headhtml = xmlHttp.responseText;
document.write(headhtml);
