var isIE = false;
function _Date2data(date){var d="";switch(date.getDay()){case 0:d+="domenica, ";break;case 1:d+="luned&igrave;, ";break;case 2:d+="marted&igrave;, ";break;case 3:d+="mercoled&igrave;, ";break;case 4:d+="gioved&igrave;, ";break;case 5:d+="venerd&igrave;, ";break;case 6:d+="sabato, ";break;}d+=date.getDate();switch(date.getMonth()){case 0:d+=" gennaio ";break;case 1:d+=" febbraio ";break;case 2:d+=" marzo ";break;case 3:d+=" aprile ";break;case 4:d+=" maggio ";break;case 5:d+=" giugno ";break;case 6:d+=" luglio ";break;case 7:d+=" agosto ";break;case 8:d+=" settembre ";break;case 9:d+=" ottobre ";break;case 10:d+=" novembre ";break;case 11:d+=" dicembre ";break;}var a=date.getYear();if(a<1900)a+=1900;return d+" "+a;}
function apri(n){var w=open(n,"testo","dependent=yes,menubar=no,resizable=yes,scrollbars=yes,titlebar=no,toolbar=no");w.focus();return w;}
function inizioPagina(nomeImg,descImg,testo){
document.write("<!-- Gestisce il pulsante destro del mouse -->\n<!--[if IE]>\n<script type='text/javascript'> isIE = true; </script><div id='ie5_menu' onmouseover='highlight_ie5()' onmouseout='lowlight_ie5()' onclick='jump_to_ie5()'>\n<div class='striscia'>&nbsp; &nbsp; Menu</div>\n\
<div class='menu_item' url='index.html'>&nbsp; &nbsp; Home</div>\n<div class='menu_item' url='filosofia.html'>&nbsp; &nbsp; Filosofia</div>\n<div class='menu_item' url='informatica.html'>&nbsp; &nbsp; Informatica</div>\n<div class='menu_item' url='letteratura.html'>&nbsp; &nbsp; Letteratura</div>\n<div class='menu_item' url='matematica.html'>&nbsp; &nbsp; Matematica</div>\n<div class='menu_item' url='index-en.html'>&nbsp; &nbsp; English</div>\n</div>\n\
<![endif]-->\n<!-- fine gestione pulsante destro del mouse -->\n");
document.write("<p class='barra'> &nbsp; &nbsp; &nbsp; Indice: </p>");new menu(MENU_ITEMS,MENU_POS);document.write("<br /><div class='titolo'><img class='titolo_img' src='"+nomeImg+"' alt='"+descImg+"' /> <div class='titolo_text'>"+testo+"</div></div><br />");document.write("<div class='striscia'><b>Benvenuti!</b> Oggi &egrave; "+_Date2data(new Date())+" e state navigando con "+navigator.appName+" su una macchina "+navigator.platform+".</div><br />");
document.oncontextmenu=show_menu_ie5;if(document.all&&window.print)document.body.onclick=hide_menu_ie5;
}
function finePagina(){document.write("<br /><div class='striscia'>L'URL di questa pagina &egrave;: <a href='"+window.location.href+"'><font color='yellow'>"+window.location.href+"</font></a></div>");document.write("<div class='copyright'>&copy; 2004 by Paolo Caressa. NB: il contenuto di questa pagina pu&ograve; essere, in tutto o in parte, liberamente scaricato e riutilizzato <strong>per ogni fine non di lucro</strong>, e l'autore non si assume <strong>nessuna responsabilit&agrave;</strong>\
relativa all'utilizzo del materiale ivi contenuto. &Egrave; gesto di cortesia informare l'autore se questo contenuto &egrave; copiato o linkato. <br /> &copy; 2004 by Paolo Caressa. NOTICE: the contents of this page may be, in its entirety or in part, freely downloaded and reused <strong>for all nonprofit purposes</strong>, and the author does not accept <strong>any responsibility or liability</strong> about the usage of the contents of this page. As a courtesy, please notify the author if you copy or link to this material.</div>");document.writeln("<div class='striscia'>Ultima modifica: "+_Date2data(new Date(document.lastModified))+"</div>");}
function show_menu_ie5(){ie5_menu.style.left=document.body.scrollLeft+event.clientX;ie5_menu.style.top=document.body.scrollTop+event.clientY;ie5_menu.style.visibility="visible";return false;}
function hide_menu_ie5(){ie5_menu.style.visibility="hidden";}
function highlight_ie5(){if(event.srcElement.className=="menu_item"){event.srcElement.style.color="#000000";event.srcElement.style.backgroundColor="#5AA7E5";event.srcElement.style.border="0.1em solid #FFFFFF";event.srcElement.style.fontFamily="sans-serif";event.srcElement.style.fontSize="1em";event.srcElement.style.fontWeight="bold";event.srcElement.style.padding="0.1em";event.srcElement.style.textAlign="left";event.srcElement.style.textDecoration="none";window.status=event.srcElement.url;}}
function lowlight_ie5(){if(event.srcElement.className=="menu_item"){event.srcElement.style.backgroundColor="";event.srcElement.style.color="#000000";event.srcElement.style.bgColor="#CCDDEE";event.srcElement.style.border="0.1em solid #000000";event.srcElement.style.fontFamily="sans-serif";event.srcElement.style.fontSize="1em";event.srcElement.style.fontWeight="normal";event.srcElement.style.padding="0.1em";event.srcElement.style.textAlign="left";event.srcElement.style.textDecoration="none";window.status="";}}
function jump_to_ie5(){if(event.srcElement.className=="menu_item")window.location=event.srcElement.url;}
