function byId(id){return (document.getElementById(id));};

function doAjax(query){
    var http=false;
    try {http=new XMLHttpRequest();} catch (e1){
    try {http=new ActiveXObject("Msxml2.xmlhttp");} catch (e2){
    try {http=new ActiveXObject("Microsoft.xmlhttp");} catch (e3){http=false;}}}
    http.onreadystatechange=function(){if(http.readyState==4){ /*alert(http.responseText);*/ eval(http.responseText);}};
    http.open("POST",query,true);
    http.send(null);
};

