//UTE PLANTA DE NAVALCARNERO - util.js

var ventana = null;

var arrayMenu = new Array();
arrayMenu[arrayMenu.length] = "inicio";
arrayMenu[arrayMenu.length] = "empresa";
arrayMenu[arrayMenu.length] = "productos";
arrayMenu[arrayMenu.length] = "tarifas";
arrayMenu[arrayMenu.length] = "enlace";
arrayMenu[arrayMenu.length] = "contacto";

var miHeight=window.screen.availHeight;
var miWidth = window.screen.availWidth;


function loadThis() {
	//changeDims();
	var ancho=document.body.clientWidht;
	var alto=document.body.clientHeight;
}

function changeDims(){
	window.resizeTo(miWidth,miHeight);
	var ancho=window.screen.availWidth;
	var alto=window.screen.availHeight;
	var posY=(alto/2)-(miHeight/2)-70;
	var posX=(ancho/2)-(miWidth/2);
	/*window.moveTo(posX,posY);*/
}

function right(e) { 
var hoy= new Date();
if (navigator.appName == 'Netscape' && e.which == 3) { 
alert('© UTE Planta de Navalcarnero '+hoy.getFullYear());  
} 
else 
if (navigator.appName == 'Microsoft Internet Explorer' && event.button==2) { 
alert('© UTE Planta de Navalcarnero '+hoy.getFullYear()); 
return false; 
} 
return true; 
} 

document.onmousedown = right; 

function go() {
	if (ventana != null) 
		ventana.close();
}

function abrirDocumentacion(name,w,h,l,t){
	if (w==null) w=580;
	if (h==null) h=630;
	
	anchoPantalla = screen.width;
	altoPantalla  = screen.height;
	posX = (anchoPantalla - w)/2;
	posY = (altoPantalla  - h)/2;

	if (l>-1) posX = l;
	if (t>-1) posY = t;
                
     url ="documentacion/"+name;

	Documentacion=window.open(url,'Documentacion','toolbar=no,resizable=yes,status=no,scrollbars=no,location=no,menubar=no,width='+w+',height='+h+',left='+posX+',top='+posY);
}


function abrirVentana(url,name)
  { 
    ventana=window.open(url,"name","location=no,toolbar=no,menubar=no,personalbar=no,resizable=yes,scrollbars=yes,hotkeys=no,top=0,left=0,width=650,height=400");
    ventana.focus();
  }

function abrirModeless(url, mwidth, mheight, mitop, mileft) {
	if (ventana != null) 
		ventana.close();
	ventana = eval('window.showModelessDialog(url,window,"help:0;resizable:1;dialogWidth:'+mwidth+'px;dialogHeight:'+mheight+'px;dialogTop:'+mitop+'px;dialogLeft:'+mileft+'px;status:no")');
}

function escribirPiePaginaPortada(){
	var hoy= new Date();
	var alto=document.body.clientHeight;
	txt = "<div style='position:absolute;top:"+(alto-28)+";left:35%'><tr  height='22px' style='position:absolute;top:"+(alto-28)+";'><td align='center' colspan='3'  background='img/oben2.jpg' style='color:#ffffff'>";
	txt += "Copyright UTE Planta de Navalcarnero " + hoy.getFullYear();
	txt += "&nbsp;&nbsp;||&nbsp;&nbsp;";
	txt += "<a href=\"#\" class=\"enlacePiePortada\" onclick=\"javascript:abrirModeless('avisoLegal.htm#inicio', 480,580,180,180)\">Aviso Legal</a>\n";
	txt += "</td></tr></div></table></div>";
	
	document.write(txt);
}

function escribirPiePagina(){
	var hoy= new Date();
	var alto=document.body.clientHeight;
	txt = "<div style='position:absolute;top:"+(alto-28)+";left:35%'><tr  height='22px' style='position:absolute;top:"+(alto-28)+";'><td align='center' colspan='3' >";
	txt += "Copyright UTE Planta de Navalcarnero " + hoy.getFullYear();
	txt += "&nbsp;&nbsp;||&nbsp;&nbsp;";
	txt += "<a href=\"#\" class=\"enlacePie\" onclick=\"javascript:abrirModeless('avisoLegal.htm#inicio', 480,580,180,180)\">Aviso Legal</a>\n";
	txt += "</td></tr></div></table></div>";
	
	document.write(txt);
}

