<!--

function popComingSoon(){
var winl = (screen.width - 300) / 2;
var wint = (screen.height - 150) / 2;
var
n=open('popup_comingsoon.html','soon','width=300,height=150,scrollbars=no,resizable=no,menubar=no,status=no,left='+winl+',top='+wint+''); n.focus(); 
}

function popCredits(){
var winl = (screen.width - 300) / 2;
var wint = (screen.height - 230) / 2;
var
n=open('popup_credits.html','credits','width=300,height=230,scrollbars=no,resizable=no,menubar=no,status=no,left='+winl+',top='+wint+''); n.focus(); 
}

function VIL_ItaToEng(){
  myOldUrl = self.location.href;
  myNewUrl = myOldUrl.replace(/\/ita\//, "/eng/")
  self.location.href = myNewUrl;
}



var xmlDoc=null;

function getRegioni(xml) {

if (window.ActiveXObject) {// code for IE
	xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
} else if (document.implementation.createDocument) {// code for Mozilla, Firefox, Opera, etc.
	xmlDoc=document.implementation.createDocument("","",null);
} else {
	alert('Your browser cannot handle this script');
}


if (xmlDoc!=null) {
	xmlDoc.async=false;
	xmlDoc.load(xml);
	
	document.write("<table border='1'>");
	
	var x=xmlDoc.getElementsByTagName("regione");
	
	//document.write(x.length);
	
	for (i=0;i<x.length;i++) { 

		regione = x[i].getElementsByTagName("denominazione")[0].childNodes[0].nodeValue;

		document.write("<tr>");
		document.write("<td>");
		document.write("<a href=\"punti_vendita.asp?regione=" + regione + "\" class=\"giallo10b\" onFocus=\"this.blur()\">" + regione + "</a>");
		document.write();
		document.write("</td>");
	}
	document.write("</table>");
}


}



//-->

