var myNavBar1 = new NavBar(0);
var dhtmlMenu;

var wh = 100;
var wi = 160;



dhtmlMenu = new NavBarMenu(wh, wi);
dhtmlMenu.addItem(new NavBarMenuItem("<center><br>News</center>", "news.html"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(wh, wi);
dhtmlMenu.addItem(new NavBarMenuItem("<center><br>Attivit&agrave;</center>", ""));
dhtmlMenu.addItem(new NavBarMenuItem("Libro<br>Le frontiere positive", "frontierepositive.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Incontri di formazione", "incontridiformazione.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Recital<br>Col mio segreto", "colmiosegreto.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Formazione nuovi volontari", "formazionenuovivolontari.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Formazione volontari", "formazionevolontari.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Opuscolo<br>Comunicare comunicarsi", "comunicarecomunicarsi.html"));

myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(wh, wi);
dhtmlMenu.addItem(new NavBarMenuItem("<center><br>La Goccia</center>", ""));
dhtmlMenu.addItem(new NavBarMenuItem("Anno 1994", "a1994.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Anno 1995", "a1995.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Anno 1996", "a1996.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Anno 1997", "a1997.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Anno 1998", "a1998.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Anno 1999", "a1999.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Anno 2000", "a2000.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Anno 2001", "a2001.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Anno 2002", "a2002.html"));

myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(wh, wi);
dhtmlMenu.addItem(new NavBarMenuItem("<center>Chi siamo<br>Storia</center>", "storia.html"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(wh, wi);
dhtmlMenu.addItem(new NavBarMenuItem("<center>Una donna<br>piccola piccola</center>", "donna.html"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(wh, wi);
dhtmlMenu.addItem(new NavBarMenuItem("<center><br>Links</center>", "link.html"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(wh, wi);
dhtmlMenu.addItem(new NavBarMenuItem("<center><br>Contatti</center>", "contatti.html"));
myNavBar1.addMenu(dhtmlMenu);


myNavBar1.setColors("#e7e7e7", "#fd5308", "#e7e7e7", "#ffffff", "#fd5308", "#fd5308", "#e7e7e7", "#e7e7e7", "#ff7940")

var fullWidth;

function init() {
	
  fullWidth = getWindowWidth() 
    - (isMinNS4 && getWindowHeight() < getPageHeight() ? 16 : 0);
  myNavBar1.setAlign("center");
  myNavBar1.resize(fullWidth);
  myNavBar1.create();
  myNavBar1.setzIndex(2);
}


/**
var WINDOW; 
var windowOpened = false;
*/

function openScheda(theURL,winName,features) {
if (parent.windowOpened) parent.WINDOW.close(); 
  parent.WINDOW = window.open("scheda.html?file="+theURL,winName,features+",top=0,left=0");
parent.windowOpened = true;
}