function escribirPortada() {
	var alto=document.body.clientHeight;
	document.write("<img src='img/areanaval.jpg' width='540px' height='"+(alto-250)+"' alt='UTE PLANTA NAVALCARNERO:  Complejo de tratamiento integral de RCD'S de Navalcarnero'>");
}

function escribirPlanta() {
	var alto=document.body.clientHeight;
	document.write("<a href='img/planta/galeria1.jpg' rel='lightbox' title='Vista general nave de proceso'><img src='img/planta/galeria1.jpg' height='"+(alto-450)+"' border='0'></a>");
}

function escribirDeposito() {
	var alto=document.body.clientHeight;
	document.write("<a href='img/deposito_rechazo/galeria13.jpg' rel='lightbox' title='Esquema de la impermeabilización del depósito'><img src='img/deposito_rechazo/deposito.jpg' height='"+(alto-350)+"' border='0'></a>");
}

function escribirLineaLimpios() {
	var alto=document.body.clientHeight;
	document.write("<a href='img/rcd_limpio/galeria14.jpg' rel='lightbox' title='Línea de tratamiento de RCD limpio' alt='Línea de tratamiento de RCD limpio'><img src='img/rcd_limpio/galeria14.jpg' height='"+(alto-450)+"' border='0'></a>");
}

function escribirCabinaTriaje() {
	var alto=document.body.clientHeight;
	document.write("<a href='img/complejo_tratamiento_rcd/cabina_triaje.jpg' rel='lightbox' title='Cabina de triaje'><img src='img/complejo_tratamiento_rcd/cabina_triaje.jpg' height='"+(alto-450)+"' border='0'></a>");
}


function fechaActual() {
	var ahora = new Date();
	var dia = ahora.getDate();
	var mesNum = ahora.getMonth() + 1;
	var mes = "";

	switch (mesNum)
	{
	case 1: mes = "Enero";break;
	case 2: mes = "Febrero";break;
	case 3: mes = "Marzo";	break;
	case 4: mes = "Abril";break;
	case 5: mes = "Mayo";break;
	case 6: mes = "Junio";break;
	case 7: mes = "Julio";break;
	case 8: mes = "Agosto";break;
	case 9: mes = "Septiembre";break;
	case 10: mes = "Octubre";break;
	case 11: mes = "Noviembre";break;
	case 12: mes = "Diciembre";break;
	}

	var anno = ahora.getFullYear();
	if (dia.toString().length == "1")
		dia = "0" + dia.toString();
	if (mesNum.toString().length == "1")
		mesNum = "0" + mesNum .toString();
	   
	var fecha = dia.toString() + " de " + mes + " de " + anno.toString();
	document.write(fecha);
}

function activaPestanaMenu(pestana) {
	for (i=0;i<arrayMenu.length;i++) {
		if (arrayMenu[i] == pestana) {
			document.getElementById(arrayMenu[i]).className = 'pestanaSel';
		} else {
			document.getElementById(arrayMenu[i]).className = '';
		}
	}
}

