<!--
	 NS4 = (document.layers);
     IE4 = (document.all);
    ver4 = (NS4 || IE4);
	 IE5 = (IE4 && navigator.appVersion.indexOf("5.")!=-1);
   isMac = (navigator.appVersion.indexOf("Mac") != -1);
  isMenu = (NS4 || (IE4 && !isMac) || (IE5 && isMac));
function popUp(){return};
function popDown(){return};
if (!ver4) event=null;


//funzione per la data

today = new Date();

function DammiAA () {
	anno= String(today.getYear()) ;
    if (anno.length ==2) anno= "19" + annoK;
    if ((anno >= 100) && (anno < 2000)) anno = 2000 + (anno - 100);
	return anno
}
function DammiMM () {
	month = today.getMonth()
	if (month == 0)				month="gennaio"
	else if (month == 1) 		month="febbraio"
	else if (month == 2)		month="marzo"
	else if (month == 3)		month="aprile"
	else if (month == 4)		month="maggio"
	else if (month == 5)		month="giugno"
	else if (month == 6)		month="luglio"
    else if (month == 7)		month="agosto"
	else if (month == 8)		month="settembre"
	else if (month == 9)		month="ottobre"
	else if (month == 10)		month="novebre"		
	else if (month == 11)		month="dicembre"			
	return month
}
function DammiGG () {
today = new Date();
return weekday = today.getDate()
}

/* gestione del menu */
function mmenu(ID) {
var menu = document.getElementById(ID);
var display = menu.style.display;
menu.style.display = (display == "block") ? "none" : "block";
menu.parentNode.style.listStyleImage = (display == "block") ? "url(../image/cartellachiusa.gif)" : "url(../image/cartellaaperta.gif)";
}

/* inizializzazione del menu */
window.onload = function() {
var uls = document.getElementsByTagName("ul");
for (i=0;i<uls.length;i++) {
if(uls[i].getAttribute("class")=="submenu")uls[i].style.display = "none";
if(uls[i].getAttribute("id") && uls[i].getAttribute("id").search("submenu-")!= -1) uls[i].style.display = "none";
}
}

function openwin(page, param, option)
{
	if (param==null) {param=""}
	window.open(page, param, option);
}

//-->