var xmlhttp = false;
try {
  xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
  try {
    xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  } catch (e) {
  xmlhttp = false;
  }
}
if(!xmlhttp && typeof (XMLHttpRequest != 'undefined')) {
  xmlhttp = new XMLHttpRequest();
}
function getData(phpFile, objID) {
  var obj = document.getElementById(objID);
  xmlhttp.open("GET", phpFile);
  xmlhttp.onreadystatechange = function() {
    if(xmlhttp.readyState == 4 && xmlhttp.status == 200) {
      obj.innerHTML = '';
      obj.innerHTML = "&pound;" + xmlhttp.responseText;
    }
  }  
  xmlhttp.send(null);  
}
