   // --- cmenus.js  versión 1.58 -- castellano ---------------------------------------------------------------------------------

   // Cambios de la version 1.58 ------------------------------------------------------------
   //   Quita el espacio en blanco que aparecía en iExplorer al poner la caja de busqueda
   // Cambios de la version 1.57 ------------------------------------------------------------
   //   Quita el espacio en blanco que aparecía debajo de la cabecera
   // Cambios de la version 1.56 ------------------------------------------------------------
   //   Se puede añadir en la barra de botones la opción de buscar dentro del web
   // Cambios de la version 1.55 ------------------------------------------------------------
   //   Las urls de las imagenes comunes se ponen absolutas a http://www.ua.es si no estamos
   //   en www.ua.es
   // Cambios de la version 1.54 ------------------------------------------------------------
   //   Arregla el error de la fecha de actualización al visualizarlo con NS 4.x
   // Cambios de la version 1.53 ------------------------------------------------------------
   //   A la hora llamar a la funcion MostrarBarra podemos indicarle el color de fondo como
   //   primer argumento, si no ponemos nada será el azul por defecto MostrarBarra("#FFFFFF")
   // Cambios de la version 1.52 ------------------------------------------------------------
   //   Si algun elemento del menuItem no tiene enlace solo se muestra el boton desactivado
   //   Si en algun elemento de barraItem no tiene enlace solo se muestra el boton desactivado
   // Cambios de la version 1.51 ------------------------------------------------------------
   //   Si hay algun enlace de un elemento del menu o de la barra de botones que empieza 
   //   por / no lo concatena con la url raiz
   // Cambios de la version 1.5 -------------------------------------------------------------
   //   Se puede poner un array de imagenes para la cabecera que irán cambiando dinamicamente
   
   
   
// Function cabecera: presenta la cabecera de la pagina
// Function pie: pues lo mismo pero con el pie
// ListaItems: Son los datos del menu de la izquierda
// ListaItemsHab: Datos de la izquierda del menu de la Habana
// ListaItemMag: Datos de la izquieda del menu de Magreb
// barraBotones: Botones de la parte alta de la pagina
// function BarraIdiomas: la barra donde se muestran los distintos idiomas

   var raiz
   var mantenidaPor
   var mailMantenim
   var prePieComun
   var listaItems
   var barraBotones
   var listaImagenes  
   var inicioUrl
   var cajaBusqueda 
   var buscar    // Botón de buscar

   if (window.location.href.indexOf("www.ua.es/")>=0) inicioUrl = ""
   else inicioUrl = "http://www.ua.es"
  
  
