

function xmlhttpPost(strURL,divID) {
	document.getElementById(divID).innerHTML='<center><img src=\'/images/62.gif\'><br>Searching...</center>';
    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 == 4) {
            updatepage(divID,self.xmlHttpReq.responseText);
        }
    }
    self.xmlHttpReq.send(strURL);
}

function xmlhttpSearchBySS(strURL) {
    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 == 4) {
            eval(self.xmlHttpReq.responseText);
        }
    }
    self.xmlHttpReq.send(strURL);
}


function xmlhttpGet(strURL,divID) {
	document.getElementById(divID).innerHTML='<center><img src=\'/images/62.gif\'><br>Searching...</center>';
    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('GET', strURL, true);
    self.xmlHttpReq2.onreadystatechange = function() {
        if (self.xmlHttpReq2.readyState == 4) {
            updatepage(divID,self.xmlHttpReq2.responseText);
        }
    }
    self.xmlHttpReq2.send(strURL);
}
function xmlhttpGetSmall(strURL,divID) {
	document.getElementById(divID).innerHTML='<center><img src=\'/images/62\(2\).gif\'><br>Searching...</center>';
    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('GET', strURL, true);
    self.xmlHttpReq2.onreadystatechange = function() {
        if (self.xmlHttpReq2.readyState == 4) {
            updatepage(divID,self.xmlHttpReq2.responseText);
        }
    }
    self.xmlHttpReq2.send(strURL);
}



function updatepage(divID,str){
    document.getElementById(divID).innerHTML = str;
}
