// start pop-up menu n3-HOME
	var brtype3 = (document.all) ? ("IE") : ((document.layers) ? ("NS") : (""));
	var blnMenuUp3 = false;
	var posX3 = -16; var posY3 = 116;
	var nsDX3 = +2; nsDY3 = -7; // NS menu pos offsets
	var mX3 = 0; var mY3 = 0;
	var flbgcol3 = "#00CA0B";
	var paneStyle3 = '';
	var winWidth3 = 0;
	
	if (brtype3 == "NS") onResize=document.reload;
	
	paneStyle3 += '<style type="text/css"><!--';
	paneStyle3 += '.float { ';
	if (brtype3 == "IE") paneStyle3 += 'position:absolute; top:' + posY + 'px; left:' + posX + 'px; ';
	paneStyle3 += 'visibility:hidden; color:white; border-style:solid; border-width:1px 1px 1px 1px; border-color:black; background-color:' + flbgcol + '; padding:3px 3px 3px 3px; }';
	paneStyle3 += 'a.pu { color:black; text-decoration:none }';
	paneStyle3 += '--></style>';
	document.write(paneStyle3);
	
	var strLinks3 = '<a class="pu" target="_top" href="http://www.lipu.it/sezione/roma" title="Sito della Sezione di Roma">Sezione di Roma</a><br><a class="pu" target="_top" href="http://www.crfslipuroma.it/" title="Sito del CRFS Roma">Centro Recupero Roma</a><br><a class="pu" target="_top" href="http://www.lipu.it/" title="Sito ufficiale LIPU Nazionale">Sede LIPU Nazionale</a><br>';
	if (brtype3 == "IE") {
		strPopUp3 = '<div id="com_menu3" class="float" onmouseover="blnMenuUp3=true;" onmouseout="blnMenuUp3=false; hideMenu3();">';
		strPopUp3 += '<p>' + strLinks3 + '</p></div>';
	}
	else if (brtype3 == "NS") {
		strPopUp3 = '<layer id="com_menu3" visibility="hidden" onmouseover="blnMenuUp3=true;" onmouseout="blnMenuUp3=false; hideMenu3();" clip="auto auto auto auto" bgcolor="' + flbgcol + '" class="float">';
		strPopUp3 += '<p>' + strLinks3 + '</p></layer>';
	}
	document.write(strPopUp3);
	
	function setMenuPos3() {
		if (brtype3 == "IE") {
			winWidth3 = document.body.offsetWidth;
		}
		else if (brtype3 == "NS") {
			winWidth3 = window.innerWidth;
		}
		mX3 = ((winWidth3 - 760) / 2) + posX3 + ((brtype3 == "IE") ? (0) : (nsDX3));
		mY3 = (brtype3 == "IE") ? (posY3) : (posY3 + nsDY3);
	}
	
	function setMenuVisible3(state) {
		if (!state && blnMenuUp3) state = true; // only hide if off menu
		var strVis3 = (state) ? ("visible") : ("hidden");
		setMenuPos3();
		if (brtype3 == "IE") {
			document.all.com_menu3.style.left = mX3;
			document.all.com_menu3.style.top = mY3;
			document.all.com_menu3.style.visibility = strVis3;
		}
		else if (brtype3== "NS") {
			document.layers.com_menu3.left = mX3;
			document.layers.com_menu3.top = mY3;
			document.layers.com_menu3.visibility = strVis3;
		}
	}
	
	
	function hideMenu3() {
		setTimeout("setMenuVisible3(false)", 0);
	}
	
	function reDo3() { window.location.reload(); }
	function setResize3() { setTimeout("window.onResize=reDo3", 1000); }
	if (brtype3 == "NS") window.onLoad = setResize3();
	
	// end pop-up menu.
	

