   // *************************************************************************************************************************
   //   Elementos que cambian en cada site
   // ************************************************************************************************************************* 


   raiz = "/es/servicios/si/ite/";
   mantenidaPor = "el Servicio de Informática";
   mailMantenim = "ite@ua.es";
   prePieComun  = "";
   infoCabecera = "Servicio de Informática";
   imgsCabecera = new Array("cab1.gif", "cab2.gif", "cab3.gif");
   urlCabecera = "/es/servicios/si/index.html"

   // Submenús
   //subMenuFormacion = [
      //new menuItem("image5-1" , 161, 19, "formacion/conectate/index.html"      , "Conéctate"       , null) ,	  	  
      //new menuItem("image5-2" , 161, 19, "formacion/microformacion/index.html" , "Microformación"  , null) ,	  	  
      //new menuItem("image5-3" , 161, 19, "formacion/talleres/index.html"       , "Talleres-Cursos" , null) 	  	  
	//];	  

   subMenuCv = [
      new menuItem("image6-1" , 161, 19, "cv/manuales/index.html"    , "Manuales"    , null) ,	  	  
      new menuItem("image6-2" , 161, 19, "cv/tutoriales/index.html"  , "Tutoriales"  , null) ,	  	  
      new menuItem("image6-3" , 161, 19, "https://cv1.cpd.ua.es/proyectos/formulario/generaParte.asp?id=14&idioma=C", "Sugerencias" , null) ,
      new menuItem("image6-4" , 161, 19, "cv/faqs/index.html"        , "Faqs"        , null) ,	  	  
      new menuItem("image6-6" , 161, 19, "cv/estadisticas/index.html"        , "Estadísticas"        , null) ,	  	  
      new menuItem("image6-5" , 161, 19, "cv/novedades/index.html"   , "Novedades"   , null)   	  
	];	  

   subMenuEnlaces = [
      new menuItem("image10-1" , 161, 19, "enlaces/teleformacion/index.html" , "Teleformación"        , null) ,	  	  
      new menuItem("image10-2" , 161, 19, "enlaces/innovacion/index.html"    , "Innovación Educativa" , null) ,	  	  
      new menuItem("image10-5" , 161, 19, "enlaces/publicaciones/index.html" , "Publicaciones"        , null)   	  
	];	  

   // Menu principal  
   listaItems = [ 
      new menuItem("image1"  , 161, 19, "presentacion/index.html"  , "Presentación"   , null) ,
      new menuItem("image2"  , 161, 19, "equipo/index.html"		   , "Equipo"         , null) ,	  
      new menuItem("image3"  , 161, 19, "servicios/index.html"	   , "Servicios"	  , null) ,
      //new menuItem("image5"  , 161, 19, "formacion/index.html"	   , "Formación"	  , subMenuFormacion) ,
      new menuItem("image6"  , 161, 19, "cv/index.html"		       , "Campus Virtual" , subMenuCv) ,
      new menuItem("image7"  , 161, 19, "convocatorias/index.html" , "Convocatorias"  , null) ,
      new menuItem("image8"  , 161, 19, "encuentros/index.html"	   , "Encuentros"	  , null) ,
      new menuItem("image9"  , 161, 19, "tutoriales/index.html"	   , "Tutoriales"	  , null) ,
	  new menuItem("image12"  , 161, 19, "observatorioTIC/index.html"	   , "observatorioTIC"	  , null) ,
      new menuItem("image4"  , 161, 19, "https://cv1.cpd.ua.es/proyectos/formulario/generaParte.asp?id=14&idioma=C", "Sugerencias"	  , null) ,
      new menuItem("image11"  , 161, 19, "estilos-plantillas/index.html"	   , "Estilos y plantillas"	  , null) ,
      new menuItem("image10" , 161, 19, "http://cv1.cpd.ua.es/CatalogaXXI/C10067PPESII1/INDEX.HTML \"target=\"_blank\"\""	   , "Recursos"		  , null)
	  ];

	// Lista de imagenes
    listaImagenes = [
		new imagenItem("solicitud", "https://cv1.cpd.ua.es/proyectos/formulario/generaParte.asp?id=14&idioma=C", "Solicitud de servicios"),			 
		new imagenItem("gite", "http://cvnet.cpd.ua.es/gite", "GITE"),
      new imagenItem("campusvirtual", "/es/univirtual/index.html \"target=\"_blank\"\"", "Campus Virtual"),
      new imagenItem("copla", "http://blogs.ua.es/copla \"target=\"_blank\"\"", "Copla"),
	  new imagenItem("blogTIC", "http://blogs.ua.es/observatoriotic \"target=\"_blank\"\"", "Observatorio TIC"),
      new imagenItem("ite", "http://www.ua.es/ite", "ITE - Innovación Tecnológico Educativa")  ]; 
   // *************************************************************************************************************************
   // Fin de los elementos particulares 
   // *************************************************************************************************************************
				 

