function Sezione(pNome, pHref, pTgt, pSubSez){	this.nome = pNome;	this.href = pHref;	this.target = pTgt;	this.subSez = pSubSez;}//Lista delle sottosezionivar vecSubSez1 = new Array(						   new Sezione("Electronic Addresses", "M_address_name.shtml", null, null), 						   new Sezione("List A-L", "M_memb_al.shtml", null, null),						   new Sezione("List M-Z", "M_memb_mz.shtml", null, null)						   );var vecSubSez2 = new Array(						   new Sezione("Electronic Addresses", "M_address_country.shtml", null, null), 						   new Sezione("List Aus-Isr", "M_memb_aaa_isr.shtml", null, null),						   new Sezione("List Ita-Viet", "M_memb_ita_zzz.shtml", null, null)						   );var vecSubSez3 = new Array(						   new Sezione("GCM1-Vancouver'80", "C_gcm1.shtml", null, null), 						   new Sezione("GCM2-Canton'86", "C_gcm2.shtml", null, null),						   new Sezione("GCM3-Pisa'88", "C_gcm3.shtml", null, null),						   new Sezione("GCM4-P&eacute;cs'92", "C_gcm4.shtml", null, null),						   new Sezione("GCM5-Luminy'96", "C_gcm5.shtml", null, null),						   new Sezione("GCM6-Samos'99", "C_gcm6.shtml", null, null),						   new Sezione("GCM7-Hanoi'02", "C_gcm6.shtml", null, null),						   new Sezione("GCM8-Varese'05", "http://www.eco.uninsubria.it/docenti/GCM8/", null, null)						   );var vecSubSez4 = new Array(						   new Sezione("ISORA'96", "C_isora96.shtml", null, null), 						   new Sezione("ISMP'97", "C_ismp97.shtml", null, null)						   );var vecSubSez5 = new Array(						   new Sezione("Proceedings List", "R_Proceedings.shtml", null, null), 						   new Sezione("GCM1-Vancouver'80", "R_gcm1.shtml", null, null), 						   new Sezione("GCM2-Canton'86", "R_gcm2.shtml", null, null),						   new Sezione("GCM3-Pisa'88", "R_gcm3.shtml", null, null),						   new Sezione("GCM4-P&eacute;cs'92", "R_gcm4.shtml", null, null),						   new Sezione("GCM5-Luminy'96", "R_gcm5.shtml", null, null),						   new Sezione("GCM6-Samos'99", "R_gcm6.shtml", null, null),						   new Sezione("GCM7-Hanoi'02", "R_gcm7.shtml", null, null)						   );var vecSubSez6 = new Array(						   new Sezione("School Samos'99", "C_gcm6_school.shtml", null, null)						   );var vecSubSez7 = new Array(						   new Sezione("Msgs from the Chair", "W_msg_chair.shtml", null, null), 						   new Sezione("Msgs from the SC", "W_msg_sc.shtml", null, null),						   new Sezione("Msgs from WG members", "W_msg_memb.shtml", null, null)						   );var vecSubSez8 = new Array(						   new Sezione("Results", "E_Results.shtml", null, null), 						   new Sezione("Candidates Descriptions", "E_Self.shtml", null, null)						   );var vecSubSez9 = new Array(						   new Sezione("Books List", "R_OtherBooks.shtml", null, null), 						   new Sezione("Special Issue 2003", "R_Special.shtml", null, null), 						   new Sezione("Handbook 2005", "R_Hand.shtml", null, null)						   );//Lista delle sezioni di tutte le areevar vecSezioniA1 = new Array(				  		     new Sezione("", "", null, null), 				  		     new Sezione("WGGC Home Page", "index.shtml", null, null), 				  		     new Sezione("", "", null, null), 				  		     new Sezione("<em>Working Group Area</em>", "W_who.shtml", null, null), 						     new Sezione("<em>Membership Area</em>", "M_simple.shtml", null, null),						     new Sezione("<em>Conferences Area</em>", "C_list.shtml", null, null),						     new Sezione("<em>References Area</em>", "R_Hand.shtml", null, null),				  		     new Sezione("", "", null, null), 						     new Sezione("News and Events", "news.shtml", null, null),						     new Sezione("Subscriptions", "subscribe.shtml", null, null),				  		     new Sezione("", "", null, null), 				  		     new Sezione("<em>Election of the new SC</em>", "E_Results.shtml", null, vecSubSez8)							 );var vecSezioniA2 = new Array(				  		     new Sezione("", "", null, null), 				  		     new Sezione("WGGC Home Page", "index.shtml", null, null), 				  		     new Sezione("", "", null, null), 				  		     new Sezione("WGGC Activities", "W_who.shtml", null, null), 				  		     new Sezione("Scientific Committee", "W_committee.shtml", null, null), 				  		     new Sezione("WGGC Bylaws", "W_bylaws.shtml", null, null), 				  		     new Sezione("Message Board", "W_msg_chair.shtml", null, vecSubSez7), 				  		     new Sezione("Related Sites", "W_links.shtml", null, null), 				  		     new Sezione("Contacts", "W_contacts.shtml", null, null), 				  		     new Sezione("", "", null, null), 						     new Sezione("<em>Membership Area</em>", "M_simple.shtml", null, null),						     new Sezione("<em>Conferences Area</em>", "C_list.shtml", null, null),						     new Sezione("<em>References Area</em>", "R_Hand.shtml", null, null),				  		     new Sezione("", "", null, null), 						     new Sezione("News and Events", "news.shtml", null, null),						     new Sezione("Subscriptions", "subscribe.shtml", null, null),				  		     new Sezione("", "", null, null), 				  		     new Sezione("<em>Election of the new SC</em>", "E_Results.shtml", null, null)							 );var vecSezioniA3 = new Array(				  		     new Sezione("", "", null, null), 				  		     new Sezione("WGGC Home Page", "index.shtml", null, null), 				  		     new Sezione("", "", null, null), 				  		     new Sezione("Simple List", "M_simple.shtml", null, null), 				  		     new Sezione("New Members", "M_new.shtml", null, null), 				  		     new Sezione("Members Distribution", "M_distribution.shtml", null, null), 				  		     new Sezione("Members Data by Name", "M_address_name.shtml", null, vecSubSez1), 				  		     new Sezione("Members Data by Country", "M_address_country.shtml", null, vecSubSez2), 				  		     new Sezione("Update your data", "M_update.shtml", null, null), 				  		     new Sezione("", "", null, null), 						     new Sezione("<em>Working Group Area</em>", "W_who.shtml", null, null),						     new Sezione("<em>Conferences Area</em>", "C_list.shtml", null, null),						     new Sezione("<em>References Area</em>", "R_Hand.shtml", null, null),				  		     new Sezione("", "", null, null), 						     new Sezione("News and Events", "news.shtml", null, null),						     new Sezione("Subscriptions", "subscribe.shtml", null, null),				  		     new Sezione("", "", null, null), 				  		     new Sezione("<em>Election of the new SC</em>", "E_Results.shtml", null, null)							 );var vecSezioniA4 = new Array(				  		     new Sezione("", "", null, null), 				  		     new Sezione("WGGC Home Page", "index.shtml", null, null), 				  		     new Sezione("", "", null, null), 				  		     new Sezione("Full List", "C_list.shtml", null, null), 				  		     new Sezione("GCM Conferences", "C_gcm6.shtml", null, vecSubSez3), 				  		     new Sezione("Some GCM Clusters", "C_ismp97.shtml", null, vecSubSez4), 				  		     new Sezione("GCM Summer Schools", "C_gcm6_school.shtml", null, vecSubSez6), 				  		     new Sezione("", "", null, null), 						     new Sezione("<em>Working Group Area</em>", "W_who.shtml", null, null),						     new Sezione("<em>Membership Area</em>", "M_simple.shtml", null, null),						     new Sezione("<em>References Area</em>", "R_Hand.shtml", null, null),				  		     new Sezione("", "", null, null), 						     new Sezione("News and Events", "news.shtml", null, null),						     new Sezione("Subscriptions", "subscribe.shtml", null, null),				  		     new Sezione("", "", null, null), 				  		     new Sezione("<em>Election of the new SC</em>", "E_Results.shtml", null, null)							 );var vecSezioniA5 = new Array(				  		     new Sezione("", "", null, null), 				  		     new Sezione("WGGC Home Page", "index.shtml", null, null), 				  		     new Sezione("", "", null, null), 				  		     new Sezione("WGGC Proceedings Books", "R_gcm7.shtml", null, vecSubSez5), 				  		     new Sezione("Other GCM Books", "R_Hand.shtml", null, vecSubSez9), 				  		     new Sezione("WGGC Subject Classific.", "R_classification.shtml", null, null), 				  		     new Sezione("Shared Manuscript", "R_shared.shtml", null, null), 				  		     new Sezione("", "", null, null), 						     new Sezione("<em>Working Group Area</em>", "W_who.shtml", null, null),						     new Sezione("<em>Membership Area</em>", "M_simple.shtml", null, null),						     new Sezione("<em>Conferences Area</em>", "C_list.shtml", null, null),				  		     new Sezione("", "", null, null), 						     new Sezione("News and Events", "news.shtml", null, null),						     new Sezione("Subscriptions", "subscribe.shtml", null, null),				  		     new Sezione("", "", null, null), 				  		     new Sezione("<em>Election of the new SC</em>", "E_Results.shtml", null, null)							 );//Lista delle areevar Aree = new Array(					 new Sezione("WGGC", "#", null, vecSezioniA1),					 new Sezione("<em>Working Group Area</em>", "#", null, vecSezioniA2),					 new Sezione("<em>Membership Area</em>", "#", null, vecSezioniA3),					 new Sezione("<em>Conferences Area</em>", "#", null, vecSezioniA4),					 new Sezione("<em>References Area</em>", "#", null, vecSezioniA5)					 );					 					 					 					 function stampaPath(){	if (numArea > 0 && Aree[numArea - 1] != null && Aree[numArea - 1].subSez != null)	{		strPath = Aree[numArea - 1].nome;		if (numSez > 0)		{			var link1 = '';			var link2 = '';			if (numSubSez > 0)			{				var tgt = '';				if (Aree[numArea - 1].subSez[numSez - 1].target != null)					tgt = ' target="' + Aree[numArea - 1].subSez[numSez - 1].target + '"';									link1 = '<a href="' + Aree[numArea - 1].subSez[numSez - 1].href + '" ' + tgt + ' class="pathStyle">';				link2 = '</a>';			}						strPath += " > " + link1 + Aree[numArea - 1].subSez[numSez - 1].nome + link2;			if (numSubSez > 0)							strPath += " > " + Aree[numArea - 1].subSez[numSez - 1].subSez[numSubSez - 1].nome;		}				document.writeln(strPath);	}}function makeMenu(){  //ricerco la lista delle sezioni associate all'area  if (numArea > 0)  {	  document.writeln('<table width="150" border="0" cellspacing="0" cellpadding="0" class="menuStyle">');	  document.writeln('<tr> ');	  document.writeln('  <td><img src="images/sfondo_bianco.gif" width="10" height="1"></td>');	  document.writeln('  <td><img src="images/sfondo_bianco.gif" width="140" height="1"></td>');	  document.writeln('</tr>');    	  var vecSezioni = eval("vecSezioniA" + numArea);	  for (var i = 0; i < vecSezioni.length; i++)	  {  		document.writeln('<tr>');		if (i == 0)			document.writeln('  <td rowspan="123"><img src="images/spacer.gif" width="10" height="10"></td>');			var strLink1 = '<font color="#333333">';		var strLink2 = '</font>';			if (i != numSez - 1 || numSubSez != 0)		{			var tgt = '';			if (vecSezioni[i].target != null)				tgt = ' target="' + vecSezioni[i].target + '"';			strLink1 = '<a href="' + vecSezioni[i].href + '" ' + tgt + ' class="menuStyle">';			strLink2 = '</a>';			}			document.writeln('  <td background="images/fondogrigio2.gif" bgcolor="#939393" class="menuStyle">&nbsp;' + strLink1 + '<b>' + vecSezioni[i].nome + '</b>' + strLink2 + '</td></tr><tr><td><img src="images/sfondo_grigio.gif" width="140" height="1"></td>');		document.writeln('</tr>');			//controllo se ci sono eventuali sotto sezioni		if (i == numSez - 1 && vecSezioni[i].subSez != null)		{			for (var j = 0; j < vecSezioni[i].subSez.length; j++)			{						if (j != 0)				{					document.writeln('<tr>');					document.writeln('	<td><img src="images/sfondo_grigio.gif" width="140" height="1"></td>');					document.writeln('</tr>');				}				strLink1 = '<font color="#333333">';				strLink2 = '</font>';				if (j != numSubSez - 1)				{					var tgt = '';					if (vecSezioni[i].subSez[j].target != null)						tgt = ' target="' + vecSezioni[i].subSez[j].target + '"';									strLink1 = '<a href="' + vecSezioni[i].subSez[j].href + '" ' + tgt + ' class="menuStyle">';					strLink2 = '</a>';						}							document.writeln('<tr>');				document.writeln('    <td background="images/fondogrigio.gif" bgcolor="#AEAEAE" class="menuStyle"><img src="images/quadratino_bianco.gif" width="13" height="7">' + strLink1 + vecSezioni[i].subSez[j].nome + strLink2 + '</td>');				document.writeln('</tr>');			}		}	  }      	document.writeln('</table>');  }}
