function getRndImage(images){
	nImages=arguments.length;
//	alert("images :"+nImages);
	rndImg=Math.floor(Math.random()*nImages);
//	alert("random: "+rndImg);
	img=arguments[rndImg];
//	alert("image: "+img);
	document.write("<img src='"+img+"' border='0' usemap='#oneMap'>");
	document.write("<map name='oneMap'><area shape='rect' coords='10,10,80,110' href='default.asp'></map>");
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
	window.open(theURL,winName,features);
}

function mmenu(mID) {
	var menu = document.getElementById(mID);
	var display = menu.style.display;
	menu.style.display = (display == "block") ? "none" : "block";
	menu.parentNode.style.listStyleImage = (display == "block") ? "url(cartellachiusa.gif)" : "url(cartellaaperta.gif)";
}

window.onload = function() {
	var uls = document.getElementsByTagName("ul");
	for (i=0;i<uls.length;i++) {
		if(uls[i].className=="submenu")uls[i].style.display = "none";
	}
}