function Cabecera() {
	  document. write("<a name=\"top\">");
	  document. write("<a name=\"inicio\">");
	  document.write("  </a>");	
      hoy = new Date();     // Vamos a determinar cual es la imagen que toca dependiendo del segundo en el que nos encontremos
      segundos = parseInt(hoy.getSeconds());      
      proporcion = 60 / imgsCabecera.length;   // Vemos con respecto al número de imágenes cuanto tiempo corresponde a cada imagen
      if (proporcion>segundos) indice = 0            // Para el Netscape 4
      else indice = parseInt(segundos/proporcion);   // Obtenemos el índice de la imagen que corresponda
      if (indice>=imgsCabecera.length) indice = imgsCabecera.length-1;  // Si el número no es exacto le regalamos los últimos segundos a la última imagen 
      document.write("<div align=\"center\">");
      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><center><map name=\"Map\"><area shape=\"rect\" coords=\"0,0,165,36\" href=\"" + inicioUrl + "/es/index.html\" alt=\"Universidad de Alicante\" title=\"Universidad de Alicante\">");   
	  document.write("<area shape=\"poly\" coords=\"164,1,164,35,1,35,1,98,680,98,680,1\" ");
	  if (urlCabecera =="") document.write(" href=\""+raiz+"index.html\" ");
	  else document.write(" href=\""+ urlCabecera + "\" ");
      document.write(" alt=\""+ infoCabecera + "\" title=\""+ infoCabecera + "\"></map></center></td>");
	  if (raiz=="") 
         document.write("    <td ALIGN=LEFT VALIGN=BOTTOM><img SRC=\""+ imgsCabecera[indice] + "\" NOSAVE BORDER=0 usemap=\"#Map\" height=100 width=682></td>");
	  else
         document.write("    <td ALIGN=LEFT VALIGN=BOTTOM><img SRC=\""+raiz+"imagenes/menu/" + imgsCabecera[indice] + "\" NOSAVE BORDER=0 usemap=\"#Map\" height=100 width=682></td>");
	  document.write("  </tr>");
      document.write("</table>");
	  document.write("</div>");

   }
    



    function activa(img1,img2) {
       document[img1].src = eval(img2 + ".src");
    }



function MostrarBarra() {
document.write("<center><table BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=\"682\" BGCOLOR=\"#FFFFFF\">");
document.write("<tr BGCOLOR=\"#D8E5EA\">");

document.write("<td ALIGN=\"LEFT\" VALIGN=\"CENTER\">");
  document.write("<a href=\""+raiz+"/localizacion/index.html\" onMouseover=\"activa('b1','b1a')\" onMouseout=\"activa('b1','b1')\"><img SRC=\""+raiz+"imagenes/menu/b1.gif\" NAME=\"b1\" ALT=\"Localización\" BORDER=0 HSPACE=5 height=17 width=114></a>");
  document.write("<img SRC=\""+raiz+"imagenes/menu/bs.gif\" ALT=\"\" height=18 width=1>");
  document.write("<a href=\""+raiz+"/contacto/index.html\" onMouseover=\"activa('b2','b2a')\" onMouseout=\"activa('b2','b2')\"><img SRC=\""+raiz+"imagenes/menu/b2.gif\" NAME=\"b2\" ALT=\"Contacto\" BORDER=0 HSPACE=5 height=17 width=114></a>");
  document.write("<img SRC=\""+raiz+"imagenes/menu/bs.gif\" ALT=\"\" height=18 width=1>");
  document.write("<a href=\"https://cv1.cpd.ua.es/proyectos/formulario/generaParte.asp?id=14&idioma=C\" onMouseover=\"activa('b3','b3a')\" onMouseout=\"activa('b3','b3')\"><img SRC=\""+raiz+"imagenes/menu/b3.gif\" NAME=\"b3\" ALT=\"Sugerencias\" BORDER=0 HSPACE=5 height=17 width=114></a>");

document.write("</td>");


document.write("</tr>");
document.write("</table></center>");
}
function Pie2() {
  document.write("<table BORDER=0 CELLSPACING=10 CELLPADDING=0 WIDTH=\"100%\" BGCOLOR=\"#FFFFFF\">");
  document.write("  <tr>");
  document.write("    <td ALIGN=center VALIGN=CENTER COLSPAN=\"2\">");
  
  document.write(" <button value=\"cerrar1\" onclick=\"javascript:window.close();\"> Cerrar </button>");
  //document.write(" <button value=\"cerrar1\" onClick=\"history.back();\"> Atras</button>");
  
  document.write("  </td></tr>");
document.write("  <tr>");
  document.write("    <td ALIGN=LEFT VALIGN=CENTER COLSPAN=\"2\" BACKGROUND=\"/imagenes/menus/fondocolh.gif\" NOSAVE><img SRC=\""+raiz+"imagenes/menu/punto.gif\" ALT=\"\" NOSAVE height=1 width=1></td>");
  document.write("  </tr>");
  document.write("  <tr>");
   document.write("    <td ALIGN=LEFT VALIGN=CENTER><font face=\"Tahoma, Helvetica, Arial\"><font color=\"#003366\"><font size=-2>Página mantenida por " + mantenidaPor + ".<br>Última actualitzación: " + fechaModificacion() + "</font></font></font></td>");
   

  document.write("    <td ALIGN=RIGHT VALIGN=CENTER><a href=\"/ite/index.html\"><img SRC=\"/imagenes/iconos/casa.gif\" ALT=\"Página principal\" HSPACE=4 VSPACE=2 NOSAVE BORDER=0 height=19 width=23></a><a href=\"mailto:ite@ua.es\"><img SRC=\"/imagenes/iconos/correo.gif\" ALT=\"Enviar correo\" VSPACE=2 NOSAVE BORDER=0 height=15 width=21></a></td>");
  document.write("  </tr>");
  document.write("</table>");
}


