luni_eng = new Array("","January","February","March","April","May","June","July","August","September","Octomber","November","December");
var timeStr, dateStr;

function clock() {
        now= new Date();

        hours= now.getHours();
        minutes= now.getMinutes();
        seconds= now.getSeconds();
        timeStr= "" + hours + ((minutes < 10) ? ":0" : ":") + minutes + ((seconds < 10) ? ":0" : ":") + seconds + "&nbsp;";
        document.all.ora_curenta.innerHTML = timeStr;

        dat= now.getDate();
		month= luni_eng[now.getMonth()+1];
        year= now.getYear();
        dateStr=  ((dat < 10) ? "0" : "") + dat + "/" + "" + month + "/" + year + "&nbsp;";
        document.all.data_curenta.innerHTML = dateStr;

        Timer= setTimeout("clock()",1000);
}