if(foro){
	dirimg = "../images/cat/";
	dirurl = "../";
}else{
	dirimg = "../images/cat/";
	dirurl = "";
}

var menu = ''
	+'<div id="menuMarc">'
		+'<div id="menuContent">'
		+'<table border=0 cellpadding=0 cellspacing=0 width=100%>'
/*		+'<tr>'
			+'<td colspan=2><img width=1 height=21 src="images/pix_trans.gif"></td>'
			+'<td valign=top><img width=1 height=4 src="images/pix_trans.gif"><br>'
			+'<a href="javascript:moveIt(-1)" onmouseover="rollover(\'proyecto\',\'on\',ns)" onmouseout="rollover(\'proyecto\',\'off\',ns)"><img src="images/bt_proyecto_off.gif" width="68" height="21" border="0" alt="" name="proyecto"></a><a href="errordsn.htm" onmouseover="rollover(\'best\',\'on\',ns)" onmouseout="rollover(\'best\',\'off\',ns)"><img src="images/bt_best_off.gif" width="102" height="21" border="0" alt="" name="best"></a><a href="newsletter.htm" onmouseover="rollover(\'newsletter\',\'on\',ns)" onmouseout="rollover(\'newsletter\',\'off\',ns)"><img src="images/bt_newsletter_off.gif" width="83" height="21" border="0" alt="" name="newsletter"></a>'
			+'<a href="errordsn.htm" onmouseover="rollover(\'novedades\',\'on\',ns)" onmouseout="rollover(\'novedades\',\'off\',ns)"><img src="images/bt_novedades_off.gif" width="77" height="21" border="0" alt="" name="novedades"></a><a href="errordsn.htm" onmouseover="rollover(\'urbal\',\'on\',ns)" onmouseout="rollover(\'urbal\',\'off\',ns)"><img src="images/bt_urbal_off.gif" width="92" height="21" border="0" alt="" name="urbal"></a><a href="errordsn.htm" onmouseover="rollover(\'contacte\',\'on\',ns)" onmouseout="rollover(\'contacte\',\'off\',ns)"><img src="images/bt_contacte_off.gif" width="69" height="21" border="0" alt="" name="contacte"></a><a href="errordsn.htm" onmouseover="rollover(\'foro\',\'on\',ns)" onmouseout="rollover(\'foro\',\'off\',ns)"><img src="images/bt_foro_off.gif" width="38" height="21" border="0" alt="" name="foro"></a></td>'
		+'</tr>'*/
		+'<tr bgcolor="#88B8DE">'
			+'<td><img width=1 height=21 src="images/pix_trans.gif"></td>'
			+'<td valign=top>'
			+'<a href="javascript:moveIt(-2)" onmouseover="rollover(\'up\',\'on\',ns)" onmouseout="rollover(\'up\',\'off\',ns)"><img src="' + dirimg + 'bt_up_off.gif" width="20" height="21" border="0" alt="" name="up"></a>'
			+'<a href="' + dirurl + 'bcnnord.htm" onmouseover="rollover(\'bcnnord\',\'on\',ns)" onmouseout="rollover(\'bcnnord\',\'off\',ns)"><img src="' + dirimg + 'bt_bcnnord_off.gif" height="21" border="0" alt="ASSOCIACIÓ FÒRUM MUNICIPIS BARCELONÈS NORD" name="bcnnord"></a>'
			+'<a href="' + dirurl + 'iermb.htm" onmouseover="rollover(\'iermb\',\'on\',ns)" onmouseout="rollover(\'iermb\',\'off\',ns)"><img src="' + dirimg + 'bt_iermb_off.gif" height="21" border="0" alt="INSTITUT D\'ESTUDIS METROPOLITANS i REGIONALS DE  BARCELONA" name="iermb"></a>'
			+'<a href="' + dirurl + 'pirmb.htm" onmouseover="rollover(\'pirmb\',\'on\',ns)" onmouseout="rollover(\'pirmb\',\'off\',ns)"><img src="' + dirimg + 'bt_pirmb_off.gif" height="21" border="0" alt="ASSOCIACIÓ DEL PACTE INDUSTRIAL DE LA REGIÓ METROPOLITANA DE BARCELONA" name="pirmb"></a>'
			+ '<a href="' + dirurl + 'piisunyer.htm" onmouseover="rollover(\'piisunyer\',\'on\',ns)" onmouseout="rollover(\'piisunyer\',\'off\',ns)"><img src="' + dirimg + 'bt_piisunyer_off.gif" height="21" border="0" alt="FUNDACIÓ PI I SUNYER" name="piisunyer"></a>'
			+'<a href="' + dirurl + 'cidob.htm" onmouseover="rollover(\'cidob\',\'on\',ns)" onmouseout="rollover(\'cidob\',\'off\',ns)"><img src="' + dirimg + 'bt_cidob_off.gif" height="21" border="0" alt="FUNDACIÓ CIDOB" name="cidob"></a><a href="' + dirurl + 'aulabcn.htm" onmouseover="rollover(\'aulabcn\',\'on\',ns)" onmouseout="rollover(\'aulabcn\',\'off\',ns)"><img src="' + dirimg + 'bt_aulabcn_off.gif" height="21" border="0" alt="AULA BARCELONA" name="aulabcn"></a>'
			+'</td>'
		+'</tr>'
		+'<tr bgcolor="#88B8DE">'
			+'<td><img width=1 height=21 src="images/pix_trans.gif"></td>'
			+'<td valign=top>'
			+'<img src="../images/pix_trans.gif" width="20" height="21" border="0" alt="">'
			+'<a href="' + dirurl + 'olofpalme.htm" onmouseover="rollover(\'olofpalme\',\'on\',ns)" onmouseout="rollover(\'olofpalme\',\'off\',ns)"><img src="' + dirimg + 'bt_olofpalme_off.gif" height="21" border="0" alt="FUNDACIÓ INTERNACIONAL OLOF PALME" name="olofpalme"></a>'
			+'<a href="' + dirurl + 'plaestrategic.htm" onmouseover="rollover(\'plaestrategic\',\'on\',ns)" onmouseout="rollover(\'plaestrategic\',\'off\',ns)"><img src="' + dirimg + 'bt_plaestrategic_off.gif" height="21" border="0" alt="PLÀ ESTRATÈGIC METROPOLITÀ" name="plaestrategic"></a>'
			+'<a href="' + dirurl + 'collserola.htm" onmouseover="rollover(\'collserola\',\'on\',ns)" onmouseout="rollover(\'collserola\',\'off\',ns)"><img src="' + dirimg + 'bt_collserola_off.gif" height="21" border="0" alt="PARC DE COLLSEROLA" name="collserola"></a>'
			+'<a href="' + dirurl + 'fmc.htm" onmouseover="rollover(\'fmc\',\'on\',ns)" onmouseout="rollover(\'fmc\',\'off\',ns)"><img src="' + dirimg + 'bt_fmc_off.gif" height="21" border="0" alt="Federació de Municipis de Catalunya" name="fmc"></a>'
			+'<a href="' + dirurl + 'femp.htm" onmouseover="rollover(\'femp\',\'on\',ns)" onmouseout="rollover(\'femp\',\'off\',ns)"><img src="' + dirimg + 'bt_femp_off.gif" height="21" border="0" alt="Federeació Espanyola de Municipis i Províncies" name="femp"></a>'
			//+'<a href="' + dirurl + 'fiop.htm" onmouseover="rollover(\'fiop\',\'on\',ns)" onmouseout="rollover(\'fiop\',\'off\',ns)"><img src="' + dirimg + 'bt_fiop_off.gif" height="21" border="0" alt="FIOP" name="fiop"></a>'
			+'<a href="' + dirurl + 'pel.htm" onmouseover="rollover(\'pel\',\'on\',ns)" onmouseout="rollover(\'pel\',\'off\',ns)"><img src="' + dirimg + 'bt_pel_off.gif" height="21" border="0" alt="PLA ESTRATEGIC PER AL LITRORAL" name="pel"></a>'
			+'<a href="' + dirurl + 'otras.htm" onmouseover="rollover(\'otros\',\'on\',ns)" onmouseout="rollover(\'otros\',\'off\',ns)"><img src="' + dirimg + 'bt_otros_off.gif" height="21" border="0" alt="ALTRES INSTITUCIONS" name="otros"></a>'
			+'</td>'
		+'</tr>'
		+'</table>'
		+'</div>'
	+'</div>'
	