// start pop-up menu n2-CHM
	var brtype2 = (document.all) ? ("IE") : ((document.layers) ? ("NS") : (""));
	var blnMenuUp2 = false;
	var posX2 = 198; var posY2 = 116;
	var nsDX2 = +2; nsDY2 = -7; // NS menu pos offsets
	var mX2 = 0; var mY2 = 0;
	var flbgcol2 = "#00CA0B";
	var paneStyle2 = '';
	var winWidth2 = 0;
	
	if (brtype2 == "NS") onResize=document.reload;
	
	paneStyle2 += '<style type="text/css"><!--';
	paneStyle2 += '.float { ';
	if (brtype2 == "IE") paneStyle2 += 'position:absolute; top:' + posY + 'px; left:' + posX + 'px; ';
	paneStyle2 += 'visibility:hidden; color:white; border-style:solid; border-width:1px 1px 1px 1px; border-color:black; background-color:' + flbgcol + '; padding:3px 3px 3px 3px; }';
	paneStyle2 += 'a.pu { color:black; text-decoration:none }';
	paneStyle2 += '--></style>';
	document.write(paneStyle2);
	
	var strLinks2 = '<a class="pu" target="_top" href="chm/storia.htm" title="Una storia che merita di essere raccontata">Storia del progetto</a><br><a class="pu" target="_top" href="chm/finalita.htm" title="Che cosa si vuole ottenere con questo progetto">Finalit del progetto</a><br><a class="pu" target="_top" href="chm/recupero.htm" title="La mappa del Parco e foto">Mappa del Parco</a><br><a class="pu" target="_top" href="chm/avifauna.htm" title="Le specie osservate">Avifauna ed osservazioni</a>';
	if (brtype2 == "IE") {
		strPopUp2 = '<div id="com_menu2" class="float" onmouseover="blnMenuUp2=true;" onmouseout="blnMenuUp2=false; hideMenu2();">';
		strPopUp2 += '<p>' + strLinks2 + '</p></div>';
	}
	else if (brtype2 == "NS") {
		strPopUp2 = '<layer id="com_menu2" visibility="hidden" onmouseover="blnMenuUp2=true;" onmouseout="blnMenuUp2=false; hideMenu2();" clip="auto auto auto auto" bgcolor="' + flbgcol + '" class="float">';
		strPopUp2 += '<p>' + strLinks2 + '</p></layer>';
	}
	document.write(strPopUp2);
	
	function setMenuPos2() {
		if (brtype2 == "IE") {
			winWidth2 = document.body.offsetWidth;
		}
		else if (brtype2 == "NS") {
			winWidth2 = window.innerWidth;
		}
		mX2 = ((winWidth2 - 760) / 2) + posX2 + ((brtype2 == "IE") ? (0) : (nsDX2));
		mY2 = (brtype2 == "IE") ? (posY2) : (posY2 + nsDY2);
	}
	
	function setMenuVisible2(state) {
		if (!state && blnMenuUp2) state = true; // only hide if off menu
		var strVis2 = (state) ? ("visible") : ("hidden");
		setMenuPos2();
		if (brtype2 == "IE") {
			document.all.com_menu2.style.left = mX2;
			document.all.com_menu2.style.top = mY2;
			document.all.com_menu2.style.visibility = strVis2;
		}
		else if (brtype2 == "NS") {
			document.layers.com_menu2.left = mX2;
			document.layers.com_menu2.top = mY2;
			document.layers.com_menu2.visibility = strVis2;
		}
	}
	
	
	function hideMenu2() {
		setTimeout("setMenuVisible2(false)", 0);
	}
	
	function reDo2() { window.location.reload(); }
	function setResize2() { setTimeout("window.onResize=reDo2", 1000); }
	if (brtype2 == "NS") window.onLoad = setResize2();
	
	// end pop-up menu.

	// start pop-up menu n -INFORMAZIONI
	var brtype = (document.all) ? ("IE") : ((document.layers) ? ("NS") : (""));
	var blnMenuUp = false;
	var posX = 357; var posY = 116;
	var nsDX = +2; nsDY = -7; // NS menu pos offsets
	var mX = 0; var mY = 0;
	var flbgcol = "#00CA0B";
	var paneStyle = '';
	var winWidth = 0;
	
	if (brtype == "NS") onResize=document.reload;
	
	paneStyle += '<style type="text/css"><!--';
	paneStyle += '.float { ';
	if (brtype == "IE") paneStyle += 'position:absolute; top:' + posY + 'px; left:' + posX + 'px; ';
	paneStyle += 'visibility:hidden; color:white; border-style:solid; border-width:1px 1px 1px 1px; border-color:black; background-color:' + flbgcol + '; padding:3px 3px 3px 3px; }';
	paneStyle += 'a.pu { color:black; text-decoration:none }';
	paneStyle += '--></style>';
	document.write(paneStyle);
	
	var strLinks = '<a class="pu" target="_top" href="iscriz.htm" title="Sostieni la LIPU insieme a noi!">Diventa socio LIPU</a><br><a class="pu" target="_top" href="news/news.asp?419" title="La LIPU ha bisogno anche del tuo aiuto!">Diventa volontario del Centro Habitat Mediterraneo</a><br><a class="pu" target="_top" href="sezione.htm" title="Dove trovarci">Il nostro indirizzo</a><br><a class="pu" target="_top" href="circolobw" title="Appassionati di natura e ambiente">Circolo dei Birdwatchers per la Conservazione</a><br><a class="pu" target="_top" href="educazione" title="Attivitą didattiche nelle scuole">Naturare - Didattica per le scuole</a><br><a class="pu" target="_top" href="legale" title="Attivitą legale">Attivita legale</a><br><a class="pu" target="_blank" href="http://www.udacomuneroma.it/sedi/index.asp" title="Diritti animali">Ufficio Diritti Animali Comune di Roma</a><br><a class="pu" target="_top" href="web.asp" title="Altri siti natura sul web">I nostri link - Siti Natura</a>';
	if (brtype == "IE") {
		strPopUp = '<div id="com_menu" class="float" onmouseover="blnMenuUp=true;" onmouseout="blnMenuUp=false; hideMenu();">';
		strPopUp += '<p>' + strLinks + '</p></div>';
	}
	else if (brtype == "NS") {
		strPopUp = '<layer id="com_menu" visibility="hidden" onmouseover="blnMenuUp=true;" onmouseout="blnMenuUp=false; hideMenu();" clip="auto auto auto auto" bgcolor="' + flbgcol + '" class="float">';
		strPopUp += '<p>' + strLinks + '</p></layer>';
	}
	document.write(strPopUp);
	
	function setMenuPos() {
		if (brtype == "IE") {
			winWidth = document.body.offsetWidth;
		}
		else if (brtype == "NS") {
			winWidth = window.innerWidth;
		}
		mX = ((winWidth - 760) / 2) + posX + ((brtype == "IE") ? (0) : (nsDX));
		mY = (brtype == "IE") ? (posY) : (posY + nsDY);
	}
	
	function setMenuVisible(state) {
		if (!state && blnMenuUp) state = true; // only hide if off menu
		var strVis = (state) ? ("visible") : ("hidden");
		setMenuPos();
		if (brtype == "IE") {
			document.all.com_menu.style.left = mX;
			document.all.com_menu.style.top = mY;
			document.all.com_menu.style.visibility = strVis;
		}
		else if (brtype == "NS") {
			document.layers.com_menu.left = mX;
			document.layers.com_menu.top = mY;
			document.layers.com_menu.visibility = strVis;
		}
	}
	
	function hideMenu() {
		setTimeout("setMenuVisible(false)", 0);
	}
	
	function reDo() { window.location.reload(); }
	function setResize() { setTimeout("window.onResize=reDo", 1000); }
	if (brtype == "NS") window.onLoad = setResize();
	
	// end pop-up menu.

	function RollOver(strImgName, strPageImg) {
		this.strImgOff = strImgName + "_0.gif";
		this.strImgOn = strImgName + "_1.gif";
		this.objPageImg = null;
		this.strPageImg = strPageImg;
		this.objImgOn = new Image();
		this.objImgOff = new Image();
		this.rollOn = rollOn;
		this.rollOff = rollOff;
		this.objImgOn.src = this.strImgOn;
		this.objImgOff.src = this.strImgOff;
	}
	function rollOn() {
	   if (this.objPageImg != null) this.objPageImg.src = this.objImgOn.src;
	   else if ((this.objPageImg = eval("document.images." + this.strPageImg)) != null) this.objPageImg.src = this.objImgOn.src;
	}
	function rollOff() {
	   if (this.objPageImg != null) this.objPageImg.src = this.objImgOff.src;
	   else if ((this.objPageImg = eval("document.images." + this.strPageImg)) != null) this.objPageImg.src = this.objImgOff.src;
	}
	
	
	// create rollover buttons, for header...
	roHome = new RollOver("home", "hom");
	roZigolo = new RollOver("zigolo", "zigol");
	roEscursioni = new RollOver("scopri", "escursioni");
	roChm = new RollOver("chm", "parcochm");
	roRiserva = new RollOver("riserva", "riserv");
	roInformazioni = new RollOver("info", "informazioni");
	<!-- roForumh = new RollOver("forumh", "discussioni"); SOSTITUITO CON FACEBOOK-->

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_displayStatusMsg(msgStr) { //v1.0
  status=msgStr;
  document.MM_returnValue = true;
}
