//********************************************************************//
//*                            unico.js                              *//
//*     libreria javascript: stile, intestazione e piedipagina       *//
//*     revisione: 08/02/2004 - Francesca Grombone - CCE - IUN       *//
//*     versione ridotta e mirata per sito giurisprudenza            *//
//********************************************************************//

function Giorno(intDay) {     
	var DayArray = new Array("Domenica", "Lunedì", "Martedì", "Mercoledì", "Giovedì", "Venerdì","Sabato");
	return DayArray[intDay];
}

function Mese(intMonth) {
	var MonthArray = new Array("Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre");
	return MonthArray[intMonth];
}

function Anno(t) {
	NS4=(document.layers) ? true : false;	
	IE4=(document.all) ? true : false;	
	ver4 = (NS4 || IE4) ? true : false;	
	if (ver4 || (parseInt(navigator.appVersion)>=5)) 
	{   
		var YearStr = t.getFullYear();	
	}
	else var YearStr = t.getYear();
	return YearStr;
}

function ultimaModifica() {
	var ult = document.lastModified;
	var d = new Date(ult);
	var ds = Giorno(d.getDay()) + ", " + d.getDate() + " " + Mese(d.getMonth()) + " " + Anno(d);
	document.write(ds);
}

var oggi = new Date();
var a = Anno(oggi);

function scriviData() {
	var t = new Date();
	todayStr = Giorno(t.getDay()) + " " + t.getDate() + " " + Mese(t.getMonth()) + " " + Anno(t);
	document.write(todayStr);
} 

function intestazione() {
	document.write("<table BORDER='0' CELLSPACING='0' CELLPADDING='0' WIDTH='100%'>");
	document.write("<tr><td ALIGN='LEFT' VALIGN='BOTTOM' ROWSPAN='3' HEIGHT='60'>");
	document.write("<a href='http://www.uniparthenope.it/rettorato/logo.htm'><img");
	document.write(" SRC='img/logo.gif' ALT='Logo Ateneo' BORDER='0' height='60' ");
	document.write("width='60'></a></td><td height='11'></td></tr><tr><td height");
	document.write("='16' VALIGN='CENTER' bgcolor='#000099' width='60%' nowrap><p ");
	document.write("class='whili' style='text-align: right'> | <a class='whili' href");
	document.write("='http://www.uniparthenope.it/ateneo/news/avven.htm'>News</a> | ");
	document.write("<a class='whili' href='http://webmail.uniparthenope.it/'>Webmail");
	document.write("</a> | <a class='whili' href='http://www.handy.uniparthenope.it/'>");
	document.write("Disabili</a> | <a class='whili' href='http://www.uniparthenope.it");
	document.write("/ateneo/servizi/rasseg.htm'>Rassegna</a> | <a class='whili' href");
	document.write("='http://www.uniparthenope.it/ateneo/fonia/fonia.htm'>Fonia</a>");
	document.write(" | <a class='whili' href='http://www.ecdl.uniparthenope.it'>ECDL");
	document.write("</a> | <a class='whili' href='http://www.uniparthenope.it/ateneo/");
	document.write("onl/start.htm'>Servizi on-line per gli studenti</a> | </p></td>");
	document.write("</tr><tr><td ALIGN='RIGHT' VALIGN='CENTER'><img SRC='img/iun.gif'");
	document.write(" ALT='Università degli Studi di Napoli Parthenope' border='0'");
	document.write(" height='24' width='320'><img SRC='img/euro.gif' ALT='Logo UE' ");
	document.write("border=0 height='24' width='37'></td></tr><tr><td VALIGN='CENTER' ");
	document.write("COLSPAN='2' HEIGHT='16' BGCOLOR='#FCC258' nowrap><p class='whili'>");
	document.write(" | <a class='whili' href='http://www.uniparthenope.it/'>Ateneo");
	document.write("</a> | <a class='whili' href='http://www.economia.uniparthenope");
	document.write(".it/'>Economia</a> | <a class='whili' href='http://www.ingegneria");
	document.write(".uniparthenope.it/'>Ingegneria</a> | <a class='whili' href='http");
	document.write("://www.motorie.uniparthenope.it/'>Scienze Motorie</a> | <a class");
	document.write("='whili' href='http://www.scienzeetecnologie.uniparthenope.it/'>");
	document.write("Scienze e Tecnologie</a> | <a class='whili' href='files/link.htm'>");
	document.write("Link Utili</a> | </p></td></tr></TABLE>");
}

