Попробуйте так:
function openWin(text) {
myWin= open("", "displayWindow", "width=500,height=400,status=no,toolbar=no,menubar=no");
myWin.document.open();
myWin.document.write(text);
myWin.document.close();
}
function LoadWin(link) {
var oReq = (function () {
if (typeof XMLHttpRequest === 'undefined') {
XMLHttpRequest = function() {
try { return new ActiveXObject("Msxml2.XMLHTTP.6.0"); } catch(e) {}
try { return new ActiveXObject("Msxml2.XMLHTTP.3.0"); } catch(e) {}
try { return new ActiveXObject("Msxml2.XMLHTTP"); } catch(e) {}
try { return new ActiveXObject("Microsoft.XMLHTTP"); } catch(e) {}
throw new Error("This browser does not support XMLHttpRequest.");
};
} return new XMLHttpRequest();
}());
if (oReq != null) {
oReq.open("GET", link, true);
oReq.onreadystatechange = function () {
if (oReq.readyState == 4) {
if (oReq.status == 200) {
openWin(oReq.responseText);
}
}
};
oReq.send();
} else { window.alert("AJAX (XMLHTTP) not supported."); }
}