No3 = (parseInt(navigator.appVersion) > 3) ? 1:0;
if (navigator.userAgent == "Mozilla/4.0 (compatible; MSIE 4.5; Mac_PowerPC)") { No3 = 0; }
layer = (document.all && No3) ? "document.all['L'+menu].style" : (document.layers && No3) ? "document.layers['L'+menu]" : 0;
var timer;

function Show() { if(layer) {
	if(timer) clearTimeout(timer);
	for(menu=0; menu<Layer.length; menu++) { if(Layer[menu]) { eval(layer).visibility = "hidden"; } }
	for(i=0; i<arguments.length; i++) { menu=arguments[i]; eval(layer).visibility = "visible"; }
} }
function Hide() { timer = setTimeout("Show()", 500); }

//////////////////////////////////////////////////////

	hovercolor   = "#cc9900";	// color name/code
	bgcolor      = "#73947B";	// color name/code
	background   = "";			// picture url
	menu_border  = 1;			// IE only
	border_color = "#EBEBEB";	// IE only
	arrow_pic    = "/img/navarrow.gif"; // url of arrow picture for submenus

//////////////////////////////////////////////////////

if(document.all) { if(!background) { background=bgcolor; } else { background = "url("+background+")"; } }

function LayerSpecs(Left,Top,Width) { if(No3) {
	if(!document.all) { 
		this.left = Left-2;
		this.top = Top-7;
	}
	else {
	   this.left  = Left;
	   this.top   = Top;
	}
	this.info  = "";
	T=0;
	for(i=3; i<arguments.length; i++) {
		if(document.all) { this.info += "<TR><TD WIDTH="+Width+" onMouseOver='this.bgColor=\""+hovercolor+"\"' onMouseOut='this.bgColor=\"\"'><font class=\"allnav\">&nbsp;"+arguments[i]+"</font></TD></TR>"; }
		else { this.info += "<LAYER onMouseOver='this.bgColor=\""+hovercolor+"\"' onMouseOut='this.bgColor=\""+bgcolor+"\"' WIDTH="+Width+" POSITION=RELATIVE TOP="+T+"><font class=\"allnav\">&nbsp;&nbsp;"+arguments[i]+"</font></LAYER>"; }
		T+=20;
	}
} }

Layer = new Array();
arrow = "<IMG SRC='"+arrow_pic+"' BORDER=0 ALT=''>";


//////////////////////////////////////////////

/*	Create Your layers below by typing:
	 Layer[incrementing number] = new LayerSpecs(Left Position, Top Position, Width, List of Links Seperated by Commas)
	 If a layer has a sublayer, add onMouseOver="Show(Layer Number to Open, Current Layer, Any Layers Opened before the current layer (sepurated by commas)
*/


