tag.onload = function() { eval(scriptCode); }
document.getElementById(id).appendChild(tag);
}
function httpGetAsync(theUrl, elm)
{
var xmlHttp = new XMLHttpRequest();
xmlHttp.onreadystatechange = function() {
if (xmlHttp.readyState == 4 && xmlHttp.status == 200)
insertAndExecute(elm, xmlHttp.responseText);
}
xmlHttp.open("GET", theUrl, true); // true for asynchronous
xmlHttp.send(null);
}