var xmlhttp = createXMLHttp();



sendData ="mode=submit";
url = "php_script/blog_rss.php";
xmlhttp.open("POST", url, true);
xmlhttp.setRequestHeader('Content-Type','application/x-www-form-urlencoded;');
xmlhttp.send(sendData);


function createXMLHttp(){
    var xmlhttp;
    try {
        xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
    } catch (e) {
        xmlhttp = new XMLHttpRequest();
    }
    return xmlhttp;
}