Layer[1] =	new LayerSpecs(142,28,140,
			'<a href="/participacion/cjudiciales/cjudiciales.html" class="blinks" onMouseOver="Show(1,6)">Casos Judiciales</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <img src="/img/navarrow.gif">',
			'<a href="/participacion/acceso/index.html" class="blinks" onMouseOver="Show(1,8)">Iniciativas Acceso</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="/img/navarrow.gif">',
            '<a href="/participacion/justicia/index.html" class="blinks" onMouseOver="Show(1)">Justicia</a>',
			'<a href="/participacion/riachuelo/index.html" class="blinks" onMouseOver="Show(1)">Riachuelo</a>'
);
Layer[2] =	new LayerSpecs(297,28,138,
			'<a href="/comercio/integracion.html" class="blinks" onMouseOver="Show(2,15)">Comercio, Inversiones &nbsp;e Integración</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="/img/navarrow.gif">',
			'<a href="/comercio/rse.html" class="blinks" onMouseOver="Show(2,14)">Responsabilidad Social</a><img src="/img/navarrow.gif">',
			'<a href="/proyconj/papeleras/index.html" class="blinks" onMouseOver="Show(2)">Papeleras Uruguay</a>',
			'<a href="/comercio/eventos.html" class="blinks" onMouseOver="Show(2)">Eventos</a> '
);
Layer[3] =	new LayerSpecs(450,28,144,
			'<a href="/investigacion/actcap/index.html" class="blinks" onMouseOver="Show(3)">Activ. de capacitación </a> ',
           	'<a href="/investigacion/polamb/index.html" class="blinks" onMouseOver="Show(3)">Política Ambiental </a> ',
		    '<a href="/investigacion/conser/index.html" class="blinks" onMouseOver="Show(3)">Conservación</a> ', 
           	'<a href="/investigacion/contam/index.html" class="blinks" onMouseOver="Show(3)">Contaminación </a> ',
			'<a href="/investigacion/enforcement/index.html" class="blinks" onMouseOver="Show(3,9)">Programa Enforcement</a> &nbsp;<img src="/img/navarrow.gif">',
			'<a href="/investigacion/presupmin/index.html" class="blinks" onMouseOver="Show(3)">Presupuestos Mínimos</a> ',
			'<a href="/investigacion/premio/index.html" class="blinks" onMouseOver="Show(3,10)">Premio A. Schiffrin</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <img src="/img/navarrow.gif"> ',
			'<a href="/proyconj/papeleras/index.html" class="blinks" onMouseOver="Show(3)">Papeleras Uruguay</a>'
);
Layer[4] =	new LayerSpecs(609,28,144,
			'<img src="/img/navarrowi.gif"> <a href="/informacion/ci/index.html" class="blinks" onMouseOver="Show(4,11)">Centro de Información</a> ',
			'<img src="/img/navarrowi.gif"> <a href="/docs/index.html" class="blinks" onMouseOver="Show(4,12)">Publicaciones</a> ',
			'<img src="/img/navarrowi.gif"> <a href="/bd/index.html" class="blinks" onMouseOver="Show(4,13)">Bases de Datos</a> '
);
Layer[5] =	new LayerSpecs(0,28,127,
			'<a href="/farn/areas.html" class="blinks" onMouseOver="Show(5)">Áreas de trabajo</a>',
			'<a href="/farn/staff.html" class="blinks" onMouseOver="Show(5)">Nuestra gente</a>',
			'<a href="/farn/informes.html" class="blinks" onMouseOver="Show(5)">Informes anuales</a>',
			'<a href="/farn/financiamiento.html" class="blinks" onMouseOver="Show(5)">Financiamiento</a>'
);
Layer[6] =	new LayerSpecs(289,28,180,
			'<a href="/participacion/cjudiciales/casos_tramite.html" class="blinks" onMouseOver="Show(6,1)">Casos en trámite</a> ',
			'<a href="/participacion/cjudiciales/casos_finalizados.html" class="blinks" onMouseOver="Show(6,1)">Casos concluídos</a> '			
);
Layer[7] =	new LayerSpecs(289,45,117,
			'<a href="/participacion/autonomia/qsomos.html" class="blinks" onMouseOver="Show(7,1)">Quiénes somos</a> ',
			'<a href="/participacion/autonomia/capacitacion.html" class="blinks" onMouseOver="Show(7,1)">Capacitación</a> ',
			'<a href="/participacion/autonomia/gpromotor.html" class="blinks" onMouseOver="Show(7,1)">Grupo Promotor</a> '
);
Layer[8] =	new LayerSpecs(289,45,117,
			'<a href="/participacion/acceso/index.html" class="blinks" onMouseOver="Show(8,1)">Acceso 1</a> ',
			'<a href="/participacion/acceso/objetivos.html" class="blinks" onMouseOver="Show(8,1)">Acceso 2</a> '
);
Layer[9] =	new LayerSpecs(601,61,117,
			'<a href="/investigacion/enforcement/index.html" class="blinks" onMouseOver="Show(9,3)">Sobre el Programa</a> ',
			'<a href="/investigacion/enforcement/indicadores.html" class="blinks" onMouseOver="Show(9,3)">Indicadores</a> ',
			'<a href="/investigacion/enforcement/simposio.html" class="blinks" onMouseOver="Show(9,3)">Simposio</a> ',
			'<a href="/investigacion/enforcement/conferencia.html" class="blinks" onMouseOver="Show(9,3)">1ª Conferencia</a> ',
			'<a href="/investigacion/enforcement/dialogo03.html" class="blinks" onMouseOver="Show(9,3)">Diálogo 2003</a> ',
			'<a href="/investigacion/enforcement/dialogo02.html" class="blinks" onMouseOver="Show(9,3)">Diálogo 2002</a> '
);
Layer[10] =	new LayerSpecs(601,93,117,
			'<a href="/investigacion/premio/index.html" class="blinks" onMouseOver="Show(10,3)">Sobre el Premio</a> ',
			'<a href="/investigacion/premio/ganadores2005.html" class="blinks" onMouseOver="Show(10,3)">Premiados 2005</a> ',
			'<a href="/investigacion/premio/ganadores2004.html" class="blinks" onMouseOver="Show(10,3)">Premiados 2004</a> ',
			'<a href="/investigacion/premio/ganadores2003.html" class="blinks" onMouseOver="Show(10,3)">Premiados 2003</a> ',
			'<a href="/investigacion/premio/ganadores2002.html" class="blinks" onMouseOver="Show(10,3)">Premiados 2002</a> ',
			'<a href="/investigacion/premio/dictamenes.html" class="blinks" onMouseOver="Show(10,3)">Dictámenes</a> ',
			'<a href="/investigacion/premio/bases.html" class="blinks" onMouseOver="Show(10,3)">Bases del concurso</a> ',
			'<a href="/investigacion/premio/schiffrin.html" class="blinks" onMouseOver="Show(10,3)">Sobre A. Schiffrin</a> '
);
Layer[11] =	new LayerSpecs(485,28,117,
			'<a href="/informacion/ci/index.html" class="blinks" onMouseOver="Show(11,4)">Sobre el CI</a> ',
			'<a href="/informacion/ci/material.html" class="blinks" onMouseOver="Show(11,4)">Material del CI</a> ',
			'<a href="/informacion/ci/novedades.html" class="blinks" onMouseOver="Show(11,4)">Novedades</a> ',
			'<a href="/informacion/ci/acceso.html" class="blinks" onMouseOver="Show(11,4)">Acceso al CI</a> ',
			'<a href="/informacion/ci/turnos.html" class="blinks" onMouseOver="Show(11,4)">Solicitar turno</a> ',
			'<a href="/informacion/ci/redes.html" class="blinks" onMouseOver="Show(11,4)">Redes</a> '
);
Layer[12] =	new LayerSpecs(485,45,117,
			'<a href="/docs/index.html" class="blinks" onMouseOver="Show(12,4)">Novedades</a> ',
			'<a href="/docs/buscar.html" class="blinks" onMouseOver="Show(12,4)">Buscador</a> ',
			'<a href="/docs/libros.html" class="blinks" onMouseOver="Show(12,4)">Libros y artículos</a> ',
			'<a href="/docs/suplemento/index.html" class="blinks" onMouseOver="Show(12,4)">Suplemento</a> ',
			'<a href="/docs/modulos.html" class="blinks" onMouseOver="Show(12,4)">Módulos en línea</a> ',
			'<a href="/docs/boletin/index.html" class="blinks" onMouseOver="Show(12,4)">Boletín Informativo</a> '
);
Layer[13] =	new LayerSpecs(452,61,150,
			'<a href="/bd/ecolegis/index.html" class="blinks" onMouseOver="Show(13,4)">ECOLEGIS - legislación</a> ',
			'<a href="/bd/ecojuris/index.html" class="blinks" onMouseOver="Show(13,4)">ECOJURIS - jurisprudencia</a> ',
			'<a href="/bd/ecobib/index.html" class="blinks" onMouseOver="Show(13,4)">ECOBIB - bibliografía</a> '
);
Layer[14] =	new LayerSpecs(442,59,168,
			'<a href="/comercio/directrices_ocde.html" class="blinks" onMouseOver="Show(2,14)">Directrices OCDE para EMMs</a>',
			'<a href="/comercio/inst-financieras.html" class="blinks" onMouseOver="Show(2,14)">Instituciones Financieras</a>',
			'<a href="/comercio/cadena-textil.html" class="blinks" onMouseOver="Show(2,14)">Cadena textil e indumentaria</a>',
			'<a href="/comercio/otros_proyectos.html" class="blinks" onMouseOver="Show(2,14)">Guía ISO 26000</a>'
);
Layer[15] =	new LayerSpecs(442,42,135,
			'<a href="/comercio/alca.html" class="blinks" onMouseOver="Show(2,15)">Evaluación ALCA</a>',
			'<a href="/comercio/soja.html" class="blinks" onMouseOver="Show(2,15)">Evaluación Soja</a>',
			'<a href="/comercio/ue-mercosur.html" class="blinks" onMouseOver="Show(2,15)">UE-MERCOSUR</a>',
			'<a href="/comercio/kyoto.html" class="blinks" onMouseOver="Show(2,15)">Mercado de carbono &nbsp;(Protocolo de Kyoto)</a>'
);
Layer[16] =	new LayerSpecs(289,45,117,
			'<a href="/participacion/ainformacion/index.html" class="blinks" onMouseOver="Show(16,1)">Sobre el proyecto</a> ',
			'<a href="/participacion/ainformacion/objetivos.html" class="blinks" onMouseOver="Show(16,1)">Objetivos</a> ',
			'<a href="/participacion/ainformacion/equipo.html" class="blinks" onMouseOver="Show(16,1)">Equipo de trabajo</a> ',
			'<a href="/participacion/ainformacion/recursos.html" class="blinks" onMouseOver="Show(16,1)">Recursos en línea</a> '
			
);

////////////////////////////////////////////////////////////////
j = (Layer[0]) ? 0:1;
for(i=j; i<Layer.length; i++) {
	if(document.all && No3) { document.write("<SPAN onMouseOver='clearTimeout(timer)' onMouseOut='Hide("+i+")' ID='L"+i+"' STYLE='position:absolute; visibility:hidden; background:"+background+"; top:"+Layer[i].top+"; left:"+Layer[i].left+";'><TABLE CLASS='textob' STYLE='border:solid "+menu_border+" "+border_color+"'>"+Layer[i].info+"</TABLE></SPAN>"); }
	else if(document.layers && No3) { document.write("<LAYER onMouseOver='clearTimeout(timer)' onMouseOut='Hide("+i+")' ID='L"+i+"' POSITION=ABSOLUTE VISIBILITY=HIDDEN BGCOLOR='"+bgcolor+"' BACKGROUND='"+background+"' TOP="+Layer[i].top+" LEFT="+Layer[i].left+">"+Layer[i].info+"</LAYER>"); }
}
	