function Pie3() {
  document.write("<table BORDER=0 CELLSPACING=10 CELLPADDING=0 WIDTH=\"100%\" BGCOLOR=\"#FFFFFF\">");
  document.write("  <tr>");
  document.write("    <td ALIGN=center VALIGN=CENTER COLSPAN=\"2\">");
  
  //document.write(" <button value=\"cerrar1\" onclick=\"javascript:window.close();\"> cerrar </button>");
  document.write(" <button value=\"atras\" onClick=\"history.back();\"> Atrás</button>");
  
  document.write("  </td></tr>");
document.write("  <tr>");
  document.write("    <td ALIGN=LEFT VALIGN=CENTER COLSPAN=\"2\" BACKGROUND=\"/imagenes/menus/fondocolh.gif\" NOSAVE><img SRC=\""+raiz+"imagenes/menu/punto.gif\" ALT=\"\" NOSAVE height=1 width=1></td>");
  document.write("  </tr>");
  document.write("  <tr>");
   document.write("    <td ALIGN=LEFT VALIGN=CENTER><font face=\"Tahoma, Helvetica, Arial\"><font color=\"#003366\"><font size=-2>Página mantenida por " + mantenidaPor + ".<br>Última actualitzación: " + fechaModificacion() + "</font></font></font></td>");
   

  document.write("    <td ALIGN=RIGHT VALIGN=CENTER><a href=\"/ite/index.html\"><img SRC=\"/imagenes/iconos/casa.gif\" ALT=\"Página principal\" HSPACE=4 VSPACE=2 NOSAVE BORDER=0 height=19 width=23></a><a href=\"mailto:ite@ua.es\"><img SRC=\"/imagenes/iconos/correo.gif\" ALT=\"Enviar correo\" VSPACE=2 NOSAVE BORDER=0 height=15 width=21></a></td>");
  document.write("  </tr>");
  document.write("</table>");
}

function LlamaVentana(video,conexion,flash){
	miventana = window.open("encuentro.htm?videowm="+video+"&conexionwm="+conexion+"&flashwm="+flash,"_blank","status=yes,scrollbars=no,toolbar=no,resizable=no,width=790,height=500");
	miventana.focus();
}
function VerVideo(video,cinta){
	miventana = window.open("video.htm?videowm="+video+"&cintawm="+cinta,"_blank","status=yes,scrollbars=no,toolbar=no,resizable=no,width=650,height=500");
	miventana.focus();
}
function Audio(video,cinta){
	miventana = window.open("audio.htm?audiowm="+video+"&cintawm="+cinta,"_blank","status=yes,scrollbars=no,toolbar=no,resizable=no,width=340,height=280");
	miventana.focus();
}

//funciones para iluminar celdas
function uno(src,color_entrada) {
    src.bgColor=color_entrada;src.style.cursor="hand";
}
function dos(src,color_default) {
    src.bgColor=color_default;src.style.cursor="default";
}
