function getHTTPObject() { var xmlhttp; if(window.XMLHttpRequest) { xmlhttp = new XMLHttpRequest(); } else if (window.ActiveXObject) { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); if (!xmlhttp) { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); } } return xmlhttp; } var ajax = getHTTPObject(); var currentUrl = ""; var targetdiv = ""; function changePage(url, target) { ajax.abort(); ajax = getHTTPObject(); targetdiv = target; ajax.open("GET", url, true); ajax.onreadystatechange = updatePage; // Send the request ajax.send(null); } function updatePage() { if (ajax.readyState == 4) { var response = ajax.responseText; document.getElementById(targetdiv).innerHTML = response; var script = /
([\s\S]*?)<\/div>/ig; var match; while (match = script.exec(response)) { if(match) { //alert(match[1]); // AS Addition of looking for SymError - Gets around Norton IS issue if(match[1].indexOf("([\s\S]*?)<\/script>/ig; var match; while (match = script.exec(response)) { if(match) { //alert(match[1]); if(match[1].indexOf("