function xml(path) {

if (window.XMLHttpRequest)
  {
  xhttp=new XMLHttpRequest();
  }
else
  {
  xhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
xhttp.open("GET",path,false);
xhttp.send("");
return xhttp.responseXML;
}

function version() {
	document.getElementById("version").innerHTML=xml("/xml/sitedata.xml").getElementsByTagName("version")[0].childNodes[0].nodeValue;
}

