function MM_openBrWindow(theURL,winName,features) {
  window.open(theURL,winName,features);
}
function animacion(nombre, id, wi, he, bo){
	document.write("<!-- URL's used in the movie-->");
	document.write('<!-- text used in the movie-->');
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="' + wi + '" HEIGHT="' + he + '" id="' + id + '" ALIGN="" border="'+bo+'">');
	document.write('	<PARAM NAME=movie VALUE="'+nombre+'.swf">');
	document.write('	<PARAM NAME=quality VALUE=high> ');
	document.write('	<PARAM NAME=wmode VALUE=transparent> ');
	document.write('	<PARAM NAME=bgcolor VALUE=#FFFFFF> ');
	document.write('	<EMBED src="'+nombre+'.swf" quality=high wmode=transparent bgcolor=#FFFFFF  WIDTH="' + wi + '" HEIGHT="' + he + '" NAME="' + id + '" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
	document.write('</OBJECT>');
}

function animacionsec(nombre, id, wi, he, bo){
document.write ('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="' + wi + '" height="' + he + '" id="FlashID" title="">');
document.write ('  <param name="movie" value="'+nombre+'.swf" />');
document.write ('  <param name="quality" value="high" />');
document.write ('  <param name="wmode" value="transparent" />');
document.write ('  <param name="swfversion" value="6.0.65.0" />');
document.write ('  <!-- Esta etiqueta param indica a los usuarios de Flash Player 6.0 r65 o posterior que descarguen la versión más reciente de Flash Player. Elimínela si no desea que los usuarios vean el mensaje. -->');
document.write ('  <param name="expressinstall" value="Scripts/expressInstall.swf" />');
document.write ('  <!-- La siguiente etiqueta object es para navegadores distintos de IE. Ocúltela a IE mediante IECC. -->');
document.write ('  <!--[if !IE]>-->');
document.write ('  <object type="application/x-shockwave-flash" data="'+nombre+'.swf" width="' + wi + '" height="' + he + '">');
document.write ('    <!--<![endif]-->');
document.write ('    <param name="quality" value="high" />');
document.write ('    <param name="wmode" value="transparent" />');
document.write ('    <param name="swfversion" value="6.0.65.0" />');
document.write ('    <param name="expressinstall" value="Scripts/expressInstall.swf" />');
document.write ('    <!-- El navegador muestra el siguiente contenido alternativo para usuarios con Flash Player 6.0 o versiones anteriores. -->');
document.write ('    <div>');
document.write (' <TABLE align="center" BORDER=0 CELLPADDING=0 CELLSPACING=0>');
document.write (' 	<TR>');
document.write (' 		<TD><a href="/home.php"><IMG SRC="/imgsHome/emcabepag/emcabezado_0g.gif" ALT="Inicio" WIDTH=85 HEIGHT=104 border="0"></a></TD>');
document.write (' 		<TD ROWSPAN=2><a href="/informacionalpasajero/fids/fids.php"><IMG SRC="/imgsHome/emcabepag/emcabezado_02.gif" ALT="Información de Vuelos" WIDTH=76 HEIGHT=137 border="0"></a></TD>');
document.write (' 		<TD ROWSPAN=2><a href="/informacionalpasajero/"><IMG SRC="/imgsHome/emcabepag/emcabezado_03.gif" ALT="Información al Pasajero" WIDTH=88 HEIGHT=137 border="0"></a></TD>');
document.write (' 		<TD ROWSPAN=2><a href="/servicioausuarios/"><IMG SRC="/imgsHome/emcabepag/emcabezado_04.gif" ALT="Servicios a Usuarios" WIDTH=85 HEIGHT=137 border="0"></a></TD>');
document.write (' 		<TD ROWSPAN=2><a href="/acercadelaicm/"><IMG SRC="/imgsHome/emcabepag/emcabezado_05.gif" ALT="Acerca del AICM" WIDTH=75 HEIGHT=137 border="0"></a></TD>');
document.write (' 		<TD ROWSPAN=2><a href="/ClienteseInversionistas/"><IMG SRC="/imgsHome/emcabepag/emcabezado_06.gif" ALT="Clientes e Inversionistas" WIDTH=90 HEIGHT=137 border="0"></a></TD>');
document.write (' 		<TD ROWSPAN=2><a href="/Dependencias/"><IMG SRC="/imgsHome/emcabepag/emcabezado_07.gif" ALT="Dependencias y Organismos" WIDTH=82 HEIGHT=137 border="0"></a></TD>');
document.write (' 		<TD ROWSPAN=2><a href="/cargoytransporte/"><IMG SRC="/imgsHome/emcabepag/emcabezado_08.gif" ALT="Carga y Transporte" WIDTH=77 HEIGHT=137 border="0"></a></TD>');
document.write (' 		<TD ROWSPAN=2><a href="/Obligaciones/"><IMG SRC="/imgsHome/emcabepag/emcabezado_09.gif" ALT="Obligaciones Gubernamentales" WIDTH=111 HEIGHT=137 border="0"></a></TD>');
document.write (' 	</TR>');
document.write (' 	<TR>');
document.write (' 		<TD><a href="/home_en.php"><IMG SRC="/imgsHome/emcabepag/emcabezado_10.gif" ALT="Ir a Sitio en English" WIDTH=85 HEIGHT=33 border="0"></a></TD>');
document.write (' 	</TR>');
document.write (' </TABLE>');
document.write ('    </div>');
document.write ('    <!--[if !IE]>-->');
document.write ('  </object>');
document.write ('  <!--<![endif]-->');
document.write ('</object>	');	
}
function footersec(nombre, id, wi, he, bo, vars){
document.write ('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="' + wi + '" height="' + he + '" id="'+id+'" title="">');
document.write ('  <param name="movie" value="'+nombre+'.swf?'+vars+'" />');
document.write ('  <param name="quality" value="high" />');
document.write ('  <param name="wmode" value="transparent" />');
document.write ('  <param name="swfversion" value="6.0.65.0" />');
document.write ('  <!-- Esta etiqueta param indica a los usuarios de Flash Player 6.0 r65 o posterior que descarguen la versión más reciente de Flash Player. Elimínela si no desea que los usuarios vean el mensaje. -->');
document.write ('  <param name="expressinstall" value="Scripts/expressInstall.swf" />');
document.write ('  <!-- La siguiente etiqueta object es para navegadores distintos de IE. Ocúltela a IE mediante IECC. -->');
document.write ('  <!--[if !IE]>-->');
document.write ('  <object type="application/x-shockwave-flash" data="'+nombre+'.swf?'+vars+'" width="' + wi + '" height="' + he + '">');
document.write ('    <!--<![endif]-->');
document.write ('    <param name="quality" value="high" />');
document.write ('    <param name="wmode" value="transparent" />');
document.write ('    <param name="swfversion" value="6.0.65.0" />');
document.write ('    <param name="expressinstall" value="Scripts/expressInstall.swf" />');
document.write ('    <!-- El navegador muestra el siguiente contenido alternativo para usuarios con Flash Player 6.0 o versiones anteriores. -->');
document.write ('    <div>');

document.write ('   <TABLE align="center" BORDER=0 CELLPADDING=0 CELLSPACING=0>');
document.write ('	<TR>');
document.write ('		<TD COLSPAN=7><IMG SRC="/imgsHome/piepag/tema_01.gif" WIDTH=767 HEIGHT=55 ALT="Cuadros Decorativos"></TD>');
document.write ('	</TR>');
document.write ('	<TR>');
document.write ('		<TD><IMG SRC="/imgsHome/piepag/tema_02.gif" WIDTH=129 HEIGHT=53 ALT="Cuadros Decorativos"></TD>');
document.write ('		<TD><a href="/acercadelaicm/Contactanos/"><IMG longdesc="/acercadelaicm/Contactanos/" SRC="/imgsHome/piepag/tema_03.gif" ALT="Contáctanos" WIDTH=100 HEIGHT=53 border="0"></a></TD>');
document.write ('		<TD><a href="/informacionalpasajero/Informacion/"><IMG longdesc="/informacionalpasajero/Informacion/" SRC="/imgsHome/piepag/tema_04.gif" ALT="Información" WIDTH=101 HEIGHT=53 border="0"></a></TD>');
document.write ('		<TD><a href="/informacionalpasajero/Discapacitados/"><IMG longdesc="/informacionalpasajero/Discapacitados/" SRC="/imgsHome/piepag/tema_05.gif" ALT="Facilidades" WIDTH=99 HEIGHT=53 border="0"></a></TD>');
document.write ('		<TD><a href="/informacionalpasajero/Emergencias/"><IMG longdesc="/informacionalpasajero/Emergencias/" SRC="/imgsHome/piepag/tema_06.gif" ALT="Emergencias" WIDTH=103 HEIGHT=53 border="0"></a></TD>');
document.write ('		<TD><a href="/informacionalpasajero/Mapadelsitio/"><IMG longdesc="/informacionalpasajero/Mapadelsitio/" SRC="/imgsHome/piepag/tema_07.gif" ALT="Mapa del Sitio" WIDTH=96 HEIGHT=53 border="0"></a></TD>');
document.write ('		<TD><IMG SRC="/imgsHome/piepag/tema_08.gif" WIDTH=139 HEIGHT=53 ALT="Cuadros Decorativos"></TD>');
document.write ('	</TR>');
document.write ('   </TABLE>');

document.write ('    </div>');
document.write ('    <!--[if !IE]>-->');
document.write ('  </object>');
document.write ('  <!--<![endif]-->');
document.write ('</object>	');	
}
function validar(f){
    var con = f.q.value.length;
      //Compruebo si es un valor numérico
      if (con < 1 || f.q.value == "Introduzca texto a buscar") {
           alert("Introduzca algún valor para realizar la busqueda!");
		   f.q.focus();
		   return(false);
      } 
}