function xmlhttpPost(strURL,vars,target) {
    
    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('POST', strURL, true);
    self.xmlHttpReq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
    self.xmlHttpReq.onreadystatechange = function() {        
        if (self.xmlHttpReq.readyState == 1) { 
        document.getElementById(target).innerHTML = '';	        
        }
        if (self.xmlHttpReq.readyState == 4) {               
            document.getElementById(target).innerHTML = self.xmlHttpReq.responseText;          	    
        }
    }
    self.xmlHttpReq.send(vars);
    
}

function xmlhttpPost2(strURL,vars,target) {
    var xmlHttpReq2 = false;
    var self = this;
    // Mozilla/Safari
    if (window.XMLHttpRequest) {
        self.xmlHttpReq2 = new XMLHttpRequest();
    }
    // IE
    else if (window.ActiveXObject) {
        self.xmlHttpReq2 = new ActiveXObject("Microsoft.XMLHTTP");
    }    
    self.xmlHttpReq2.open('POST', strURL, true);
    self.xmlHttpReq2.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
    self.xmlHttpReq2.onreadystatechange = function() {        
        if (self.xmlHttpReq2.readyState == 1) { 
        document.getElementById(target).innerHTML = '';	
        }
        if (self.xmlHttpReq2.readyState == 4) {            
            document.getElementById(target).innerHTML = self.xmlHttpReq2.responseText;
        }
    }
    self.xmlHttpReq2.send(vars);
}