// ajax .................................................
function xmlhttpPost(strURL, strSubmit, strResultFunc) {
        var xmlHttpReq = false;
        // Mozilla/Safari
        if (window.XMLHttpRequest) {
                xmlHttpReq = new XMLHttpRequest();
                xmlHttpReq.overrideMimeType('text/xml');
        }
        // IE
        else if (window.ActiveXObject) {
                xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
        }
  
xmlHttpReq.open('POST', strURL, true);
        xmlHttpReq.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
        xmlHttpReq.onreadystatechange = function() {
                if (xmlHttpReq.readyState == 4) {
                        eval(strResultFunc+'(xmlHttpReq.responseText)');
                }
        }
        xmlHttpReq.send(strSubmit);
}

