function http_get_body(url)
{
    var xhr = new XMLHttpRequest();
    xhr.open("GET", url, false);
    xhr.send(null);
    return xhr.responseText;
}
// need synchronous get for static text file, whose contents we need for later calls
need synchronous get for static text file, whose contents we need for later calls
need synchronous get for static text file whose contents we need for later calls
function http_get_body(url)
{
    var xhr = new XMLHttpRequest();
    xhr.open("GET", url, false);
    xhr.send(null);
    return xhr.responseText;
}
function http_get_body ( url ) { var xhr = new XMLHttpRequest ( ) ; xhr . open ( "GET" , url , false ) ; xhr . send ( null ) ; return xhr . responseText ; }
need synchronous get for static text file, whose contents we need for later calls
need synchronous get for static text file whose contents we need for later calls