cajaBusqueda = true // Activamos la caja de busqueda
 
 
   // ------- Clase menuItem --------------------------------------------------------------------------------------------------   
   // Almacena un elemento del menu
   function menuItem (elNombre, elAncho, elAlto, laUrl, laInfo, elSubMenu) {
      this.nombre    = elNombre;      // Nombre de la imagen
	  this.url       = laUrl;         // Url destino de pinchar en el elento
	  this.info      = laInfo;        // Información de destino (alt)
	  this.pinta     = pintaItem;     // Funcion que genera el codigo del item
	  this.separador = pintaRaya;     // Método que genera el código del separador de los elementos del menu	  
	  this.imagenOn  = new Image (elAncho, elAlto);   // Imagen cuando el boton está activado
	  this.imagenOff = new Image (elAncho, elAlto);   // Imagen cuando el boton está desactivado
	  this.imagenOn.src  = raiz + "images/" + elNombre + "a.gif";
	  this.imagenOff.src = raiz + "images/" + elNombre + ".gif";	  
	  this.subMenu = elSubMenu
   }

   // Metodo que genera el codigo html de un elemento del menu
   // Se le pasa el nombre javascript para llegar al objeto 
   function pintaItem (nombreObj) {
	  document.write("<tr BGCOLOR=\"#FFFFFF\">");
      document.write("  <td ALIGN=\"left\" VALIGN=\"top\">");
 //Se insertan los cambios de color en el menu
      if (this.url.length > 0) {
         if ((this.url.substr(0,4)=="http") || (this.url.substr(0,1)=="/")) document.write ("<a href=\"" + this.url +"\" ");
         else document.write ("<a href=\"" + raiz + this.url +"\" ");
         document.write("    onMouseover=\"document['" +this.nombre+ "'].src = " + nombreObj + ".imagenOn.src\"  ");
         document.write("    onMouseout=\"document['" +this.nombre+ "'].src = " + nombreObj + ".imagenOff.src\"  ");
         document.write(" class=\"textoMenu\">");
      }
 	  document.write("<img src=\""+raiz+"images/" +this.nombre+".gif\"" );
      document.write("     name=\"" + this.nombre+ "\" " );
      document.write("     alt=\"" + this.info + "\" ");
      document.write("     title=\"" + this.info + "\" ");
	  document.write("       nosave=\"\"");
      document.write("     border=\"0\"");
      document.write("     height=\"" +this.imagenOn.height+ "\"");
      document.write("     width=\"" +this.imagenOn.width+ "\">");
      if (this.url.length > 0) document.write("</a>");
      document.write("</td>");
      document.write("</tr>");
   }
   
   // Metodo que genera el codigo html de el separador de los elementos del menu
   function pintaRaya () {
      document.write("<tr BGCOLOR=\"#FFFFFF\">");
      document.write("  <td ALIGN=\"left\" VALIGN=\"top\"><img src=\""+raiz+"images/raya.gif\" border=\"0\" width=\"161\" height=\"1\"></td>");
      document.write("</tr>");
   }
   // ----------- Fin clase menuItem -------------------------------------------------------------------------------------------

   
   // ------- Clase barraItem --------------------------------------------------------------------------------------------------   
   // Almacena un elemento de la barra de enlaces
   function barraItem (elNombre, elAncho, elAlto, laUrl, laInfo) {
      this.nombre    = elNombre;        // Nombre de la imagen
	  this.url       = laUrl;           // Url destino de pinchar en el elento
	  this.info      = laInfo;          // Información de destino (alt)
	  this.pinta     = pintaBarraItem;  // Método que genera el codigo del item
	    this.imagenOn  = new Image (elAncho, elAlto);
	  this.imagenOff = new Image (elAncho, elAlto);
	  this.imagenOn.src  = raiz + "images/" + elNombre + "a.gif";
	  this.imagenOff.src = raiz + "images/" + elNombre + ".gif";	  
   }
   
   // Metodo que genera el codigo html de un elemento de la barra de navegacion
   // Se le pasa el nombre javascript para llegar al objeto 
