// Absolute News Manager .NET V5.0 // Zone Grabber function getxlaANMHTTPObject() { var xmlhttp; /*@cc_on @if (@_jscript_version >= 5) try { xmlhttp = new ActiveXObject("Msxml2.ServerXMLHTTP"); } catch (e) { try { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } catch (E) { xmlhttp = false; } } @else xmlhttp = false; @end @*/ if (!xmlhttp && typeof XMLHttpRequest != 'undefined') { try { xmlhttp = new XMLHttpRequest(); } catch (e) { xmlhttp = false; } } return xmlhttp; } function xlaanm(url){ url = url + '&xlaparsing=true'; var http = getxlaANMHTTPObject(); // We create the HTTP Object http.open("GET", url , true); http.onreadystatechange = function(){ if (http.readyState==4){ // Ok Loading contenty if (http.status==200) document.write(http.responseText); else { document.write("Problem retrieving data:" + http.statusText) } } } http.send(null); }