function intestazione1() {
	document.write("<table BORDER='0' CELLSPACING='0' CELLPADDING='0' WIDTH='100%'>");
	document.write("<tr><td ALIGN='LEFT' VALIGN='BOTTOM' ROWSPAN='3' HEIGHT='60'>");
	document.write("<a href='http://www.uniparthenope.it/rettorato/logo.htm'><img ");
	document.write("SRC='../img/logo.gif' ALT='Logo Ateneo' BORDER='0' height='60' ");
	document.write("width='60'></a></td><td height='11'></td></tr><tr><td height");
	document.write("='16' VALIGN='CENTER' bgcolor='#000099' width='60%' nowrap><p ");
	document.write("class='whili' style='text-align: right'> | <a class='whili' href");
	document.write("='http://www.uniparthenope.it/ateneo/news/avven.htm'>News</a> | ");
	document.write("<a class='whili' href='http://webmail.uniparthenope.it/'>Webmail");
	document.write("</a> | <a class='whili' href='http://www.handy.uniparthenope.it/'>");
	document.write("Disabili</a> | <a class='whili' href='http://www.uniparthenope.it");
	document.write("/ateneo/servizi/rasseg.htm'>Rassegna</a> | <a class='whili' href");
	document.write("='http://www.uniparthenope.it/ateneo/fonia/fonia.htm'>Fonia</a>");
	document.write(" | <a class='whili' href='http://www.ecdl.uniparthenope.it'>ECDL");
	document.write("</a> | <a class='whili' href='http://www.uniparthenope.it/ateneo/");
	document.write("onl/start.htm'>Servizi on-line per gli studenti</a> | </p></td>");
	document.write("</tr><tr><td ALIGN='RIGHT' VALIGN='CENTER'><img SRC='../img/iun.gif'");
	document.write(" ALT='Università degli Studi di Napoli Parthenope' border='0' height");
	document.write("='24' width='320'><img SRC='../img/euro.gif' ALT='Logo UE' border=0");
	document.write(" height='24' width='37'></td></tr><tr><td COLSPAN='2' HEIGHT='16'");
	document.write("BGCOLOR='#FCC258' VALIGN='CENTER' nowrap><p class='whili'> | <a ");
	document.write("class='whili' href='../default.htm'>Home</a> | <a class='whili'");
	document.write(" href='http://www.uniparthenope.it/'>Ateneo</a> | <a class='whili'");
	document.write(" href='http://www.economia.uniparthenope.it/'>Economia</a> | <a ");
	document.write("class='whili' href='http://www.ingegneria.uniparthenope.it/'>");
	document.write("Ingegneria</a> | <a class='whili' href='http://www.motorie.");
	document.write("uniparthenope.it/'>Scienze Motorie</a> | <a class='whili' href");
	document.write("='http://www.scienzeetecnologie.uniparthenope.it/'>Scienze e ");
	document.write("Tecnologie</a> | <a class='whili' href='../files/link.htm'>");
	document.write("Link Utili</a> | <a class='whili' href='javascript:history.go(-1)");
	document.write("'>Back</a> | </p></td></tr></TABLE>");
}

function piedipagina1() {
	document.write("<table width='100%' BORDER='0' CELLSPACING='0' CELLPADDING='0'>");
	document.write("<tr><td height='10'></td></tr><tr><td bgcolor='#000099' nowrap>");
	document.write("<p style='text-align: center' class='whili'> Sede Amministrativa:");
	document.write(" Piazza Giordano Bruno, 2 - Nola (NA) - Tel.: 081 3110921/27/30 - Fax:");
	document.write(" 081 3110928</p></td></tr><tr><td><p class='pic'>Ultima revisione");
	document.write(": <i><script TYPE='text/javascript'>ultimaModifica();</script>");
	document.write("</i> - <a href='mailto:facolta.giurisprudenza@uniparthenope.it'>");
	document.write("Webeditor</a> - &copy; 2000-" + a + " Centro di Calcolo Elettronico ");
	document.write("- <a href='mailto:centro.calcolo@uniparthenope.it'>Webmaster</a>");
	document.write("</p></td></tr></TABLE>");
}
