// this stuff is currently working only on IE - Hugo // here we define global variable var ajaxdestination=""; function getdata(what,where) { // get data from source (what) try { //if IE (6)... xmlhttp = window.XMLHttpRequest ? new XMLHttpRequest(): new ActiveXObject("Microsoft.XMLHTTP"); //if IE 7 //if Mozila... //if Safari... } catch (e) { /* NOT IE, change this logic ASAP */ } document.getElementById(where).innerHTML ="
';
var elements = xmlhttp.responseText.split("|");
var text = "";
// trim
for (i=0; i