function mmLoadMenus(ruta){

var cadena = '/paginas/'+ruta;
//menu de la izquierda cuando "donde donar" esta abierto
document.write("      <table width='100%' border='0' cellspacing='0' cellpadding='2'>");
document.write("		<tr><td colspan='2' class='tit-indice'>Menú Principal</td></tr>");
document.write("        <tr>");
document.write("          <td width='4%' valign='top' align='left'><img src='/images/cuadradoNEGRO.gif' width='6' height='10'></td>");
if (ruta=="val") document.write('          <td width="96%"><a href="'+cadena+'/quees.htm" class="indice">Qu&egrave; &eacute;s?</a></td>');
else             document.write('          <td width="96%"><a href="'+cadena+'/quees.htm" class="indice">&iquest;Qu&eacute;&nbsp;es?</a></td>');
document.write("        </tr>");
document.write("        <tr>");
document.write("          <td width='4%' valign='top' align='left'><img src='/images/cuadradoNEGRO.gif' width='6' height='10'></td>");
if (ruta=="val") document.write('          <td width="96%"><a href="'+cadena+'/dondeesta.htm" class="indice">On&nbsp;es&nbsp;troba?</a></td>');
else document.write('          <td width="96%"><a href="'+cadena+'/dondeesta.htm" class="indice">&iquest;D&oacute;nde&nbsp;se&nbsp;encuentra?</a></td>');
document.write("        </tr>");

document.write("        <tr>");
document.write("          <td width='4%' valign='top' align='left'><img src='/images/cuadradoNEGRO.gif' width='6' height='10'></td>");
if (ruta=="val") document.write('          <td width="96%"><a href="'+cadena+'/queservicios.htm" class="indice">Quins servicis presta?</a></td>');
else document.write('          <td width="96%"><a href="'+cadena+'/queservicios.htm" class="indice">¿Qu&eacute;&nbsp;servicios&nbsp;presta?</a></td>');
document.write("        </tr>");
document.write("        <tr>");
document.write("          <td width='4%' valign='top' align='left'><img src='/images/cuadradoNEGRO.gif' width='6' height='10'></td>");
if (ruta=="val") document.write('         <td width="96%"><a href="'+cadena+'/actividad.htm" class="indice">Activitat</a></td>');
else document.write('         <td width="96%"><a href="'+cadena+'/actividad.htm" class="indice">Actividad</a></td>');
document.write("        </tr>");
document.write("        <tr>");
document.write("          <td width='4%' valign='top' align='left'><img src='/images/cuadradoNEGRO.gif' width='6' height='10'></td>");
if (ruta=="val") document.write('          <td width="96%"><a href="'+cadena+'/calidad.htm" class="indice">Comprom&iacute;s de qualitat</a></td>');
else document.write('          <td width="96%"><a href="'+cadena+'/calidad.htm" class="indice">Compromiso de calidad</a></td>');
document.write("        </tr>");
document.write("        <tr>");
document.write("          <td width='4%' valign='top' align='left'><img src='/images/cuadradoNEGRO.gif' width='6' height='10'></td>");
if (ruta=="val") document.write('          <td width="96%"><a href="'+cadena+'/informacionbasica.htm" class="indice">Informació bàsica per a la donació</a></td>');
else document.write('          <td width="96%"><a href="'+cadena+'/informacionbasica.htm" class="indice">Información básica para la donación</a></td>');
document.write("        </tr>");
/*
document.write("        <tr>");
document.write("          <td width='4%' valign='top' align='left'><img src='/images/cuadradoNEGRO.gif' width='6' height='10'></td>");
if (ruta=="val") document.write('          <td width="96%"><a href="'+cadena+'/queesdonarsangre.htm" "indice">En qu&egrave; consistix la donaci&oacute;?</a></td>');
else document.write('          <td width="96%"><a href="'+cadena+'/queesdonarsangre.htm" "indice">&iquest;En qu&eacute; consiste la donaci&oacute;n de sangre?</a></td>');
document.write("        </tr>");
document.write("        <tr>");
document.write("          <td width='4%' valign='top' align='left'><img src='/images/cuadradoNEGRO.gif' width='6' height='10'></td>");
if (ruta=="val") document.write('          <td width="96%"><a href="'+cadena+'/dondedonarsangre.htm" "indice"><font color="#7D0004">On es pot donar sang?</font></a></td>');
else document.write('          <td width="96%"><a href="'+cadena+'/dondedonarsangre.htm" "indice"><font color="#7D0004">?D&oacute;nde se puede donar sangre?</font></a></td>');
document.write("        </tr>");*/


document.write("		<tr>");
document.write("          <td width='4%' valign='top' align='left'>&nbsp;</td>");
document.write("          <td width='96%' valign='top'>");
document.write("            <table width='95%' border='0' cellspacing='0' cellpadding='0'>");
document.write("              <tr>");
document.write("                <td width='5%'>&nbsp;</td>");
document.write("                <td width='5%' valign='top' align='center'><img src='/images/flecha.gif' width='3' height='10'></td>");
document.write('<td width="90%" valign="top"><a href="'+cadena+'/queesdonarsangre.htm" class="indice">');
		if (nombrePagina=="queesdonarsangre") document.write("<font color='#7D0004'>");
			if (ruta=="val") document.write("En qu&egrave; consistix la donaci&oacute;?");
			else  			 document.write("&iquest;En qu&eacute; consiste la donaci&oacute;n?");
		if (nombrePagina=="queesdonarsangre") document.write("</font>");
document.write("</a></td>");
document.write("              </tr></table></td></tr>");


document.write("		<tr>");
document.write("          <td width='4%' valign='top' align='left'>&nbsp;</td>");
document.write("          <td width='96%' valign='top'>");
document.write("            <table width='95%' border='0' cellspacing='0' cellpadding='0'>");
document.write("              <tr>");
document.write("                <td width='5%'>&nbsp;</td>");
document.write("                <td width='5%' valign='top' align='center'><img src='/images/flecha.gif' width='3' height='10'></td>");
document.write('<td width="90%" valign="top"><a href="'+cadena+'/dondedonarsangre.htm" class="indice">');
	if (nombrePagina=="dondedonarsangre") document.write("<font color='#7D0004'>");
		if (ruta=="val") document.write("On es pot donar sang? ");
		else             document.write("&iquest;D&oacute;nde se puede donar sangre?");
	if (nombrePagina=="dondedonarsangre") document.write("</font>");
document.write("</a></td>");
document.write("              </tr></table></td></tr>");







if (nombrePagina!="dondedonarsangre")
{
cadena = '../../'+ruta;
document.write("		<tr>");
document.write("          <td width='4%' valign='top' align='left'>&nbsp;</td>");
document.write("          <td width='96%' valign='top'>");
document.write("            <table width='95%' border='0' cellspacing='0' cellpadding='0'>");
document.write("              <tr>");
document.write("                <td width='5%'>&nbsp;</td>");
document.write("                <td width='15%' valign='top' align='right'><img src='/images/flecha.gif' width='3' height='10'></td>");
document.write('                <td width="90%" valign="top"><a href="'+cadena+'/dondedonar/dondecastellon.jsp" class="subindice">');
if (nombrePagina=="dondecastellon") document.write("<font color='#7D0004'>");
   if (ruta=="val") document.write("&nbsp;Castelló");
   else document.write("&nbsp;Castellón");
if (nombrePagina=="dondecastellon") document.write("</font>");
document.write("</a></td>");
document.write("              </tr>");
document.write("              <tr>");
document.write("                <td width='5%'>&nbsp;</td>");
document.write("                <td width='15%' valign='top' align='right'><img src='/images/flecha.gif' width='3' height='10'></td>");
document.write('                <td width="90%" valign="top"><a href="'+cadena+'/dondedonar/dondevalencia.jsp" class="subindice">');
if (nombrePagina=="dondevalencia") document.write("<font color='#7D0004'>");
	if (ruta=="val") document.write("&nbsp;València");
	else document.write("&nbsp;Valencia");
if (nombrePagina=="dondevalencia") document.write("</font>");
document.write("</a></td>");
document.write("              </tr>");
document.write("              <tr>");
document.write("                <td width='5%'>&nbsp;</td>");
document.write("                <td width='15%' valign='top' align='right'><img src='/images/flecha.gif' width='3' height='10'></td>");
document.write('                <td width="90%" valign="top"><a href="'+cadena+'/dondedonar/dondealicante.jsp" class="subindice">');
if (nombrePagina=="dondealicante") document.write("<font color='#7D0004'>");
	if (ruta=="val") document.write("&nbsp;Alacant");
	else document.write("&nbsp;Alicante");
if (nombrePagina=="dondealicante") document.write("</font>");
document.write("</a></td>");
document.write("              </tr>");
document.write("            </table>");
document.write("          </td>");
document.write("        </tr>");
}
var cadena = '/paginas/'+ruta;
document.write("		<tr>");
document.write("          <td width='4%' valign='top' align='left'>&nbsp;</td>");
document.write("          <td width='96%' valign='top'>");
document.write("            <table width='95%' border='0' cellspacing='0' cellpadding='0'>");
document.write("              <tr>");
document.write("                <td width='5%'>&nbsp;</td>");
document.write("                <td width='5%' valign='top' align='center'><img src='/images/flecha.gif' width='3' height='10'></td>");
document.write('<td width="90%" valign="top"><a href="'+cadena+'/quiendonarsangre.htm" class="indice">');
	if (nombrePagina=="quiendonarsangre") document.write("<font color='#7D0004'>");
		if (ruta=="val") document.write("Qui pot donar sang? ");
		else 			 document.write("&iquest;Qui&eacute;n puede donar sangre? ");
	if (nombrePagina=="quiendonarsangre") document.write("</font>");
document.write("</a></td>");
document.write("              </tr></table></td></tr>");







document.write("        <tr>");
document.write("          <td width='4%' valign='top' align='left'><img src='/images/cuadradoNEGRO.gif' width='6' height='10'></td>");
if (ruta=="val") document.write('            <td width="96%"><a href="'+cadena+'/enlacesinteres.htm" class="indice">Enlla&ccedil;os interessants</a></td>');
else document.write('            <td width="96%"><a href="'+cadena+'/enlacesinteres.htm" class="indice">Enlaces de inter&eacute;s</a></td>');
document.write("        </tr>");


document.write("        <tr>");
document.write("          <td width='4%' valign='top' align='left'><img src='/images/cuadradoNEGRO.gif' width='6' height='10'></td>");
if (ruta=="val") document.write('            <td width="96%"><a href="'+cadena+'/federacionDonantes.htm" class="indice">Federaci&oacute; de Donants</a></td>');
else document.write('            <td width="96%"><a href="'+cadena+'/federacionDonantes.htm" class="indice">Federaci&oacute;n de Donantes</a></td>');
document.write("        </tr>");

document.write("			<tr>");
document.write("				<td colspan='2'>&nbsp;</td>");
document.write("			</tr>");
document.write("			<tr>");
document.write("				<td width='4%' valign='top' align='left'></td>");

if (ruta=="val")document.write("								<td width='96%'><a href= 'mailto:hemodonacion_castellon@gva.es' class='indice'><img border=0 align = 'top' src='../../images/correo.png' width='16px' height='16px'>  Contacte donaci&oacute Castell&oacute</a></td>");
else document.write("				<td width='96%'><a href= 'mailto:hemodonacion_castellon@gva.es' class='indice'><img border=0 align = 'top' src='../../images/correo.png' width='16px' height='16px'>  Contacto donaci&oacuten Castell&oacuten</a></td>");

//if (ruta=="val") document.write("				<td width='96%'><a href='mailto:hemodonacion_castellon@gva.es' class='indice'>Contacte per a donacions a Castell&oacute;</a></td>");
//else 			 document.write("				<td width='96%'><a href='mailto:hemodonacion_castellon@gva.es' class='indice'>Contacto donaci&oacute;n Castell&oacute;n</a></td>");

document.write("			</tr>");
document.write("			<tr>");
document.write("				<td width='4%' valign='top' align='left'></td>");

if (ruta=="val")document.write("								<td width='96%'><a href= 'mailto:hemodonacion_valencia@gva.es' class='indice'><img border=0 align = 'top' src='../../images/correo.png' width='16px' height='16px'>  Contacte donaci&oacute Val&egrave;ncia</a></td>");
else document.write("				<td width='96%'><a href= 'mailto:hemodonacion_valencia@gva.es' class='indice'><img border=0 align = 'top' src='../../images/correo.png' width='16px' height='16px'>  Contacto donaci&oacuten Valencia</a></td>");

//if (ruta=="val") document.write("				<td width='96%'><a href='mailto:hemodonacion_valencia@gva.es' class='indice'>Contacte per a donacions a Val&egrave;ncia</a></td>");
//else 			 document.write("				<td width='96%'><a href='mailto:hemodonacion_valencia@gva.es' class='indice'>Contacto donaci&oacute;n Valencia</a></td>");

document.write("			</tr>");
document.write("			<tr>");
document.write("				<td width='4%' valign='top' align='left'></td>");

if (ruta=="val")document.write("								<td width='96%'><a href= 'mailto:hemodonacion_alicante@gva.es' class='indice'><img border=0 align = 'top' src='../../images/correo.png' width='16px' height='16px'>  Contacte donaci&oacute Alacant</a></td>");
else document.write("				<td width='96%'><a href= 'mailto:hemodonacion_alicante@gva.es' class='indice'><img border=0 align = 'top' src='../../images/correo.png' width='16px' height='16px'>  Contacto donaci&oacuten Alicante</a></td>");

//if (ruta=="val") document.write("				<td width='96%'><a href='mailto:hemodonacion_alicante@gva.es' class='indice'>Contacte per a donacions a Alacant</a></td>");
//else 			 document.write("				<td width='96%'><a href='mailto:hemodonacion_alicante@gva.es' class='indice'>Contacto donaci&oacute;n Alicante</a></td>");

document.write("			</tr>");
document.write("      </table>");
}

