function apri(pagina) { window.open(pagina, '', 'width=x, height=y, scrollbars=1'); } Date.prototype.defaultLang = "it"; Date.prototype.printToday = function(lang,sf){ var week, months, month, sep, output; lang = (!lang||typeof lang!="string")?this.defaultLang:lang; if (lang=="eng"){ week = ["sunday","monday","tuesday'","wednesday","thursday","friday'","saturday"]; months = ["january","february","march","april","may","june","july","august","september","october","november","december"]; } if (lang=="it"){ week = ["Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"]; months = ["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]; } month = (!sf)? months[this.getMonth()]:(this.getMonth()+1); sep = (!sf)? " ":"-"; output = week[this.getDay()] + ", " + this.getDate() + sep + month + sep + this.getFullYear(); document.write(output); } var today = new Date(); /*Menu*/ function initMenu() { var li_ = document.getElementsByTagName('li'); for (var i=0;li = li_[i];i++) if(li.className && li.className=="more") { for (j=0; j