//Funzione per Orario

function mytime() 
{
	var x=new Date();
	h=x.getHours();
	m=x.getMinutes();
	if(m<=9) m="0"+m;
	if(h<=9) h="0"+h;
	time=h+"."+m+' h';
	if(document.getElementById)
		elemento = document.getElementById('ora');
		else
		elemento = document.all['ora'];
	elemento.innerHTML ="<strong>"+time+"</strong>";    
	setTimeout("mytime()",30000); 
}




startMenu = function() {
if (document.all&&document.getElementById) 
{
	cssmenu = document.getElementById("csstopmenu");
	for (i=0; i<cssmenu.childNodes.length; i++) 
	{
		node = cssmenu.childNodes[i];
		if (node.nodeName=="LI") 
		{
			node.onmouseover=function() 
			{
				this.className+=" over";
			}
			node.onmouseout=function()
			{                  
				this.className=this.className.replace(" over", "")
			}
		}
	}
}
}

if (window.attachEvent)
window.attachEvent("onload", startMenu)
else
window.onload=startMenu;