function pintaBarraItem (nombreObj) {
      if (this.url.length > 0) {
	     if ((this.url.substr(0,4)=="http") || (this.url.substr(0,1)=="/")) 
		    document.write ("<a href=\"" + this.url +"\" ");
	     else 
		    document.write ("<a href=\"" +raiz + this.url +"\" ");
	     document.write("         onMouseover=\"document['" +this.nombre+ "'].src = " + nombreObj + ".imagenOn.src\"  ");
	     document.write("         onMouseout=\"document['" +this.nombre+ "'].src = " + nombreObj + ".imagenOff.src\"  ");
	     document.write("      >");
	  }
	  document.write("<img src=\""+raiz+"images/" +this.nombre+".gif\"" );
	  document.write("            name=\"" + this.nombre+ "\" " );
	  document.write("            alt=\"" + this.info + "\" ");
	  document.write("            title=\"" + this.info + "\" ");	  
	  document.write("            border=\"0\"");
      document.write("            hspace=\"5\"");	  
	  document.write("            height=\"" +this.imagenOn.height+ "\"");
	  document.write("            width=\"" +this.imagenOn.width+ "\">");
      if (this.url.length > 0) document.write("</a>");
   }

   // ----------- Fin clase barraItem -------------------------------------------------------------------------------------------

   
   // ------- Clase imagenItem --------------------------------------------------------------------------------------------------   
   // Almacena una imagen del menu
   function imagenItem (elNombre, laUrl, laInfo) {
      this.nombre    = elNombre;      // Nombre de la imagen
      this.url       = laUrl;         // Url destino de pinchar en el elento
	  this.info      = laInfo;        // Información de destino (alt)
	  this.pinta     = pintaImagen    // Funcion que genera el codigo del item
  }
   // Metodo que genera el codigo html de un elemento de imagen
   function pintaImagen () {
      document.write("<tr BGCOLOR=\"#FFFFFF\">");
      document.write("  <td ALIGN=\"left\" VALIGN=\"top\">&nbsp;</td>");
      document.write("</tr>");
      document.write("<tr BGCOLOR=\"#FFFFFF\">");
      document.write("  <td ALIGN=\"center\" VALIGN=\"top\"><a href=\"" + this.url + "\"");
	  document.write("><img src=\""+raiz+"images/" + this.nombre + ".gif\" ");
	  document.write("      alt=\"" + this.info + "\" ");
	  document.write("      title=\"" + this.info + "\" ");
	  document.write("      nosave=\"\" ");
	  document.write("      border=\"0\"></a></td>");

document.write("</tr>");
   }
   // ----------- Fin clase imagenItem -------------------------------------------------------------------------------------------

   
   // Muestra la barra de navegacion superior
   function MostrarBarra(colorFondo) {
      if (colorFondo === undefined) colorFondo = "#D8E5EA"
	  document.write("<DIV align=\"center\">");
	  document.write("<TABLE border=0 cellspacing=0 cellpadding=0 width=\"682\" bgcolor=\"#ffffff\" summary=\"\">");
      // Miro si hay barra de botones o no
	  if (barraBotones === undefined) {
         document.write("  <tr>");
		 if (cajaBusqueda!=true)
            document.write("<td ALIGN=\"LEFT\" VALIGN=\"CENTER\">&nbsp;</td>");
      }	  
	  else {
	     document.write("  <TR>");
	     document.write("    <TD bgcolor=\"" + colorFondo + "\" align=\"LEFT\" valign=\"center\" height=1>");
	     for (i=0; i<barraBotones.length; i++) {
//Metemos dos imagenes antes y despues de la barra de separacion para hacer separaciones
document.write("<IMG SRC=\"" + raiz + "images/punto.gif\" ALT=\"\" width=1>")
if (i>0) document.write("<IMG SRC=\"" + raiz + "images/bs2.gif\" ALT=\"\" width=1>");
		    barraBotones[i].pinta("barraBotones["+i+"]");  // Pinto el elemento de la barra
	     }
	     document.write("</TD>");
	  }
	  if (cajaBusqueda == true) {
	     document.write("<FORM name=\"fbuscar\" id=\"fbuscar\" method=\"post\" action=\"http://buscador.cpd.ua.es/cgi-bin/htdig/htsearch\" onsubmit=\"return comprobarPalabras()\">");
		 document.write("<INPUT type=\"hidden\" name=\"restrict\" value=\"" + raiz + "\">");
		 document.write("<td bgcolor=\"" + colorFondo + "\" align=\"right\" valign=\"center\">");
         document.write("<input type=\"text\" name=\"words\" value=\"\" size=\"6\">");
		 document.write("<a href=\"javascript:comprobar2();\" onMouseOver=\"activa('buscar','buscara')\" onMouseOut=\"activa('buscar','buscar')\">");
		 document.write("<img SRC=\""+imagenes+"buscar.gif\" NAME=\"buscar\" ALT=\"Buscar\" NOSAVE BORDER=0 height=17 width=64></a>");
         document.write("</td>");
		 document.write("</FORM>");		 
	  } 
      document.write("  </TR>");
	  document.write("</TABLE>");
	  document.write("</DIV>");
	  
   }
    // --- Funciones para la caja de buscar
    function activa(img1,img2) {
       document[img1].src = eval(img2 + ".src");
    }

    function comprobar2() {
        if (comprobarPalabras())
                document.fbuscar.submit()
        else return
    }

    function comprobarPalabras() {
        arrayofcadenas= document.fbuscar.words.value.split(" ");
        Si=0;
        for (var i=0; i<arrayofcadenas.length; i++)
              if (arrayofcadenas[i].length>2) {
                      Si=1;
                      break;
              }
        if (Si==1) return true;
        else {
                alert("Introduzca palabras más largas");
                return false;
        }
    }
   

   // Maximo 3 subniveles
   // @param indice El indice dentro de listaItems del elemento del menu que va a estar desplegado
   // @param subIndice El indice dentro de listaItems[indice].submenu del elemento del subMenu que va a estar desplegado
   function MostrarMenus(indice, subIndice) {
      document.write("<table BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=\"100%\" summary=\"Menús\">");
      for (i=0; i<listaItems.length; i++) {
          if (i>0) listaItems[i].separador(); // pinto una separación
	      listaItems[i].pinta("listaItems["+i+"]"); // Pinto el elemento del menu
		  // Recorro los submenus y los pinto si es el indice que se envia
		  if (i==indice && listaItems[i].subMenu != null) 
		     for(j=0; j<listaItems[i].subMenu.length; j++) {
			    listaItems[i].subMenu[j].pinta("listaItems["+i+"].subMenu["+j+"]");
			    // Recorro los subsubmenus y los pinto si es el subIndice que se recibo
		        if (j==subIndice && listaItems[i].subMenu[j].subMenu != null) 
		           for(k=0; k<listaItems[i].subMenu[j].subMenu.length; k++) 
			          listaItems[i].subMenu[j].subMenu[k].pinta("listaItems["+i+"].subMenu["+j+"].subMenu["+k+"]");
			 }
      }
      if (!(listaImagenes === undefined))    // Si hay imagenes las pinto
         for (i=0; i<listaImagenes.length; i++) 
	         listaImagenes[i].pinta(); // Pinto el elemento del menu
      document.write("</table>");
   }
   //mostrar menus del programa Habana
      function MostrarMenusHab(indice, subIndice) {
      document.write("<table BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=\"100%\" summary=\"Menús\">");
      for (i=0; i<listaItemsHab.length; i++) {
          if (i>0) listaItemsHab[i].separador(); // pinto una separación
	      listaItemsHab[i].pinta("listaItemsHab["+i+"]"); // Pinto el elemento del menu
		  // Recorro los submenus y los pinto si es el indice que se envia
		  if (i==indice && listaItemsHab[i].subMenu != null) 
		     for(j=0; j<listaItemsHab[i].subMenu.length; j++) {
			    listaItemsHab[i].subMenu[j].pinta("listaItemsHab["+i+"].subMenu["+j+"]");
			    // Recorro los subsubmenus y los pinto si es el subIndice que se recibo
		        if (j==subIndice && listaItemsHab[i].subMenu[j].subMenu != null) 
		           for(k=0; k<listaItemsHab[i].subMenu[j].subMenu.length; k++) 
			          listaItemsHab[i].subMenu[j].subMenu[k].pinta("listaItemsHab["+i+"].subMenu["+j+"].subMenu["+k+"]");
			 }
      }
      if (!(listaImagenes === undefined))    // Si hay imagenes las pinto
         for (i=0; i<listaImagenes.length; i++) 
	         listaImagenes[i].pinta(); // Pinto el elemento del menu
      document.write("</table>");
   }
   
