


xmlhttpPost('/header.html','header')
function xmlhttpPost(strURL,strupdate) {
    var xmlHttpReq = false;
    var self = this;
    // Mozilla/Safari
    if (window.XMLHttpRequest) {
        self.xmlHttpReq = new XMLHttpRequest();
    }
    // IE
    else if (window.ActiveXObject) {
        self.xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
    }
    self.xmlHttpReq.open('GET', strURL, true);
    self.xmlHttpReq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
    self.xmlHttpReq.onreadystatechange = function() {
        if (self.xmlHttpReq.readyState == 4) {
            updatepage(self.xmlHttpReq.responseText,strupdate);			
        
		}
		
		
    }
    self.xmlHttpReq.send('');
}

function updatepage(str,strnewdata){
	document.getElementById(strnewdata).style.display='';
    document.getElementById(strnewdata).innerHTML = str+"";
xmlhttpPostp('/footer.html','footer')	
}
		
function xmlhttpPostp(strURL,strupdate) {

	document.getElementById('footer').innerHTML = 'process';
    var xmlHttpReq = false;
    var self = this;
    // Mozilla/Safari
    if (window.XMLHttpRequest) {
        self.xmlHttpReq = new XMLHttpRequest();
    }
    // IE
    else if (window.ActiveXObject) {
        self.xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
    }
    self.xmlHttpReq.open('GET', strURL, true);
    self.xmlHttpReq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
    self.xmlHttpReq.onreadystatechange = function() {
        if (self.xmlHttpReq.readyState == 4) {
            updatepagep(self.xmlHttpReq.responseText,strupdate);
        }
    }
    self.xmlHttpReq.send('');
}

function updatepagep(str,strnewdata){
	document.getElementById(strnewdata).style.display='';
    document.getElementById(strnewdata).innerHTML = str+"";
}		