document.write(menu)		
////////////////////////////////////////////////////////////////////////////////7// moviment del menu
var ns;
if(document.all)
{
	var menu = menuContent.style
}else if(!window.getComputedStyle){
	var menu = document.menuMarc.document.menuContent
}

if(window.getComputedStyle){
	document.getElementById("menuContent").style.top = 0
}else{
	menu.top = 0;
}

var inc = 0;

function moveIt(n){
	menuToTop = n * 21
}

menuTop = 0;

function menuListen(){
	if(window.getComputedStyle){
		menuTop = document.getElementById("menuContent").style.top
	}else{
		menuTop = menu.top
	}

	if(parseInt(menuTop) != menuToTop)
	{
		inc -= (menuToTop - parseInt(menuTop))/5
		inc *= 0.6
		if(window.getComputedStyle){
			document.getElementById("menuContent").style.top = parseInt(menuTop) - Math.round(inc)
		}else{
			menu.top = parseInt(menuTop) - Math.round(inc)
		}
	}
	setTimeout('menuListen()',20)
}
menuListen()
// activo el rollover relativo a la seccion

if(seccion){
	if((document.all)||(window.getComputedStyle))
	{
		document.images[seccion].src = dirimg + "bt_" + seccion + "_on.gif"
	}else{
		ns.document.images[seccion].src = dirimg + "bt_" + seccion + "_on.gif"
	}
}
////////////////////////////////////////////////////////////////////////////////7// moviment del menu		

inicio = 1