//mostrar menus del programa Magreb
      function MostrarMenusMag(indice, subIndice) {
      document.write("<table BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=\"100%\" summary=\"Menús\">");
      for (i=0; i<listaItemsMag.length; i++) {
          if (i>0) listaItemsMag[i].separador(); // pinto una separación
	      listaItemsMag[i].pinta("listaItemsMag["+i+"]"); // Pinto el elemento del menu
		  // Recorro los submenus y los pinto si es el indice que se envia
		  if (i==indice && listaItemsMag[i].subMenu != null) 
		     for(j=0; j<listaItemsMag[i].subMenu.length; j++) {
			    listaItemsMag[i].subMenu[j].pinta("listaItemsMag["+i+"].subMenu["+j+"]");
			    // Recorro los subsubmenus y los pinto si es el subIndice que se recibo
		        if (j==subIndice && listaItemsMag[i].subMenu[j].subMenu != null) 
		           for(k=0; k<listaItemsMag[i].subMenu[j].subMenu.length; k++) 
			          listaItemsMag[i].subMenu[j].subMenu[k].pinta("listaItemsMag["+i+"].subMenu["+j+"].subMenu["+k+"]");
			 }
      }
      if (!(listaImagenes === undefined))    // Si hay imagenes las pinto
         for (i=0; i<listaImagenes.length; i++) 
	         listaImagenes[i].pinta(); // Pinto el elemento del menu
      document.write("</table>");
   }   
   //-------------------------------------------------------
   
