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