// Load XML
var xml;
// code for IE
if (window.ActiveXObject)
  {
  xml = new ActiveXObject("Microsoft.XMLDOM");
  xml.async = false;
  xml.load("Configurazione.xml");
  }
// code for Mozilla, Firefox, Opera, etc.
else if (document.implementation && document.implementation.createDocument){
  xml = document.implementation.createDocument("","",null);
  xml.load("Configurazione.xml");
  //xml.onload=getmessage;
  }