// if (window.location.href.indexOf("www.ua.es/")>=0) inicioUrl = ""
//   else inicioUrl = "http://www.ua.es/"


   
      // Devuelve la fecha de modificación
   function fechaModificacion() {
      // Para poner los meses en formato visual
	  var nommeses = new Array("", "ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic")				
	  // Obtenemos la fecha de modificación del documento
	  var mydate = new Date(document.lastModified);						
	  // Separamos el día, mes y año
	  var anyo = mydate.getFullYear();
      if (anyo < 1990) anyo += 100;
	  var dia  = mydate.getDay();
	  var mes  = mydate.getMonth() + 1;
	  var diam = mydate.getDate();
	  return(diam + "-" + nommeses[mes] + "-" + anyo);
   }
   
     function Cabecera() {
	
      document.write("<table BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=682 BGCOLOR=#FFFFFF summary=\"Cabecera de la página\">");
      document.write("<tr>");
      document.write("<td><map name=\"Map\">");
	  document.write("<area shape=\"rect\" coords=\"0,0,200,42\" href=\"/es/index.html\" alt=\"Universidad de Alicante\" title=\"Universidad de Alicante\"> ");
	  document.write("<area shape=\"rect\" coords=\"0,63,327,79\" href=\""+raiz+"index.html\" >");
	  document.write("<area shape=\"rect\" coords=\"0,80,433,95\" href=\"http://www.ua.es/es/presentacion/vicerrectorado/vr.ric/index.html\"></map></td>");
      document.write("<td ALIGN=LEFT VALIGN=middle><img SRC=\"" + raiz + "images/cabecera.gif \" NOSAVE BORDER=0 usemap=\"#Map\" height=100 width=682></td>");
//empieza la navidad
//    document.write("<DiV id=\"estrella\" style=\"position:absolute; z-index:1; width: 1; height: 1; overflow: visible; top: 14px\" class=\"centrar_capa2\"><img src=\"" + imagenes + "navidad/estnav.gif\" width=\"57\" height=\"37\"></div>");
//    document.write("<DiV id=\"guirnalda\" style=\"position:absolute; z-index:2; width: 1; height: 1; overflow: visible; top: 125px;\" class=\"centrar_capa\"><img src=\"" + imagenes + "navidad/guirnalda.gif\" alt=\"guirnalda\" width=\"540\" height=\"24\"></div>");
//    document.write("<DiV id=\"cantantes\" style=\"position:absolute; z-index:3; width: 1; height: 1; overflow: visible; top: 125px;\" ><img src=\"" + imagenes + "navidad/cantantes.gif\" alt=\"cantantes\" width=\"125\" height=\"104\"></div>");
//    document.write("<DiV id=\"arbol\" style=\"position:absolute; z-index:5; width: 1; height: 1; overflow: visible; left: 690px; top: 14px;\" ><img src=\"" + imagenes + "navidad/xmas_005.gif\" alt=\"arbol\" width=\"200\" height=\"200\"></div>");

//Termina la navidad
	  document.write("</tr>");
      document.write("</table>");
	 
	  
   }
   
      // Muestra el pie de página	
  function Pie() {
            
      document.write("<table BORDER=0 CELLSPACING=10 CELLPADDING=0 WIDTH=\"100%\" BGCOLOR=\"#FFFFFF\" summary=\"Pie de página\">");
      document.write("  <tr>");
      document.write("    <td ALIGN=LEFT COLSPAN=\"2\" class=\"detalle\">");
      document.write ();
      document.write("      </td>");
      document.write("  </tr>");
      document.write("  <tr>");
      document.write("    <td ALIGN=LEFT VALIGN=CENTER COLSPAN=\"2\" BACKGROUND=\"" + raiz +"images/fondocolh.gif\" NOSAVE><img SRC=\"" + raiz +"images/punto.gif\" ALT=\"\" NOSAVE height=1 width=1></td>");
      document.write("  </tr>");
      document.write("  <tr>");
      document.write("    <td ALIGN=LEFT VALIGN=CENTER class=\"detalle\">" + prePieComun+ " " + mantenidaPor + ". <br>"+last_actu+": " + fechaModificacion() + "</td>");
      document.write("    <td ALIGN=RIGHT VALIGN=CENTER class=\"detalle\"><a href=\""+raiz+"index.html\"><img SRC=\"" + imagenes+"/casa.gif\" ALT=\"Página principal\" TITLE=\"Página principal\" HSPACE=4 VSPACE=2 NOSAVE BORDER=0 height=19 width=23></a><a href=\"mailto:" + mailMantenim + "\"><img SRC=\"" + imagenes +"/correo.gif\" ALT=\"Enviar correo\" TITLE=\"Enviar correo\" VSPACE=2 NOSAVE BORDER=0 height=15 width=21></a></td>");
      document.write("  </tr>");
      document.write("</table>");
   }  
  
