function txtBlockOver(elem){
	/*elem.style.borderBottom = "solid 10px #003366"
	elem.children.tags('h2')[0].style.background = "#003366";
	elem.children.tags('h2')[0].style.color = "#FFF";*/
	elem.style.cursor = 'hand'
}

function txtBlockOut(elem){
	/*elem.style.borderBottom = "solid 10px #FFF"
	elem.children.tags('h2')[0].style.background = "#DDD";
	elem.children.tags('h2')[0].style.color = "#333";*/
}

function DivDoClick( oDIV, sUrl ){
	self.open( sUrl, "_self" );
}
function startClock(){
	var thetime=new Date();
	var nhours=thetime.getHours();
	var nmins=thetime.getMinutes();
	var nsecn=thetime.getSeconds();
	var nday=thetime.getDay();
	var nmonth=thetime.getMonth();
	var ntoday=thetime.getDate();
	var nyear=thetime.getYear();
	
	if (nmins<10){
		nmins="0"+nmins;
	}
	if (nsecn<10){
		nsecn="0"+nsecn;
	}
	if (nday==0)
		nday="Domenica";
	if (nday==1)
		nday="Lunedì";
	if (nday==2)
		nday="Martedì";
	if (nday==3)
		nday="Mercoledì";
	if (nday==4)
		nday="Giovedì";
	if (nday==5)
		nday="Venerdì";
	if (nday==6)
		nday="Sabato";

	if (nmonth==0)
		nmonth="Gennaio";
	if (nmonth==1)
		nmonth="Febbraio";
	if (nmonth==2)
		nmonth="Marzo";
	if (nmonth==3)
		nmonth="Aprile";
	if (nmonth==4)
		nmonth="Maggio";
	if (nmonth==5)
		nmonth="Giugno";
	if (nmonth==6)
		nmonth="Luglio";
	if (nmonth==7)
		nmonth="Agosto";
	if (nmonth==8)
		nmonth="Settembre";
	if (nmonth==9)
		nmonth="Ottobre";
	if (nmonth==10)
		nmonth="Novembre";
	if (nmonth==11)
		nmonth="Dicembre";

	if (nyear<=99)
		nyear= "19"+nyear;
	if ((nyear>99) && (nyear<2000))
		nyear+=1900;
		
	var elem = document.getElementById('headerClock')
	elem.innerHTML = nday+", "+ntoday+" "+nmonth+" "+nyear+"<br/>"+nhours+":"+nmins+":"+nsecn
	setTimeout('startClock()',1000);
}
