function Go(){return}
function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}

var g_menuPrevOnLoad = window.onload;
var g_menuPrevOnResize;

function initMenu()
{
	readStyleParams();

	
submenutable['1_']=18.095238;
submenutable['2_']=24.086956;
submenutable['3_']=22.095238;
submenutable['4_']=18.235294;
submenutable['4_1_']=21.1;
submenutable['4_2_']=21.1;
submenutable['4_3_']=21.15;
submenutable['4_4_']=25.083334;
submenutable['5_']=20.1;
submenutable['6_']=20.1;
submenutable['7_']=25.208334;
submenutable['8_']=16.1;
submenutable['9_']=8.909091;


Menu1_1=new Array("Benvenuti", 				"Benvenuti.htm", null, 0,nSubCellHeight,calcSubWidth(20,"1_"));
Menu1_2=new Array("Storia Dell'Istituto", 		"Storia.htm", null, 0,nSubCellHeight,calcSubWidth(20,"1_"));
//Menu1_3=new Array("Galleria Immagini", 		"Visita.htm", null, 0,nSubCellHeight,calcSubWidth(20,"1_"));
Menu1_3=new Array("Dove Siamo", 			"Vode.htm", null, 0,nSubCellHeight,calcSubWidth(20,"1_"));
Menu1_4=new Array("Come Raggiungerci", 			"Mezzi.htm", null, 0,nSubCellHeight,calcSubWidth(20,"1_"));
Menu1_5=new Array("Indirizzi e Contatti", 		"Indirizzi.htm", null, 0,nSubCellHeight,calcSubWidth(20,"1_"));
Menu1_6=new Array("Brochure dell'Istituto", 		"Brochure.htm", null, 0,nSubCellHeight,calcSubWidth(20,"1_"));
Menu1_7=new Array("Manifesto 2011-12", 			"ITCG Michele Amari.pdf", null, 0,nSubCellHeight,calcSubWidth(20,"1_"));
Menu1=new Array("Presentazione", "javascript:void(0)", null, 7,nCellHeight,calcWidth(12.25));

Menu2_1=new Array("Orario Scolastico", 			"Orario.htm", null, 0,nSubCellHeight,calcSubWidth(10.111111,"2_"));
Menu2_2=new Array("Calendario Scolastico", 		"Calendario.htm", null, 0,nSubCellHeight,calcSubWidth(18.117647,"2_"));
Menu2_3=new Array("Ricevimento Genitori", 		"OrarioDocenti.htm", null, 0,nSubCellHeight,calcSubWidth(22.095238,"2_"));
Menu2_4=new Array("Elenco delle Classi", 		"ElencoClassi.htm", null, 0,nSubCellHeight,calcSubWidth(15.142858,"2_"));
Menu2_5=new Array("Orario Vicepresidenza", 		"OrarioVicepresidenza.htm", null, 0,nSubCellHeight,calcSubWidth(24.086956,"2_"));
Menu2_6=new Array("Libri di Testo", 			"Libri.htm", null, 0,nSubCellHeight,calcSubWidth(15.142858,"2_"));
Menu2_7=new Array("Viaggi d'istruzione",		"Gite.htm", null, 0,nSubCellHeight,calcSubWidth(11.2,"2_"));
//Menu2_8=new Array("Consigli di classe",		"ConsigliDiClasse.htm", null, 0,nSubCellHeight,calcSubWidth(11.2,"2_"));
//Menu2_9=new Array("Piano Attivitą",			"PianoAttivita.htm", null, 0,nSubCellHeight,calcSubWidth(11.2,"2_"));
Menu2_8=new Array("Archivio",				"Archivio.htm", null, 0,nSubCellHeight,calcSubWidth(11.2,"2_"));
Menu2=new Array("Informazioni", "javascript:void(0)", null, 8,nCellHeight,calcWidth(11.083333));

Menu3_1=new Array("Servizi di Segreteria", 		"ServiziSegreteria.htm", null, 0,nSubCellHeight,calcSubWidth(22.095238,"3_"));
Menu3_2=new Array("Orari di Segreteria", 		"OrariSegreteria.htm", null, 0,nSubCellHeight,calcSubWidth(20.105263,"3_"));
Menu3_3=new Array("Iscrizioni", 			"Iscrizioni.htm", null, 0,nSubCellHeight,calcSubWidth(11.1,"3_"));
//Menu3_4=new Array("Moduli", 				"Moduli.htm", null, 0,nSubCellHeight,calcSubWidth(7.1666665,"3_"));
//Menu3_5=new Array("News Segreteria", 			"NewsSegreteria.htm", null, 0,nSubCellHeight,calcSubWidth(16.133333,"3_"));
Menu3=new Array("Segreteria", "javascript:void(0)", null, 3,nCellHeight,calcWidth(11.1));

Menu4_1=new Array("Organigramma 2011-2012",		"Organigramma.htm", null, 0,nSubCellHeight,calcSubWidth(21.15,"4_3_"));

Menu4_2_1=new Array("Dirigente SGA", 			"DSGA.htm", null, 0,nSubCellHeight,calcSubWidth(10.111111,"4_1_"));
Menu4_2_2=new Array("Assistenti amministrativi", 	"Assistenti.htm", null, 0,nSubCellHeight,calcSubWidth(10.111111,"4_1_"));
Menu4_2=new Array("Segreteria", "javascript:void(0)", null, 2,nSubCellHeight,calcSubWidth(11.1,"4_"));

Menu4_3_1=new Array("Dirigente Scolastico",		"Dirigente.htm", null, 0,nSubCellHeight,calcSubWidth(21.1,"4_2_"));
Menu4_3_2=new Array("Collaboratori", 			"Collaboratori.htm", null, 0,nSubCellHeight,calcSubWidth(14.076923,"4_2_"));
Menu4_3=new Array("Presidenza", "javascript:void(0)", null, 2,nSubCellHeight,calcSubWidth(11.1,"4_"));

//Menu4_3_1=new Array("Elenco Docenti", 		"ElencoDocenti.htm", null, 0,nSubCellHeight,calcSubWidth(15.142858,"4_3_"));
Menu4_4_1=new Array("Consiglio D'Istituto",		"ConsiglioIstituto.htm", null, 0,nSubCellHeight,calcSubWidth(21.15,"4_3_"));
Menu4_4_2=new Array("Funzioni Strumentali", 		"FunzioniStrumentali.htm", null, 0,nSubCellHeight,calcSubWidth(19.11111,"4_3_"));
Menu4_4=new Array("Docenti", "javascript:void(0)", null, 2,nSubCellHeight,calcSubWidth(8.142858,"4_"));

Menu4_5_1=new Array("Assistenti Tecnici", 		"AssistentiTecnici.htm", null, 0,nSubCellHeight,calcSubWidth(19.11111,"4_4_"));
Menu4_5_2=new Array("Collaboratori Scolastici",		"CollaboratoriScolastici.htm", null, 0,nSubCellHeight,calcSubWidth(25.083334,"4_4_"));
Menu4_5=new Array("Collaboratori ATA", 	"javascript:void(0)", null, 2,nSubCellHeight,calcSubWidth(18.235294,"4_"));

Menu4=new Array("Personale scolastico", "javascript:void(0)", null, 5,nCellHeight,calcWidth(20.083333));

Menu5_1=new Array("Nuovi indirizzi di studio", 				"percorso1.htm", null, 0,nSubCellHeight,calcSubWidth(40,"5_"));
Menu5_2=new Array("Indirizzi di studio - Vecchio Ordinamento", 		"IndirizziStudi.htm", null, 0,nSubCellHeight,calcSubWidth(40,"5_"));
Menu5_3=new Array("Sbocchi Professionali - Vecchio ordinamento", 	"SbocchiProfessionali.htm", null, 0,nSubCellHeight,calcSubWidth(40,"5_"));
Menu5_4=new Array("Recupero e potenziamento", 				"Recupero.htm", null, 0,nSubCellHeight,calcSubWidth(40,"5_"));
//Menu5_4=new Array("Modulistica per i docenti", 			"Modulistica.htm", null, 0,nSubCellHeight,calcSubWidth(11.1,"5_"));
Menu5=new Array("Didattica", "javascript:void(0)", null, 4,nCellHeight,calcWidth(10.111111));

//Menu6_1=new Array("La scuola in Internet", 		"ScuolaInternet.htm", null, 0,nSubCellHeight,calcSubWidth(22.0,"6_"));
//Menu6_2=new Array("Quotidiani e riviste", 		"Quotidiani.htm", null, 0,nSubCellHeight,calcSubWidth(21.05,"6_"));
//Menu6_3=new Array("Lavoro", 				"Lavoro.htm", null, 0,nSubCellHeight,calcSubWidth(7.1666665,"6_"));
//Menu6_4=new Array("Insegnanti", 			"Insegnanti.htm", null, 0,nSubCellHeight,calcSubWidth(11.1,"6_"));
//Menu6_5=new Array("Handicap", 			"Handicap.htm", null, 0,nSubCellHeight,calcSubWidth(9.125,"6_"));
//Menu6_6=new Array("Didattica", 			"Didattica.htm", null, 0,nSubCellHeight,calcSubWidth(10.111111,"6_"));
//Menu6_7=new Array("Ricerca", 				"Ricerca.htm", null, 0,nSubCellHeight,calcSubWidth(8.142858,"6_"));
//Menu6_8=new Array("Dirigenti scolastici", 		"Dirigenti.htm", null, 0,nSubCellHeight,calcSubWidth(21.05,"6_"));
//Menu6_9=new Array("Personale amministrativo", 	"PersonaleAmministrativo.htm", null, 0,nSubCellHeight,calcSubWidth(25.041666,"6_"));
//Menu6_10=new Array("Organizzazioni ed istituzioni", 	"Organizzazioni.htm", null, 0,nSubCellHeight,calcSubWidth(30.034483,"6_"));
//Menu6_11=new Array("Normativa ", 			"Normativa.htm", null, 0,nSubCellHeight,calcSubWidth(11.1,"6_"));
//Menu6_12=new Array("Organizzazioni Sindacali", 	"Sindacati.htm", null, 0,nSubCellHeight,calcSubWidth(11.1,"6_"));
//Menu6=new Array("Links", "javascript:void(0)", null, 12,nCellHeight,calcWidth(6.2));

//Menu6_1=new Array("EBCL Italia", 			"http://www.ebcl-italia.it", null, 0,nSubCellHeight,calcSubWidth(15.5,"7_"));
//Menu6_2=new Array("Certificazione EBCL", 		"CertificazioneEBCL.htm", null, 0, nSubCellHeight,calcSubWidth(15.5,"7_"));
//Menu6=new Array("EBCL", "javascript:void(0)", null, 2,nCellHeight,calcWidth(6.0));

//Menu7_1=new Array("Premessa", 			"PremessaECDL.htm", null, 0,nSubCellHeight,calcSubWidth(21.0,"7_"));
//Menu7_2=new Array("Conseguimento della ECDL", 	"ConseguimentoECDL.htm" , 	null, 0,nSubCellHeight,calcSubWidth(21.0,"7_"));
//Menu7_3=new Array("Skills Card",			"AcquistoSkill.htm" , 		null, 0,nSubCellHeight,calcSubWidth(21.0,"7_"));
//Menu7_4=new Array("Informazioni",			"InformazioniECDL.htm" , 	null, 0,nSubCellHeight,calcSubWidth(21.0,"7_"));
//Menu7_5=new Array("Corsi e costi",			"CostiECDL.htm" , 		null, 0,nSubCellHeight,calcSubWidth(21.0,"7_"));
//Menu7_6=new Array("Iscrizione agli esami", 		"IscrizioneEsamiECLD.htm" , 	null, 0,nSubCellHeight,calcSubWidth(21.0,"7_"));
//Menu7_7=new Array("Calendario degli esami", 		"CalendarioECDL.htm" , 		null, 0,nSubCellHeight,calcSubWidth(21.0,"7_"));
//Menu7_8=new Array("Procedura per gli esami", 		"ProceduraEsamiECDL.htm" , 	null, 0,nSubCellHeight,calcSubWidth(21.0,"7_"));
//Menu7_9=new Array("Rilascio della patente", 		"RilascioECDL.htm" , 		null, 0,nSubCellHeight,calcSubWidth(21.0,"7_"));
//Menu7_10=new Array("Modulo di iscrizione", 		"ModuloIscrizioneECDL.pdf" , 	null, 0,nSubCellHeight,calcSubWidth(21.0,"7_"));
//Menu7_11=new Array("AICA",				"http://www.aicanet.it", 	null, 0,nSubCellHeight,calcSubWidth(21.0,"7_"));
//Menu7=new Array("ECDL", "javascript:void(0)", null, 11,nCellHeight,calcWidth(6.0));

//Menu6_1=new Array("Musica e teatro", 			"MusicaETeatro.ppt", null, 0,nSubCellHeight,calcSubWidth(26,"8_"));
//Menu6_2=new Array("Sport", 				"giochiSportivi.htm", null, 0,nSubCellHeight,calcSubWidth(26,"8_"));
//Menu6_3=new Array("Trinity", 				"Trinity.htm", null, 0,nSubCellHeight,calcSubWidth(26,"8_"));
//Menu6_4=new Array("Eurodesk",				"Eurodesk.htm", null, 0,nSubCellHeight,calcSubWidth(26,"8_"));
//Menu6_5=new Array("Autocad per geometri", 		"Autocad.ppt", null, 0,nSubCellHeight,calcSubWidth(26,"8_"));
//Menu6_6=new Array("Patentino", 			"Patentino.ppt", null, 0,nSubCellHeight,calcSubWidth(26,"8_"));
//Menu6_7=new Array("Donazione Sangue", 		"Sangue.htm", null, 0,nSubCellHeight,calcSubWidth(26,"8_"));
//Menu6_8=new Array("Stages e Tirocini", 		"Stages.htm", null, 0,nSubCellHeight,calcSubWidth(26,"8_"));
//Menu6_9=new Array("Impresa Formativa Simulata", 	"IFS.htm", null, 0,nSubCellHeight,calcSubWidth(26,"8_"));
//Menu6_10=new Array("Talent School", 			"Talentschool.htm", null, 0,nSubCellHeight,calcSubWidth(26,"8_"));
//Menu6_11=new Array("Olimpiadi della Matematica", 	"OlimpiadiMatematica.htm", null, 0,nSubCellHeight,calcSubWidth(26,"8_"));
//Menu6=new Array("Progetti", "javascript:void(0)", null, 11,nCellHeight,calcWidth(8.125));

Menu6_1=new Array("Orientamento Scolastico",		"OpenDay.htm", null, 0,nSubCellHeight,calcSubWidth(26,"6_"));
Menu6_2=new Array("Orientamento Universitario",		"OrientamentoUniversitario.htm", null, 0,nSubCellHeight,calcSubWidth(26,"6_"));
Menu6=new Array("Orientamento", "javascript:void(0)", null, 2,nCellHeight,calcWidth(12.125));

Menu7_1=new Array("Piano Offerta Formativa", 		"POF_Indice.htm", null, 0,nSubCellHeight,calcSubWidth(22.1666665,"7_"));
Menu7=new Array("POF", 	"javascript:void(0)", null, 1,nCellHeight,calcWidth(6.0));

Menu8_1=new Array("Circolari alunni",			"CircolariAlunni.htm", null, 0,nSubCellHeight,calcSubWidth(15.1666665,"8_"));
Menu8_2=new Array("Stage",				"Stage/STAGE web.pdf", null, 0,nSubCellHeight,calcSubWidth(15.1666665,"8_"));
Menu8_3=new Array("Teatro",				"Teatro.htm", null, 0,nSubCellHeight,calcSubWidth(15.1666665,"8_"));
Menu8_4=new Array("Progetti degli alunni",		"Alunni.htm", null, 0,nSubCellHeight,calcSubWidth(15.1666665,"8_"));
Menu8=new Array("Area Alunni", 	"javascript:void(0)", null, 4, nCellHeight,calcWidth(10.3));

Menu9_1=new Array("Effettua il login",			"AreaRiservata.asp", null, 0,nSubCellHeight,calcSubWidth(14.1666665,"9_"));
Menu9=new Array("Area Riservata Docenti", "javascript:void(0)", null, 1, nCellHeight,calcWidth(20.3));

NoOffFirstLineMenus=9;

  if(g_menuPrevOnLoad)
    g_menuPrevOnLoad();	

  if(NoOffFirstLineMenus > 0)
  {
  	g_menuPrevOnResize = window.onresize;
	startUp();
	window.onresize=resizeMenu;
  }
}		

function resizeMenu()
{
  if(g_menuPrevOnResize)
    g_menuPrevOnResize();	

  RePos();
}