// En esta funcion se carga toda la información de la parte alta de la pagina, incluyendo la cabecera, la barra de idiomas
// y la barra de menus superior
//------------------------------------------------------------------------------------
function zonaAlta(){ // Carga la parte de la cabecera y la barra de busqueda
	    document.write("<div align=\"center\">");
<!--
			Cabecera(); // Muestra la cabecera de la pagina
//-->

		<!-- Mostrar las barras de enlaces y la de idiomas-->
		document.write("<table BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=682 >");
	    document.write("<tr>")
		document.write("<td ALIGN=LEFT VALIGN=middle><img SRC=\"" + raiz +"images/ptonegro.gif\" ALT=\"Punto Negro\" BORDER=0 height=2 width=682></td>");
		document.write("</tr>")
		document.write("<tr>")
		document.write("<td>");
<!--
			MostrarBarra(); // Muestra la barra superior
//-->
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");
		document.write("</div>");	 
		
}
//------------------------------------------------------------------------------------


// Prepara la tabla en la que se incluye los menus de la izquierda y se prepara la zona donde se incluye la informacion
function tablaExterior(){
		
		document.write("<div align=\"center\">");
		document.write("<table class=\"tablaExterior\" border=\"0\" cellspacing=\"10\"><tbody><tr><td aling=\"center\" valing=\"top\">");
		document.write("<table bgcolor=\"#ffffff\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" <tbody><tr>");
		document.write("<td valign=\"top\" width=\"24%\"><img src=\""+ raiz +"images/punto.gif\" alt=\"\" nosave=\"\" height=\"1\" width=\"1\">");
          <!--
				MostrarMenus(); // Muestra los menus de la izquierda
          //-->

		document.write("</td>");
		document.write("<td align=\"left\" background=\""+raiz+"images/fondocol.gif\" valign=\"top\" width=\"1\"><img src=\""+raiz+"images/punto.gif\" alt=\"\" ></td>");
		document.write("<td valign=\"top\" width=\"520\">");
		document.write("<table width=\"100%\" height=\"1\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
		document.write("<tbody> <tr>");
		document.write("<td height=\"5\" valign=\"top\">");
		document.write("</div>");
 		document.write("<table width=\"100%\" height=\"\" border=\"0\" cellpadding=\"0\" cellspacing=\"10\" summary=\"Cuerpo del documento\">");
		document.write("<tbody><tr><td height=\"5\" valign=\"top\">")
}

// Magreb Prepara la tabla en la que se incluye los menus de la izquierda y se prepara la zona donde se incluye la informacion
function tablaExteriorMag(){
		document.write("<div align=\"center\">");
		document.write("<table class=\"tablaExterior\" border=\"0\" cellspacing=\"10\"><tbody><tr><td aling=\"center\" valing=\"top\">");
		document.write("<table bgcolor=\"#ffffff\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" <tbody><tr>");
		document.write("<td valign=\"top\" width=\"24%\"><img src=\""+imagenes+"/punto.gif\" alt=\"\" nosave=\"\" height=\"1\" width=\"1\">");
          <!--
				MostrarMenusMag();
          //-->
		document.write("</td>");
		document.write("<td align=\"left\" background=\""+imagenes+"/fondocol.gif\" valign=\"top\" width=\"1\"><img src=\""+imagenes+"/punto.gif\" alt=\"\" ></td>");
		document.write("<td valign=\"top\" width=\"520\">");
		document.write("<table width=\"100%\" height=\"1\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
		document.write("<tbody> <tr>");
		document.write("<td height=\"5\" valign=\"top\">");
		document.write("</div>");
 		document.write("<table width=\"100%\" height=\"\" border=\"0\" cellpadding=\"0\" cellspacing=\"10\" summary=\"Cuerpo del documento\">");
		document.write("<tbody><tr><td height=\"5\" valign=\"top\">")
}

// Habana - Prepara la tabla en la que se incluye los menus de la izquierda y se prepara la zona donde se incluye la informacion
function tablaExteriorHab(){
		document.write("<div align=\"center\">");
		document.write("<table class=\"tablaExterior\" border=\"0\" cellspacing=\"10\"><tbody><tr><td align=\"center\" valign=\"top\">");
		document.write("<table bgcolor=\"#ffffff\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tbody><tr>");
		document.write("<td valign=\"top\" width=\"24%\"><img src=\""+imagenes+"/punto.gif\" alt=\"\" nosave=\"\" height=\"1\" width=\"1\">");
		
          <!--
				MostrarMenusHab();
          //-->
		document.write("</td>");
		document.write("<td align=\"left\" background=\""+imagenes+"/fondocol.gif\" valign=\"top\" width=\"1\"><img src=\""+imagenes+"/punto.gif\" alt=\"\" ></td>");
		document.write("<td valign=\"top\" width=\"520\">");
		document.write("<table width=\"100%\" height=\"1\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
		document.write("<tbody> <tr>");
		document.write("<td height=\"5\" valign=\"top\">");
		document.write("</div>");
 		document.write("<table width=\"100%\" height=\"\" border=\"0\" cellpadding=\"0\" cellspacing=\"10\" summary=\"Cuerpo del documento\">");
		document.write("<tbody><tr><td height=\"5\" valign=\"top\">")
}		

// Cerramos la tabla principal y ponemos el pie
function tablaExteriorFin(){
		document.write("</td></tr></tbody> </table>");
		document.write("</td></tr></tbody> </table>");
			Pie();
		document.write("</td></tr> </tbody></table>");
		document.write("</td></tr> </tbody></table>");
}

