    function xmlhttpPost(strURL,div) {
        var xmlHttpReq = false;
        // Mozilla/Safari
        if (window.XMLHttpRequest) {
            xmlHttpReq = new XMLHttpRequest();
            if (xmlHttpReq.overrideMimeType) {
                xmlHttpReq.overrideMimeType('text/xml');
                // See note below about this line
            }
        // IE
        } else if (window.ActiveXObject) { // IE
            try {
                xmlHttpReq = new ActiveXObject("Msxml2.XMLHTTP");
        } catch (e) {
            try {
                xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
            } catch (e) {}
            }
        }
        if (!xmlHttpReq) {
            alert('ERROR AJAX:( Cannot create an XMLHTTP instance');
            return false;
        }
		
		if(strURL.indexOf("statusforCart.asp")>0)
		{
			document.getElementById(div).innerHTML = "<img src='img/loading.gif' border=0></td>";
		}
		else if(strURL.indexOf("StatusInList.asp")>0)
		{
			document.getElementById(div).innerHTML = "Status: <img src='img/loading.gif' border=0>";
		}
		else
		{
			
			document.getElementById(div).innerHTML = "<img src='img/loading.gif' border=0>";
		}
        xmlHttpReq.open('GET', strURL, true);
        xmlHttpReq.setRequestHeader('Content-Type', 
            'application/x-www-form-urlencoded');        
        xmlHttpReq.onreadystatechange = function() { 
            callBackFunction(xmlHttpReq,div); 
        };
        xmlHttpReq.send("");
    }
            
    function callBackFunction(http_request,div) {
        if (http_request.readyState == 4) {
            if (http_request.status == 200) {
                var responceString = http_request.responseText;
                //TODO implement your function e.g.
                document.getElementById(div).innerHTML = responceString;
            } else {
                //alert('ERROR: AJAX request status = ' + http_request.status);
            }
        }
    }

