//**********************************************************************//
//*                             motorie.js                             *//
//*       libreria javascript: stile, intestazione e piedipagina       *//
//*       revisione: 12/11/2006 - Francesca Grombone - CCE - USNP      *//
//*       versione ridotta e mirata per sito scienze motorie           *//
//**********************************************************************//

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 d = new Date(document.lastModified);
	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 f = new Date();
	todayStr = Giorno(f.getDay()) + " " + f.getDate() + " " + Mese(f.getMonth()) + " " + a;
	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</a>");
	document.write(" | <a class='whili' href='http://www.economia.uniparthenope.it/'>");
	document.write("Economia</a> | <a class='whili' href='http://www.giurisprudenza.");
	document.write("uniparthenope.it/'>Giurisprudenza</a> | <a class='whili' href='");
	document.write("http://www.ingegneria.uniparthenope.it/'>Ingegneria</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> |</td></tr></TABLE></center>");
}

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.");
	document.write("gif' ALT='Università degli Studi di Napoli Parthenope' height='24' ");
	document.write("border=0 width='320'><img SRC='../img/euro.gif' ALT='Logo UE' border");
	document.write("=0 height='24' width='37'></td></tr><tr><td ALIGN='LEFT' VALIGN=");
	document.write("'CENTER' COLSPAN='2' HEIGHT='16' BGCOLOR='#FCC258' nowrap><p class");
	document.write("='whili'> | <a class='whili' href='http://www.uniparthenope.it/'>");
	document.write("Ateneo</a> | <a class='whili' href='http://www.economia.uniparthenope");
	document.write(".it/'>Economia</a> | <a class='whili' href='http://www.giurisprudenza");
	document.write(".uniparthenope.it/'>Giurisprudenza</a> | <a class='whili' href='http:");
	document.write("//www.ingegneria.uniparthenope.it/'>Ingegneria</a> | <a class='whili'");
	document.write(" href='http://www.scienzeetecnologie.uniparthenope.it/'>Scienze e ");
	document.write("Tecnologie</a> | <a class='whili' href='../files/link.htm'>Link ");
	document.write("Utili</a> | <a class='whili' href='javascript:history.go(-1)'>");
	document.write("Back</a> |</td></tr></TABLE></center>");
}

function piedipagina() {
	document.write("<center><table summary='piedipagina' width=100% BORDER=0 ");
	document.write("CELLSPACING=0 CELLPADDING=0><tr><td height=10></td></tr>");
	document.write("<tr><td align=center bgcolor=#000099 nowrap><p class=whili>");
	document.write(" Sede Amministrativa: Via Amm. F. Acton, 38 - 80133 Napoli - ");
	document.write("Tel.: 081 5475747</p></td></tr><tr><td align=center nowrap>");
	document.write("<p class='pic'>Ultima revisione: <i>");
	document.write("<script type='text/javascript'>ultimaModifica()</script>");
	document.write("</i> - <a href='mailto:presidenza.motorie@uniparthenope.it'>");
	document.write("Webeditor</a> - &copy; 2001-" + a + " Centro di Calcolo ");
	document.write("Elettronico - <a href='mailto:centro.calcolo@uniparthenope.it'>");
	document.write("Webmaster</a></p></td></tr></table></center>");
}