I am doing an XMLHTTP request in IE8. The eval() command didn't work there so I went with execScript, and it is getting to execScript with the code inside the variable, (I checked this with alert statements) but then it just skips over it.

function processStateChange(){
if (req.readyState == 4) {
str = req.responseText + "ProcessInfoNext();";
if (window.execScript) {
execScript(str, "JavaScript");
} else {
if (window.eval) {
eval(str);
}
}
}
}