var cuentaCapasFinal=4;
var variable1 = 0;
	window.onresize=calcular;
	function calcular(){
		variable1 = document.body.clientWidth;
	}

	function mostrar(id) {
		for (i=0;i<cuentaCapasFinal;i++) {
			if (id == i) {
				document.getElementById("id"+id).style.display = "block";
			} else {
				document.getElementById("id"+i).style.display = "none";
			}
		}
	}
	function ocultar() {
		for (i=0;i<cuentaCapasFinal;i++) {
			document.getElementById("id"+i).style.display = "none";
		}
	}

	function escribeCabecera() {
		var alto=document.body.clientHeight;
		var ancho=document.body.clientWidth;
		document.write("<div style='overflow:auto;position:absolute;top:0%;left:5%;widht:"+(ancho)+";height:"+(alto)+"' class='barraScroll'>");
		document.write("<table class=\"bordeExteriorTabla\" border=0 cellpadding=\"0\" cellspacing=\"0\" background=\"img/degree.jpg\">");
		document.write("	<a href=\"ute_planta_navalcarnero.html\"><tr>");
		document.write("		<td align=\"left\" width=\"10%\">&nbsp;&nbsp;<a href=\"ute_planta_navalcarnero.html\"><img src=\"img/logo_UTE.jpg\" border=\"0\" alt=\"UTE Planta de Navalcarnero\"></a></td>");
		document.write("		<td class=\"tituloG\" width=\"90%\"   style=\"cursor:hand\">UTE PLANTA DE NAVALCARNERO</td>");
		document.write("		<td>&nbsp;</td>");
		document.write("	</tr></a>");
	}

	function escribeMenu() {
			document.write("	<tr><td colspan=\"3\" background=\"img/oben2.jpg\" height=\"23px\">	");
			document.write("		<table width=\"100%\">	");
			document.write("			<tr >	");
			document.write("			<td  width=\"65%\">&nbsp;</td>	");
			document.write("			<td  >&nbsp;</td>");
			document.write("			<td valign=\"bottom\" nowrap>");
			document.write("				<div id=\"menu0\" style=\"position:absolute; top:90px;left:30%;width:16%; height:20px; z-index:0; visibility: visible;\" class=separadorMenuNoActivo style=\"cursor:hand\" onmouseover=\"javascript:mostrar(0);\" onmouseout=\"javascript:ocultar();\">	");
			document.write("						<table cellspacing=0 cellpadding=0 width=100% >");
			document.write("							<tr>");
			document.write("								<td valign=\"middle\" align=\"center\" height=20 width=\"100%\">");
			document.write("									<a href=\"#\" class=\"menuPrincipal\">Empresa</a>");
			document.write("								</td>");
			document.write("							</tr>");
			document.write("							</table>									");
			document.write("							<div id=\"id0\" style=\"position:relative; left:-3px; top:0px; width:140px; height:20px; z-index:0; display:none;\" class=\"bordeMenu\">");
			document.write("							<table width=\"100%\" align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
			document.write("							<tr> ");
			document.write("									<td> ");
			document.write("									  <table width=\"100%\" border=\"0\" cellpadding=\"2\" cellspacing=\"0\" class=\"bordeMenuInterior\">");
			document.write("											<tr class=\"opcionMenuNoActiva\" onmouseout=\"this.className='opcionMenuNoActiva'\" onmouseover=\"this.className='opcionMenuActiva'\">								");
			document.write("												<td style=\"padding-left:10px;\"><a class=\"enlaceOpcionMenu\" href='quienes_somos.html' >¿Quiénes somos?</a></td>");
			document.write("											</tr>");
			document.write("											<tr class=\"opcionMenuNoActiva\" onmouseout=\"this.className='opcionMenuNoActiva'\" onmouseover=\"this.className='opcionMenuActiva'\">								");
			document.write("												<td style=\"padding-left:10px;\"><a class=\"enlaceOpcionMenu\" href='empresas_participantes.html' >Empresas Participantes</a></td>");
			document.write("											</tr>");
			/*document.write("											<tr class=\"opcionMenuNoActiva\" onmouseout=\"this.className='opcionMenuNoActiva'\" onmouseover=\"this.className='opcionMenuActiva'\">								");
			document.write("												<td style=\"padding-left:10px;\"><a class=\"enlaceOpcionMenu\" href='asociaciones_ute.html' >Asociaciones</a></td>");
			document.write("											</tr>");*/
			document.write("											</table>");
			document.write("										</td>");
			document.write("									</tr>");
			document.write("									</table>");
			document.write("								 </div>");
			document.write("					</div>");
			document.write("				<div id=\"menu1\" style=\"position:absolute; top:90px;left:40%;width:16%; height:20px; z-index:0; visibility: visible;\" class=separadorMenuNoActivo style=\"cursor:hand\" onmouseover=\"javascript:mostrar(1);\" onmouseout=\"javascript:ocultar();\">	");
			document.write("						<table cellspacing=0 cellpadding=0 width=100% >");
			document.write("							<tr>");
			document.write("								<td valign=\"middle\" align=\"center\" height=20 width=\"100%\">");
			document.write("									<a href=\"#\" class=\"menuPrincipal\" nowrap>Complejo</a>");
			document.write("								</td>");
			document.write("							</tr>");
			document.write("							</table>									");
			document.write("							<div id=\"id1\" style=\"position:relative; left:-3px; top:0px; width:140px; height:20px; z-index:0; display:none;\" class=\"bordeMenu\">");
			document.write("							<table width=\"100%\" align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
			document.write("							<tr> ");
			document.write("									<td> ");
			document.write("									  <table width=\"100%\" border=\"0\" cellpadding=\"2\" cellspacing=\"0\" class=\"bordeMenuInterior\">");
			document.write("											<tr class=\"opcionMenuNoActiva\" onmouseout=\"this.className='opcionMenuNoActiva'\" onmouseover=\"this.className='opcionMenuActiva'\">								");
			document.write("												<td style=\"padding-left:10px;\"><a class=\"enlaceOpcionMenu\" href='complejo_tratamiento_rcd.html' >Presentación</a></td>");
			document.write("											</tr>");
			document.write("											<tr class=\"opcionMenuNoActiva\" onmouseout=\"this.className='opcionMenuNoActiva'\" onmouseover=\"this.className='opcionMenuActiva'\">								");
			document.write("												<td style=\"padding-left:10px;\"><a class=\"enlaceOpcionMenu\" href='planta_tratamiento_rcd.html' >Planta de Tratamiento</a></td>");
			document.write("											</tr>");
			document.write("											<tr class=\"opcionMenuNoActiva\" onmouseout=\"this.className='opcionMenuNoActiva'\" onmouseover=\"this.className='opcionMenuActiva'\">								");
			document.write("												<td style=\"padding-left:10px;\"><a class=\"enlaceOpcionMenu\" href='deposito_rechazo_planta.html' >Depósito</a></td>");
			document.write("											</tr>");
			document.write("											<tr class=\"opcionMenuNoActiva\" onmouseout=\"this.className='opcionMenuNoActiva'\" onmouseover=\"this.className='opcionMenuActiva'\">								");
			document.write("												<td style=\"padding-left:10px;\"><a class=\"enlaceOpcionMenu\" href='proceso_reciclado_rcd.html' >Proceso Productivo</a></td>");
			document.write("											</tr>");
			document.write("											<tr class=\"opcionMenuNoActiva\" onmouseout=\"this.className='opcionMenuNoActiva'\" onmouseover=\"this.className='opcionMenuActiva'\">								");
			document.write("												<td style=\"padding-left:10px;\"><a class=\"enlaceOpcionMenu\" href='complejo_tratamiento_rcd_cifras.html' >El Complejo en cifras</a></td>");
			document.write("											</tr>");
			document.write("											</table>");
			document.write("										</td>");
			document.write("									</tr>");
			document.write("									</table>");
			document.write("								 </div>");
			document.write("					</div>");
			document.write("			<div id=\"menu2\" style=\"position:absolute; top:90px;left:50%;width:16%; height:20px; z-index:0; visibility: visible;\" class=separadorMenuNoActivo style=\"cursor:hand\" onmouseover=\"javascript:mostrar(2);\" onmouseout=\"javascript:ocultar();\">						");
			document.write("			<table cellspacing=0 cellpadding=0 width=100%>");
			document.write("				<tr>");
			document.write("					<td valign=\"middle\" align=\"center\" height=20 width=\"100%\">");
			document.write("						<a href=\"#\" class=\"menuPrincipal\">Productos</a></td>");
			document.write("				</tr>");
			document.write("			</table>			");
			document.write("				<div id=\"id2\" style=\"position:relative; left:0px; top:0px; width:140px; height:20px; z-index:0; display:none;\" class=\"bordeMenu\">");
			document.write("				<table width=\"100%\" align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
			document.write("				<tr> ");
			document.write("						<td> ");
			document.write("						  <table width=\"100%\" border=\"0\" cellpadding=\"2\" cellspacing=\"0\" class=\"bordeMenuInterior\">");
			document.write("								<tr class=\"opcionMenuNoActiva\" onmouseout=\"this.className='opcionMenuNoActiva'\" onmouseover=\"this.className='opcionMenuActiva'\">								");
			document.write("									<td style=\"padding-left:10px;\"><a class=\"enlaceOpcionMenu\" href='aridos_reciclados.html' >Áridos reciclados</a></td>");
			document.write("								</tr>");
			document.write("								<tr class=\"opcionMenuNoActiva\" onmouseout=\"this.className='opcionMenuNoActiva'\" onmouseover=\"this.className='opcionMenuActiva'\">								");
			document.write("									<td style=\"padding-left:10px;\"><a class=\"enlaceOpcionMenu\" href='otros_productos_reciclados.html' >Otros productos</a></td>");
			document.write("								</tr>");
			document.write("								</table>");
			document.write("							</td>");
			document.write("						</tr>");
			document.write("						</table>");
			document.write("			</div>");
			document.write("			</div>");
			document.write("			<div id=\"menu3\" style=\"position:absolute; top:90px;left:72%;width:16%; height:20px; z-index:0; visibility: visible;\" class=separadorMenuNoActivo style=\"cursor:hand\" onmouseover=\"javascript:mostrar(3);\" onmouseout=\"javascript:ocultar();\">						");
			document.write("			<table cellspacing=0 cellpadding=0 width=100%>");
			document.write("				<tr>");
			document.write("					<td valign=\"middle\" align=\"center\" height=20 width=\"100%\">");
			document.write("						<a href=\"#\" class=\"menuPrincipal\">Tarifas</a></td>");
			document.write("				</tr>");
			document.write("			</table>			");
			document.write("				<div id=\"id3\" style=\"position:relative; left:0px; top:0px; width:215px; height:20px; z-index:0; display:none;\" class=\"bordeMenu\">");
			document.write("				<table width=\"100%\" align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
			document.write("				<tr> ");
			document.write("						<td> ");
			document.write("						  <table width=\"100%\" border=\"0\" cellpadding=\"2\" cellspacing=\"0\" class=\"bordeMenuInterior\">");
			document.write("								<tr class=\"opcionMenuNoActiva\" onmouseout=\"this.className='opcionMenuNoActiva'\" onmouseover=\"this.className='opcionMenuActiva'\">								");
			document.write("									<td style=\"padding-left:10px;\"><a class=\"enlaceOpcionMenu\" href='#' onclick=\"abrirDocumentacion('TARIFA_DE_PRECIOS_2012.pdf');\">Planta de Tratamiento de Navalcarnero</a></td>");
			document.write("								</tr>");
			document.write("								<tr class=\"opcionMenuNoActiva\" onmouseout=\"this.className='opcionMenuNoActiva'\" onmouseover=\"this.className='opcionMenuActiva'\">								");
			document.write("									<td style=\"padding-left:10px;\"><a class=\"enlaceOpcionMenu\" href='#' onclick=\"abrirDocumentacion('TARIFA_DE_PRECIOS_SM_2012.pdf');\">Centro de San Martín de Valdeiglesias</a></td>");
			document.write("								</tr>");
			document.write("								</table>");
			document.write("							</td>");
			document.write("						</tr>");
			document.write("						</table>");
			document.write("			</div>");
			document.write("			</div>");
			document.write("			<div id=\"menu4\" style=\"position:absolute; top:90px;left:59%;width:16%; height:20px; z-index:0; visibility: visible;\" class=separadorMenuNoActivo style=\"cursor:hand\">						");
			document.write("			<table cellspacing=0 cellpadding=0 width=100% border=0>");
			document.write("				<tr>");
			document.write("					<td valign=\"middle\" align=\"center\" height=20 width=\"100%\" nowrap>");
			document.write("						<a href=\"medioambiente.html\" class=\"menuPrincipal\">Medioambiente</a></td>");
			document.write("				</tr>");
			document.write("			</table>			");
			document.write("			</div>");
			document.write("			<div id=\"menu5\" style=\"position:absolute; top:90px;left:82%;width:16%; height:20px; z-index:0; visibility: visible;\" class=separadorMenuNoActivo style=\"cursor:hand\">						");
			document.write("			<table cellspacing=0 cellpadding=0 width=100% border=0>");
			document.write("				<tr>");
			document.write("					<td valign=\"middle\" align=\"center\" height=20 width=\"100%\" nowrap>");
			document.write("						<a href=\"mapaweb.html\" class=\"menuPrincipal\">Mapa Web</a></td>");
			document.write("				</tr>");
			document.write("			</table>			");
			document.write("			</div>");
			document.write("			<div id=\"menu6\" style=\"position:absolute; left:90%; top:90px; width:100%; height:20px; z-index:0; visibility: visible;\" class=separadorMenuNoActivo style=\"cursor:hand\">						");
			document.write("			<table cellspacing=0 cellpadding=0 width=100%>");
			document.write("				<tr>");
			document.write("					<td valign=\"middle\" align=\"center\" height=20 width=\"100%\">");
			document.write("						<a href=\"ute_planta_navalcarnero_contacto.html\" class=\"menuPrincipal\">Contacto</a></td>");
			document.write("				</tr>");
			document.write("			</table>");
			document.write("			</div>");
			document.write("</td>");
			document.write("		</tr>");
			document.write("	</table>");
			document.write("	</td></tr>	");
	}


	function escribeCabeceraTemp() {
		var alto=document.body.clientHeight;
		var ancho=document.body.clientWidth;
		document.write("<div style='overflow:auto;position:absolute;top:0%;left:5%;widht:"+(ancho)+";height:"+(alto)+"' class='barraScroll'>");
		document.write("<table class=\"bordeExteriorTabla\" border=0 cellpadding=\"0\" cellspacing=\"0\" background=\"img/degree.jpg\">");
		document.write("	<a href=\"primera_index.html\"><tr>");
		document.write("		<td align=\"left\" width=\"10%\">&nbsp;&nbsp;<a href=\"primera_index.html\"><img src=\"img/logo_UTE.jpg\" border=\"0\" alt=\"UTE Planta de Navalcarnero\"></a></td>");
		document.write("		<td class=\"tituloG\" width=\"90%\"   style=\"cursor:hand\">UTE PLANTA DE NAVALCARNERO</td>");
		document.write("		<td>&nbsp;</td>");
		document.write("	</tr></a>");
	}

	function escribeMenuTemp() {
			document.write("	<tr><td colspan=\"3\" background=\"img/oben2.jpg\" height=\"23px\">	");
			document.write("		<table width=\"100%\">	");
			document.write("			<tr >	");
			document.write("			<td  width=\"65%\">&nbsp;</td>	");
			document.write("			<td  >&nbsp;</td>");
			document.write("			<td valign=\"bottom\" nowrap>");
			/*document.write("				<div id=\"menu0\" style=\"position:absolute; top:90px;left:30%;width:16%; height:20px; z-index:0; visibility: visible;\" class=separadorMenuNoActivo style=\"cursor:hand\" onmouseover=\"javascript:mostrar(0);\" onmouseout=\"javascript:ocultar();\">	");
			document.write("						<table cellspacing=0 cellpadding=0 width=100% >");
			document.write("							<tr>");
			document.write("								<td valign=\"middle\" align=\"center\" height=20 width=\"100%\">");
			document.write("									<a href=\"#\" class=\"menuPrincipal\">Empresa</a>");
			document.write("								</td>");
			document.write("							</tr>");
			document.write("							</table>									");
			document.write("							<div id=\"id0\" style=\"position:relative; left:-3px; top:0px; width:140px; height:20px; z-index:0; display:none;\" class=\"bordeMenu\">");
			document.write("							<table width=\"100%\" align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
			document.write("							<tr> ");
			document.write("									<td> ");
			document.write("									  <table width=\"100%\" border=\"0\" cellpadding=\"2\" cellspacing=\"0\" class=\"bordeMenuInterior\">");
			document.write("											<tr class=\"opcionMenuNoActiva\" onmouseout=\"this.className='opcionMenuNoActiva'\" onmouseover=\"this.className='opcionMenuActiva'\">								");
			document.write("												<td style=\"padding-left:10px;\"><a class=\"enlaceOpcionMenu\" href='quienes_somos.html' >¿Quiénes somos?</a></td>");
			document.write("											</tr>");
			document.write("											<tr class=\"opcionMenuNoActiva\" onmouseout=\"this.className='opcionMenuNoActiva'\" onmouseover=\"this.className='opcionMenuActiva'\">								");
			document.write("												<td style=\"padding-left:10px;\"><a class=\"enlaceOpcionMenu\" href='empresas_participantes.html' >Empresas Participantes</a></td>");
			document.write("											</tr>");
			document.write("											<tr class=\"opcionMenuNoActiva\" onmouseout=\"this.className='opcionMenuNoActiva'\" onmouseover=\"this.className='opcionMenuActiva'\">								");
			document.write("												<td style=\"padding-left:10px;\"><a class=\"enlaceOpcionMenu\" href='asociaciones_ute.html' >Asociaciones</a></td>");
			document.write("											</tr>");
			document.write("											</table>");
			document.write("										</td>");
			document.write("									</tr>");
			document.write("									</table>");
			document.write("								 </div>");
			document.write("					</div>");
			document.write("				<div id=\"menu1\" style=\"position:absolute; top:90px;left:40%;width:16%; height:20px; z-index:0; visibility: visible;\" class=separadorMenuNoActivo style=\"cursor:hand\" onmouseover=\"javascript:mostrar(1);\" onmouseout=\"javascript:ocultar();\">	");
			document.write("						<table cellspacing=0 cellpadding=0 width=100% >");
			document.write("							<tr>");
			document.write("								<td valign=\"middle\" align=\"center\" height=20 width=\"100%\">");
			document.write("									<a href=\"#\" class=\"menuPrincipal\" nowrap>Complejo</a>");
			document.write("								</td>");
			document.write("							</tr>");
			document.write("							</table>									");
			document.write("							<div id=\"id1\" style=\"position:relative; left:-3px; top:0px; width:140px; height:20px; z-index:0; display:none;\" class=\"bordeMenu\">");
			document.write("							<table width=\"100%\" align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
			document.write("							<tr> ");
			document.write("									<td> ");
			document.write("									  <table width=\"100%\" border=\"0\" cellpadding=\"2\" cellspacing=\"0\" class=\"bordeMenuInterior\">");
			document.write("											<tr class=\"opcionMenuNoActiva\" onmouseout=\"this.className='opcionMenuNoActiva'\" onmouseover=\"this.className='opcionMenuActiva'\">								");
			document.write("												<td style=\"padding-left:10px;\"><a class=\"enlaceOpcionMenu\" href='complejo_tratamiento_rcd.html' >Presentación</a></td>");
			document.write("											</tr>");
			document.write("											<tr class=\"opcionMenuNoActiva\" onmouseout=\"this.className='opcionMenuNoActiva'\" onmouseover=\"this.className='opcionMenuActiva'\">								");
			document.write("												<td style=\"padding-left:10px;\"><a class=\"enlaceOpcionMenu\" href='planta_tratamiento_rcd.html' >Planta de Tratamiento</a></td>");
			document.write("											</tr>");
			document.write("											<tr class=\"opcionMenuNoActiva\" onmouseout=\"this.className='opcionMenuNoActiva'\" onmouseover=\"this.className='opcionMenuActiva'\">								");
			document.write("												<td style=\"padding-left:10px;\"><a class=\"enlaceOpcionMenu\" href='deposito_rechazo_planta.html' >Depósito</a></td>");
			document.write("											</tr>");
			document.write("											<tr class=\"opcionMenuNoActiva\" onmouseout=\"this.className='opcionMenuNoActiva'\" onmouseover=\"this.className='opcionMenuActiva'\">								");
			document.write("												<td style=\"padding-left:10px;\"><a class=\"enlaceOpcionMenu\" href='proceso_reciclado_rcd.html' >Proceso Productivo</a></td>");
			document.write("											</tr>");
			document.write("											<tr class=\"opcionMenuNoActiva\" onmouseout=\"this.className='opcionMenuNoActiva'\" onmouseover=\"this.className='opcionMenuActiva'\">								");
			document.write("												<td style=\"padding-left:10px;\"><a class=\"enlaceOpcionMenu\" href='complejo_tratamiento_rcd_cifras.html' >El Complejo en cifras</a></td>");
			document.write("											</tr>");
			document.write("											</table>");
			document.write("										</td>");
			document.write("									</tr>");
			document.write("									</table>");
			document.write("								 </div>");
			document.write("					</div>");
			document.write("			<div id=\"menu2\" style=\"position:absolute; top:90px;left:50%;width:16%; height:20px; z-index:0; visibility: visible;\" class=separadorMenuNoActivo style=\"cursor:hand\" onmouseover=\"javascript:mostrar(2);\" onmouseout=\"javascript:ocultar();\">						");
			document.write("			<table cellspacing=0 cellpadding=0 width=100%>");
			document.write("				<tr>");
			document.write("					<td valign=\"middle\" align=\"center\" height=20 width=\"100%\">");
			document.write("						<a href=\"#\" class=\"menuPrincipal\">Productos</a></td>");
			document.write("				</tr>");
			document.write("			</table>			");
			document.write("				<div id=\"id2\" style=\"position:relative; left:0px; top:0px; width:140px; height:20px; z-index:0; display:none;\" class=\"bordeMenu\">");
			document.write("				<table width=\"100%\" align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
			document.write("				<tr> ");
			document.write("						<td> ");
			document.write("						  <table width=\"100%\" border=\"0\" cellpadding=\"2\" cellspacing=\"0\" class=\"bordeMenuInterior\">");
			document.write("								<tr class=\"opcionMenuNoActiva\" onmouseout=\"this.className='opcionMenuNoActiva'\" onmouseover=\"this.className='opcionMenuActiva'\">								");
			document.write("									<td style=\"padding-left:10px;\"><a class=\"enlaceOpcionMenu\" href='aridos_reciclados.html' >Áridos reciclados</a></td>");
			document.write("								</tr>");
			document.write("								<tr class=\"opcionMenuNoActiva\" onmouseout=\"this.className='opcionMenuNoActiva'\" onmouseover=\"this.className='opcionMenuActiva'\">								");
			document.write("									<td style=\"padding-left:10px;\"><a class=\"enlaceOpcionMenu\" href='otros_productos_reciclados.html' >Otros productos</a></td>");
			document.write("								</tr>");
			document.write("								</table>");
			document.write("							</td>");
			document.write("						</tr>");
			document.write("						</table>");
			document.write("			</div>");
			document.write("			</div>");
			document.write("			<div id=\"menu4\" style=\"position:absolute; top:90px;left:59%;width:16%; height:20px; z-index:0; visibility: visible;\" class=separadorMenuNoActivo style=\"cursor:hand\">						");
			document.write("			<table cellspacing=0 cellpadding=0 width=100% border=0>");
			document.write("				<tr>");
			document.write("					<td valign=\"middle\" align=\"center\" height=20 width=\"100%\" nowrap>");
			document.write("						<a href=\"medioambiente.html\" class=\"menuPrincipal\">Medioambiente</a></td>");
			document.write("				</tr>");
			document.write("			</table>			");
			document.write("			</div>");
			document.write("			<div id=\"menu3\" style=\"position:absolute; top:90px;left:72%;width:16%; height:20px; z-index:0; visibility: visible;\" class=separadorMenuNoActivo style=\"cursor:hand\" onmouseover=\"javascript:mostrar(3);\" onmouseout=\"javascript:ocultar();\">						");
			document.write("			<table cellspacing=0 cellpadding=0 width=100%>");
			document.write("				<tr>");
			document.write("					<td valign=\"middle\" align=\"center\" height=20 width=\"100%\">");
			document.write("						<a href=\"#\" onclick=\"abrirDocumentacion('TARIFA_DE_PRECIOS_2008.pdf');\" class=\"menuPrincipal\">Tarifas</a></td>");
			document.write("				</tr>");
			document.write("			</table>			");
			document.write("			</div>");
			document.write("			<div id=\"menu4\" style=\"position:absolute; top:90px;left:82%;width:16%; height:20px; z-index:0; visibility: visible;\" class=separadorMenuNoActivo style=\"cursor:hand\">						");
			document.write("			<table cellspacing=0 cellpadding=0 width=100% border=0>");
			document.write("				<tr>");
			document.write("					<td valign=\"middle\" align=\"center\" height=20 width=\"100%\" nowrap>");
			document.write("						<a href=\"mapaweb.html\" class=\"menuPrincipal\">Mapa Web</a></td>");
			document.write("				</tr>");
			document.write("			</table>			");
			document.write("			</div>");
			document.write("			<div id=\"menu5\" style=\"position:absolute; left:90%; top:90px; width:100%; height:20px; z-index:0; visibility: visible;\" class=separadorMenuNoActivo style=\"cursor:hand\">						");
			document.write("			<table cellspacing=0 cellpadding=0 width=100%>");
			document.write("				<tr>");
			document.write("					<td valign=\"middle\" align=\"center\" height=20 width=\"100%\">");
			document.write("						<a href=\"ute_planta_navalcarnero_contacto.html\" class=\"menuPrincipal\">Contacto</a></td>");
			document.write("				</tr>");
			document.write("			</table>");
			document.write("			</div>");*/
			document.write("</td>");
			document.write("		</tr>");
			document.write("	</table>");
			document.write("	</td></tr>	");
	}

	function escribeSubMenuComplejo() {
		document.write("&nbsp;&nbsp;<a class=\"enlace\" href=\"reciclado_rcd_limpio.html\" alt='Tratamiento de RCD limpio'>· RCD limpio</a>");
		document.write("<br><br>&nbsp;&nbsp;<a class=\"enlace\" href=\"reciclado_rcd_mezclado.html\" alt='Tratamiento de RCD mezclado'>· RCD mezclado</a>");

	}


