﻿// JavaScript Document

	//-------------------------
	// funciones de dreamweaver
	//-------------------------
	function MM_preloadImages() { //v3.0
	  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
		var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
		if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
	}
	
	function MM_swapImgRestore() { //v3.0
	  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
	}
	
	function MM_findObj(n, d) { //v4.01
	  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
		d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
	  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
	  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
	  if(!x && d.getElementById) x=d.getElementById(n); return x;
	}
	
	function MM_swapImage() { //v3.0
	  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
	   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
	}
	//-------------------------

	//-------------------------
	// funciones para escribir flash
	//-------------------------
	function writeObject(str){
		document.write(str);
	}
	
	function writeObjectInDiv(myDiv, str){
		myDiv.innerHTML = str;
	}
	
	

 	function f_flash(val_width,val_height,val_title,val_value,val_div)
	{
		<!--Inicio despliegue de flash-->

		var strAux = '';
		strAux += '<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0\" width=\"'+val_width+'\" height=\"'+val_height+'\" title=\"'+val_title+'\">';
		
		strAux += '<param name=\"movie\" value=\"'+val_value+'\" />';
		strAux += '<param name=\"menu\" value=\"false\" />';
		strAux += '<param name=\"quality\" value=\"high\" />';
		strAux += '<param name=\"scale\" />';
		strAux += '<embed src=\"'+val_value+'\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"'+val_width+'\" height=\"'+val_height+'\"></embed>';
		strAux += '</object>';
		//writeObject(strAux);
		eval("document.getElementById('"+val_div+"').innerHTML = strAux;")
		<!--Fin despliegue de flash-->
	}
	
	
	//-------------------------

	function f_paginacion()
	{
		var html = "";
		intTotalPages = parseInt(document.paginacion.intTotalPages.value);
		html += " Seleccione página:<br />";
	
	
		for(i=1;i<=intTotalPages;i++)
		{

			html += "<a href=javascript:f_pagina("+i+") class=\"linkPaginacion\">"+i+"</a>";
			
			val= i%15;
			if ( val==0 )
				html += "<br>";
		}
		document.getElementById("div_paginacion").innerHTML = html;
	}
	
	//-------------------------
	// funciones cambio estilo
	//-------------------------
	function setTamanoCSS(tamano) { 
	  var div = document.getElementById("texto_box"); 
	  div.className = tamano;
	} 
	
	/*
	function setTamanoCSSi(tamano) { 
	  var div = document.getElementById("texto_box2"); 
	  div.className = tamano;
	} 
	
	function setTamanoDOM(tamano) { 
	  var div = document.getElementById("texto_box2"); 
	  div.style.fontSize = tamano; 
	}
	*/
	
	
	function accesibiliza(){
		
		if (document.getElementById("texto_box").className == "pp")
		{
			var body = document.getElementsByTagName("texto_box")[0];
			//document.getElementById("texto_box").setAttribute("class","pp")
			document.getElementById("texto_box").className = "mediano";
			
			/*
			var body = document.getElementsByTagName("texto_box2")[0];
			//document.getElementById("texto_box").setAttribute("class","pp")
			document.getElementById("texto_box2").className = "pp";
			*/
		}
		else
		{
			var body = document.getElementsByTagName("texto_box")[0];
			//document.getElementById("texto_box").setAttribute("class","pp")
			document.getElementById("texto_box").className = "pp";
			
			/*
			var body = document.getElementsByTagName("texto_box2")[0];
			//document.getElementById("texto_box").setAttribute("class","pp")
			document.getElementById("texto_box2").className = "pp";
			*/
		}
	
	}
	//-------------------------
	
	var RUTA_PAG = "";
	
	//---------------------------------------------------------------------------
	//detecta browsers
	//---------------------------------------------------------------------------
	var BrowserDetect = {
	init: function () {
		this.browser = this.searchString(this.dataBrowser) || "An unknown browser";
		this.version = this.searchVersion(navigator.userAgent)
			|| this.searchVersion(navigator.appVersion)
			|| "an unknown version";
		this.OS = this.searchString(this.dataOS) || "an unknown OS";
	},
	searchString: function (data) {
		for (var i=0;i<data.length;i++)	{
			var dataString = data[i].string;
			var dataProp = data[i].prop;
			this.versionSearchString = data[i].versionSearch || data[i].identity;
			if (dataString) {
				if (dataString.indexOf(data[i].subString) != -1)
					return data[i].identity;
			}
			else if (dataProp)
				return data[i].identity;
		}
	},
	searchVersion: function (dataString) {
		var index = dataString.indexOf(this.versionSearchString);
		if (index == -1) return;
		return parseFloat(dataString.substring(index+this.versionSearchString.length+1));
	},
	dataBrowser: [
		{
			string: navigator.userAgent,
			subString: "Chrome",
			identity: "Chrome"
		},
		{ 	string: navigator.userAgent,
			subString: "OmniWeb",
			versionSearch: "OmniWeb/",
			identity: "OmniWeb"
		},
		{
			string: navigator.vendor,
			subString: "Apple",
			identity: "Safari",
			versionSearch: "Version"
		},
		{
			prop: window.opera,
			identity: "Opera"
		},
		{
			string: navigator.vendor,
			subString: "iCab",
			identity: "iCab"
		},
		{
			string: navigator.vendor,
			subString: "KDE",
			identity: "Konqueror"
		},
		{
			string: navigator.userAgent,
			subString: "Firefox",
			identity: "Firefox"
		},
		{
			string: navigator.vendor,
			subString: "Camino",
			identity: "Camino"
		},
		{		// for newer Netscapes (6+)
			string: navigator.userAgent,
			subString: "Netscape",
			identity: "Netscape"
		},
		{
			string: navigator.userAgent,
			subString: "MSIE",
			identity: "Explorer",
			versionSearch: "MSIE"
		},
		{
			string: navigator.userAgent,
			subString: "Gecko",
			identity: "Mozilla",
			versionSearch: "rv"
		},
		{ 		// for older Netscapes (4-)
			string: navigator.userAgent,
			subString: "Mozilla",
			identity: "Netscape",
			versionSearch: "Mozilla"
		}
	],
	dataOS : [
		{
			string: navigator.platform,
			subString: "Win",
			identity: "Windows"
		},
		{
			string: navigator.platform,
			subString: "Mac",
			identity: "Mac"
		},
		{
			   string: navigator.userAgent,
			   subString: "iPhone",
			   identity: "iPhone/iPod"
	    },
		{
			string: navigator.platform,
			subString: "Linux",
			identity: "Linux"
		}
	]

	};
	BrowserDetect.init();
	
	function getWindowSize() 
	{
	if( (typeof( window.innerWidth ) == 'number') || ( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) ) {
	    //Non-IE
	    myWidth = document.body.clientWidth;
	    myHeight =document.body.clientHeight;
	  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
	    //IE 4 in 'standards compliant mode'
	    myWidth = document.documentElement.clientWidth;
	    myHeight = document.documentElement.clientHeight;
	  }
	  /*else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
	    //IE 6+ compatible
	    myWidth = document.body.clientWidth;
	    myHeight = document.body.clientHeight;
	  }
	  */
	}
	//---------------------------------------------------------------------------
			  //(sURL.slice(0,chunkStart) != "alto_hospicio") &&
			  //(sURL.slice(0,chunkStart) != "Alto_Hospicio") &&

			  //(sURL.slice(0,chunkStart) != "angol") &&
			  //(sURL.slice(0,chunkStart) != "antofagasta") &&
			  //(sURL.slice(0,chunkStart) != "arica") &&
			  //(sURL.slice(0,chunkStart) != "calama") &&
			  //(sURL.slice(0,chunkStart) != "chillan") &&
			  //(sURL.slice(0,chunkStart) != "copiapo") &&
			  //(sURL.slice(0,chunkStart) != "coquimbo_la_serena") &&
			  //(sURL.slice(0,chunkStart) != "coyhaique") &&
			  //(sURL.slice(0,chunkStart) != "curico") &&
			  //(sURL.slice(0,chunkStart) != "gran_concepcion") &&
			  //(sURL.slice(0,chunkStart) != "gran_santiago") &&
			  //(sURL.slice(0,chunkStart) != "gran_valparaiso") &&
			  //(sURL.slice(0,chunkStart) != "iquique") &&
			  //(sURL.slice(0,chunkStart) != "linares") &&
			  //(sURL.slice(0,chunkStart) != "los_angeles") &&
			  //(sURL.slice(0,chunkStart) != "osorno") &&
			  //(sURL.slice(0,chunkStart) != "ovalle") &&
			  //(sURL.slice(0,chunkStart) != "puerto_montt") &&
			  //(sURL.slice(0,chunkStart) != "punta_arenas") &&
			  //(sURL.slice(0,chunkStart) != "rancagua") &&
			  //(sURL.slice(0,chunkStart) != "san_antonio") &&
			  //(sURL.slice(0,chunkStart) != "talca") &&
			  //(sURL.slice(0,chunkStart) != "temuco") &&
			  //(sURL.slice(0,chunkStart) != "valdivia") &&
	//-----------------------------
	//funcion de path de navegacion
	//-----------------------------
	function breadcrumbs(str_final){
	
	  sURL = new String;
	  bits = new Object;
	  var x = 0;
	  var stop = 0;
	  var output = "<a class=\"linkGris11\" href=\"/index.html\">Inicio  /  </a>";
	  sURL = location.href;
	  sURL = sURL.slice(8,sURL.length);
	  chunkStart = sURL.indexOf("/");
	  sURL = sURL.slice(chunkStart+1,sURL.length)
	  while(!stop)
	  {
		chunkStart = sURL.indexOf("/");
		if (chunkStart != -1)
		{
		  if (
			  (sURL.slice(0,chunkStart) != "TTI") &&
			  (sURL.slice(0,chunkStart) != "Sectra") && 
			  (sURL.slice(0,chunkStart) != "planes_transporte") &&
			  (sURL.slice(0,chunkStart) != "ciudad") && 
			  (sURL.slice(0,chunkStart) != "tti") && 
			  (sURL.slice(0,chunkStart) != "sectra") && 
			  (sURL.slice(0,chunkStart) != "terminos_condiciones") && 
			  (sURL.slice(0,chunkStart) != "contacto") && 
			  (sURL.slice(0,chunkStart) != "Indicadores") && 
			  (sURL.slice(0,chunkStart) != "planes_gestion")&& 
			  (sURL.slice(0,chunkStart) != "plantilla") &&
			  (sURL.slice(0,chunkStart) != "Transporte_Medioambiente") &&
			  (sURL.slice(0,chunkStart) != "aplicaciones") &&
			  (sURL.slice(0,chunkStart) != "plan_trabajo") &&
			  (sURL.slice(0,chunkStart) != "comunas")&&
			  //(sURL.slice(0,chunkStart) != "www_final") && 
			  (sURL.slice(0,chunkStart) != "descarga_programas") &&
			  (sURL.slice(0,chunkStart) != "metodologia") &&
			  (sURL.slice(0,chunkStart) != "noticias") &&
			  (sURL.slice(0,chunkStart) != "www")
			)
		  {
		  	bits[x] = sURL.slice(0,chunkStart)
		  	x++;
		  }else{
		  	x++;
		  }
		  sURL = sURL.slice(chunkStart+1,sURL.length);
		  
		}
		else
		{
		  stop = 1;
		  x++;
		}
		
	  }
	  for(var i in bits){
			output += "<a class=\"linkGris11\" href=\"";
			for(y=1;y<x-i;y++){
			  output += "../";
			}
			
			output += bits[i] + "/\">" + f_reemplaza_path(bits[i]) + "  / </a>";
	  }
	  if (!str_final){
		  //output += "<a class=\"linkGris11\" href=\"#\">" + document.title + " </a>";
	  }else{
		  output += "<a class=\"linkGris11\" href=\"#\">" + str_final + " </a>";
	  }
	  return output;
	  
	}
	
	function f_reemplaza_path(p_str){
		p_str = p_str.replace(/_/gi," ");
		return p_str;
	}
	//-----------------------------
	
	//-------------------------------------
	//funcion prototipo para menu activado
	//-------------------------------------
	function checkActive(boton) 
	{
		
		switch (boton)
		{
			case 'index_r4_c3':
				document.getElementById(boton).setAttribute("src", RUTA_PAG+"img/index_r4_c3_a.gif");
				break;
			case 'index_r4_c4':
				document.getElementById(boton).setAttribute("src", RUTA_PAG+"img/index_r4_c4_a.gif");
				break;
			case 'index_r4_c5':
				document.getElementById(boton).setAttribute("src", RUTA_PAG+"img/index_r4_c5_a.gif");
				break;
			case 'index_r4_c6':
				document.getElementById(boton).setAttribute("src", RUTA_PAG+"img/index_r4_c6_a.gif");
				break;			
		}
	} 	
	//-------------------------------------
	
	//function f_path_menu(path_str)
	//{
	//	document.getElementById("txt_navegacion").innerHTML = '<a href="#" class="linkGris11">' + path_str + '</a>';
	//}
	
	//---------------------------
	//funciones js include página
	//---------------------------
	function f_head(path)
	{
		if (!path){
			path = "";	
		}
		var html = "";
		html += "<table width=\"780\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">";
		html += "  <tr>";
		html += "    <td>&nbsp;</td>";
		html += "    <td>&nbsp;</td>";
		html += "    <td colspan=\"4\" align=\"center\"><a href=\"" + path + "../Preguntas_Frecuentes/preguntas_frecuentes.html\" class=\"linkGris11\">Preguntas frecuentes</a></td>";
		html += "  </tr>";
		html += "  <tr>";
		html += "    <td rowspan=\"2\" align=\"center\"><a href=\"" + path + "../index.html\"><img src=\"" + path + "img/sectra.gif\" alt=\"Secretar&iacute;a de Planificaci&oacute;n y Transporte\" width=\"191\" height=\"73\" border=\"0\" /></a></td>";
		html += "    <td><img src=\"" + path + "img/secretaria_planificacion_tr.gif\" width=\"400\" height=\"49\" /></td>";
		html += "    <td colspan=\"4\" valign=\"bottom\"><img src=\"" + path + "img/difuminado_resto.gif\" width=\"190\" height=\"48\" /></td>";
		html += "  </tr>";
		html += "  <tr>";
		html += "    <td><img src=\"" + path + "img/iconos_transporte.gif\" width=\"400\" height=\"25\" /></td>";
		html += "    <td><img src=\"" + path + "img/difuminado_resto_abajo.gif\" width=\"95\" height=\"25\" /></td>";
		html += "    <td><a href=\"" + path + "../index.html\"><img src=\"" + path + "img/icono_home.gif\" alt=\"Inicio\" width=\"20\" height=\"25\" border=\"0\" /></a></td>";
		html += "    <td><a href=\"" + path + "../mapa_sitio.html\"><img src=\"" + path + "img/icono_mapa_sitio.gif\" alt=\"Mapa del Sitio\" width=\"25\" height=\"25\" border=\"0\" /></a></td>";
		

		
		html += "    <td><a href=\"#\"><img src=\"" + path + "img/ir_english_blank.gif\" alt=\"English\" width=\"50\" height=\"25\" border=\"0\" /></a></td>";
		html += "  </tr>";
		//html += "</table>";
		//html += "<table width=\"100%\" height=\"43\" border=\"1\" cellpadding=\"0\" cellspacing=\"0\" background=\"" + path + "img/menu_fondo.gif\" align=\"center\">";
		html += "  <tr>";
		html += "  <td colspan=\"6\" >";
		html += "<table width=\"780\" height=\"43\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"" + path + "img/menu_fondo.gif\" align=\"center\">";
		
		html += "  <tr>";
		html += "    <td height=\"32\"><img src=\"" + path + "img/spacer.gif\" width=\"10\" height=\"1\" /></td>";
		html += "    <td width=\"181\" height=\"32\" align=\"center\">";
		
		html += "      <form id=\"form1\" name=\"form1\" method=\"post\" action=\"javascript:f_buscar(document.getElementById('textfield').value,'" + path + "')\"  style=\"display: inline\" >";
		html += "    <table width=\"160\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
		
		html += "        <tr>";
		html += "          <th align=\"center\"><input name=\"textfield\" id=\"textfield\" type=\"text\" class=\"input\" value=\"Buscar\" onfocus=\"this.value=''\" /></th>";
		html += "          <th><a href=\"javascript:f_buscar(document.getElementById('textfield').value,'" + path + "')\"><img src=\"" + path + "img/lupa.gif\" width=\"12\" height=\"12\" border=\"0\" /></a></th>";
		html += "        </tr>";
		
		html += "    </table>";
		html += "      </form>";
		html += "    </td>";
		html += "    <td width=\"133\" height=\"32\" align=\"center\" valign=\"middle\"><a href=\"" + path + "../Que_es_Sectra/que_es_sectra.html\" class=\"menu\">QUÉ ES SECTRA</a></td>";
		html += "    <td width=\"134\" height=\"32\" align=\"center\" valign=\"middle\"><a href=\"" + path + "../biblioteca/busqueda_aster.asp\" class=\"menu\">BIBLIOTECA</a></td>";
		html += "    <td width=\"134\" height=\"32\" align=\"center\" valign=\"middle\"><a href=\"http://sintia.sectra.cl\"class=\"menu\"target=\"_blank\">SINTIA</a></td>";
		html += "    <td width=\"180\" height=\"32\" align=\"center\" valign=\"middle\"><a href=\"" + path + "../contacto/contacto.asp\" class=\"menu\">CONTACTO</a></td>";
		//html += "    <td width=\"10\" height=\"32\"><img src=\"" + path + "img/spacer.gif\" width=\"10\" height=\"1\" /></td>";
		html += "  </tr>";
		html += "  <tr>";
		html += "    <td height=\"11\" colspan=\"6\"><img src=\"" + path + "img/spacer.gif\" width=\"1\" height=\"11\" /></td>";
		html += "  </tr>";
		html += "  </td>";
		html += "  </tr>";
		html += "</table>";
		
		html += "</table>";
		document.getElementById("head").innerHTML = html;
	}
	
	function f_buscar(valor,path){
		//alert(valor);
		//alert(path);
		document.open()
		document.write ("<html>");
		document.write ("<head>");
		document.write ("</head>");
		document.write ("<body onload='form1.submit()'>");
		document.write ("<form action='" + path + "buscador/runsearch.asp' method='post' name='form1'>");
		document.write ("    <input type='hidden' name='Query' value='" + valor + "'>");
		document.write ("    <input type='hidden' name='Scope' value=''>");
		document.write ("    <input type='hidden' name='RecordsPerPage' value='10'>");
		document.write ("    <input type='hidden' name='Order' value='Rank'>"); //Rank,Size,Write
		document.write ("</form>");
		document.write ("</body>");
		document.write ("</html>");
		document.close()
	}
	
	function f_pie(path)
	{
		var html = "";
		if (!path){
			path = "";	
		}
		html += "<table width=\"760\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\">";
		html += "  <tr>";
		html += "    <td colspan=\"3\"><table width=\"760\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
		html += "      <tr>";
		html += "        <td width=\"42\" height=\"16\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
		html += "          <tr>";
		html += "            <td width=\"94%\" align=\"right\"><a href=\"" + path + "../index.html\" class=\"linkPie\">Inicio</a></td>";
		html += "            <td width=\"6%\"><img src=\"" + path + "img/spacer.gif\" alt=\"spacer\" width=\"10\" height=\"1\" /></td>";
		html += "          </tr>";
		html += "        </table></td>";
		html += "        <td width=\"1\"><img src=\"" + path + "img/a_5.gif\" alt=\"linea-pie\" width=\"1\" height=\"16\" longdesc=\"imagen/a_5.gif\" /></td>";
		html += "        <td width=\"86\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
		html += "          <tr>";
		html += "            <td align=\"center\"><a href=\"" + path + "../biblioteca/busqueda_aster.asp\" class=\"linkPie\">Biblioteca</a></td>";
		html += "          </tr>";
		html += "        </table></td>";
		html += "        <td width=\"1\"><img src=\"" + path + "img/a_5.gif\" alt=\"linea-pie\" width=\"1\" height=\"16\" longdesc=\"imagen/a_5.gif\" /></td>";
		html += "        <td width=\"96\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
		html += "          <tr>";
		html += "            <td align=\"center\"><a href=\"" + path + "../mapa_sitio.html\" class=\"linkPie\">Mapa del sitio</a></td>";
		//html += "            <td align=\"center\"><a href=\"" + path + "../mapa_sitio.html\" class=\"linkPie\">Mapa del sitio</a></td>";
		html += "          </tr>";
		html += "        </table></td>";
///////// descarga de programas
		html += "        <td width=\"1\"><img src=\"" + path + "img/a_5.gif\" alt=\"linea-pie\" width=\"1\" height=\"16\" longdesc=\"imagen/a_5.gif\" /></td>";
		html += "        <td width=\"145\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
		html += "          <tr>";
		html += "            <td align=\"center\"> <a href=\"" + path + "../descarga_programas/descarga_programas.html\" class=\"linkPie\">Descarga de programas</a></td>";
		html += "          </tr>";
		html += "        </table></td>";
///////////
		html += "        <td width=\"1\"><img src=\"" + path + "img/a_5.gif\" alt=\"linea-pie\" width=\"1\" height=\"16\" longdesc=\"imagen/a_5.gif\" /></td>";
		html += "        <td width=\"135\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
		html += "          <tr>";
		html += "            <td align=\"center\"><a href=\"" + path + "../Preguntas_Frecuentes/preguntas_frecuentes.html\" class=\"linkPie\">Preguntas Frecuentes</a></td>";
		html += "          </tr>";
		html += "        </table></td>";
		html += "        <td width=\"1\"><img src=\"" + path + "img/a_5.gif\" alt=\"linea-pie\" width=\"1\" height=\"16\" longdesc=\"imagen/a_5.gif\" /></td>";
		html += "        <td width=\"80\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
		html += "          <tr>";
		html += "            <td align=\"center\"><a href=\"" + path + "../contacto/contacto.asp\" class=\"linkPie\">Contacto</a></td>";
		//html += "            <td align=\"center\"><a href=\"" + path + "../contacto/contacto.asp\" class=\"linkPie\">Contacto</a></td>";
		html += "          </tr>";
		html += "        </table></td>";
		html += "        <td width=\"1\"><img src=\"" + path + "img/a_5.gif\" alt=\"linea-pie\" width=\"1\" height=\"16\" longdesc=\"imagen/a_5.gif\" /></td>";
		html += "        <td colspan=\"5\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
		html += "          <tr>";
		html += "            <td align=\"center\"><a href=\"" + path + "../terminos_condiciones/terminos_usos.html\" class=\"linkPie\">Términos y Condiciones de Uso</a></td>";
		html += "          </tr>";
		html += "        </table></td>";
		html += "      </tr>";
		html += "    </table></td>";
		html += "  </tr>";
		html += "  <tr>";
		html += "    <td colspan=\"3\" background=\"" + path + "img/a_4.gif\"><img src=\"" + path + "img/spacer.gif\" alt=\"spacer\" width=\"1\" height=\"1\" longdesc=\"imagen/spacer.gif\" /></td>";
		html += "  </tr>";
		html += "  <tr>";
		html += "    <td colspan=\"3\" align=\"center\" valign=\"middle\"><img src=\"" + path + "img/spacer.gif\" width=\"1\" height=\"10\" /></td>";
		html += "  </tr>";
		html += "  <tr>";
		html += "    <td width=\"184\" align=\"center\" valign=\"middle\"></td>";
		html += "    <td width=\"392\" align=\"center\" class=\"textoDest2\"> Contacto: <a href=\"" + path + "../contacto/contacto.asp\" target=\"_blank\" class=\"linkPieContacto\">Sectra Central</a> <span class=\"tituloBoton\">/</span> <a href=\"" + path + "../contacto/contacto.asp\" target=\"_blank\" class=\"linkPieContacto\">Sectra Norte</a> <span class=\"tituloBoton\">/</span> <a href=\"" + path + "../contacto/contacto.asp\" target=\"_blank\" class=\"linkPieContacto\">Sectra Sur</a></td>";
// imagen gobierno
		html += "	<td width=\"150\" align=\"center\" headers=\"header4\"><img src=\"" + path + "img/logo-gobierno1.gif\" alt=\"Gobierno de Chile Sectra\" width=\"150\" height=\"56\" longdesc=\"imagen/logo-gobierno1.gif\" /></td>";
		html += "   <td width=\"34\" align=\"center\" valign=\"middle\"></td>";
		html += "  </tr>";
		html += "  <tr>";
		html += "    <td colspan=\"3\" align=\"center\" valign=\"middle\"><table width=\"300\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";
		html += "      <tr>";
		html += "        <td>&nbsp;</td>";
		html += "      </tr>";
		html += "      <tr>";
		html += "        <td align=\"center\" valign=\"middle\"><a target=\"_blank\" href=\"http://jigsaw.w3.org/css-validator/check/referer\"> <img src=\"" + path + "img/w3c_css.gif\"";
		html += "            alt=\"&iexcl;CSS V&aacute;lido!\" width=\"56\" height=\"20\" style=\"border:0;width:56px;height:20px\" /></a>  <a  target=\"_blank\" href=\"http://validator.w3.org/check?uri=referer\"><img src=\"" + path + "img/w3c_xhtml.gif\"";
		html += "        alt=\"Valid XHTML 1.0 Transitional\" width=\"56\" height=\"20\" border=\"0\" /></a>"
		html += " <a  target=\"_blank\" href=\"http://www.w3.org/WAI/WCAG1AA-Conformance\" title=\"Explicación del Nivel Doble-A de Conformidad\"><img src=\"" + path + "img/w3c_waiaa.gif\" alt=\"Icono de conformidad con el Nivel Doble-A, de las Directrices de Accesibilidad para el Contenido Web 1.0 del W3C-WAI\" width=\"56\" height=\"20\" border=\"0\"></a>";

		html += "</td>";
		html += "      </tr>";
		html += "      <tr>";
		html += "        <td align=\"center\" class=\"pie\">Optimizado para una resolución de 800 x 600 y superior.</td>";
		html += "      </tr>";
		html += "    </table></td>";
		html += "  </tr>";
		html += "</table>";
		document.getElementById("pie").innerHTML = html;
	}
	
	function f_pie_old(path)
	{
		var html = "";
		if (!path){
			path = "";	
		}
		html += "<table width=\"760\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">";
		html += "  <tr>";
		html += "    <td colspan=\"3\"><table width=\"760\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
		html += "      <tr>";
		html += "        <td width=\"182\" height=\"16\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
		html += "          <tr>";
		html += "            <td width=\"94%\" align=\"right\"><a href=\"" + path + "../index.html\" class=\"linkPie\">Inicio</a></td>";
		html += "            <td width=\"6%\"><img src=\"" + path + "img/spacer.gif\" alt=\"spacer\" width=\"10\" height=\"1\" /></td>";
		html += "          </tr>";
		html += "        </table></td>";
		html += "        <td width=\"1\"><img src=\"" + path + "img/a_5.gif\" alt=\"linea-pie\" width=\"1\" height=\"16\" longdesc=\"imagen/a_5.gif\" /></td>";
		html += "        <td width=\"86\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
		html += "          <tr>";
		html += "            <td align=\"center\"> <a href=\"#\" class=\"linkPie\">Biblioteca</a></td>";
		html += "          </tr>";
		html += "        </table></td>";
		html += "        <td width=\"1\"><img src=\"" + path + "img/a_5.gif\" alt=\"linea-pie\" width=\"1\" height=\"16\" longdesc=\"imagen/a_5.gif\" /></td>";
		html += "        <td width=\"96\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
		html += "          <tr>";
		html += "            <td align=\"center\"> <a href=\"#\" class=\"linkPie\">Mapa del sitio</a></td>";
		html += "          </tr>";
		html += "        </table></td>";
/////////
		html += "        <td width=\"1\"><img src=\"" + path + "img/a_5.gif\" alt=\"linea-pie\" width=\"1\" height=\"16\" longdesc=\"imagen/a_5.gif\" /></td>";
		html += "        <td width=\"96\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
		html += "          <tr>";
		html += "            <td align=\"center\"> <a href=\"#\" class=\"linkPie\">SOPASSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS del sitio</a></td>";
		html += "          </tr>";
		html += "        </table></td>";
///////////
		html += "        <td width=\"1\"><img src=\"" + path + "img/a_5.gif\" alt=\"linea-pie\" width=\"1\" height=\"16\" longdesc=\"imagen/a_5.gif\" /></td>";
		html += "        <td width=\"135\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
		html += "          <tr>";
		html += "            <td align=\"center\"><a href=\"#\" class=\"linkPie\">Preguntas Frecuentes</a></td>";
		html += "          </tr>";
		html += "        </table></td>";
		html += "        <td width=\"1\"><img src=\"" + path + "img/a_5.gif\" alt=\"linea-pie\" width=\"1\" height=\"16\" longdesc=\"imagen/a_5.gif\" /></td>";
		html += "        <td width=\"80\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
		html += "          <tr>";
		html += "            <td align=\"center\"><a href=\"#\" class=\"linkPie\">Contacto</a></td>";
		html += "          </tr>";
		html += "        </table></td>";
		html += "        <td width=\"1\"><img src=\"" + path + "img/a_5.gif\" alt=\"linea-pie\" width=\"1\" height=\"16\" longdesc=\"imagen/a_5.gif\" /></td>";
		html += "        <td colspan=\"5\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
		html += "          <tr>";
		html += "            <td align=\"center\"><a href=\"#\" class=\"linkPie\">Términos y Condiciones de Uso</a></td>";
		html += "          </tr>";
		html += "        </table></td>";
		html += "      </tr>";
		html += "    </table></td>";
		html += "  </tr>";
		html += "  <tr>";
		html += "    <td colspan=\"7\" background=\"" + path + "img/a_4.gif\"><img src=\"" + path + "img/spacer.gif\" alt=\"spacer\" width=\"1\" height=\"1\" longdesc=\"imagen/spacer.gif\" /></td>";
		html += "  </tr>";
		html += "  <tr>";
		html += "    <td colspan=\"7\" align=\"center\" valign=\"middle\"><img src=\"" + path + "img/spacer.gif\" width=\"1\" height=\"10\" /></td>";
		html += "  </tr>";
		html += "  <tr>";
		html += "    <td width=\"160\" align=\"center\" valign=\"middle\"><img src=\"" + path + "img/logo-gobierno.gif\" alt=\"Gobierno de Chile Sectra\" width=\"127\" height=\"39\" longdesc=\"imagen/logo-gobierno.gif\" /></td>";
		html += "    <td width=\"633\" colspan=\"6\" class=\"pie\">      <strong>      Sectra Central</strong>, Teatinos 950, Piso 16, Santiago, Chile. <a href=\"mailto:sectra@sectra.cl\" class=\"linkPie\">sectra@sectra.cl</a> <br />";
		html += "      <strong>Sectra Norte</strong>, 2 Norte 17, Viña del Mar, Chile. <a href=\"mailto:sectranorte@sectra.cl\" class=\"linkPie\">sectranorte@sectra.cl</a><br />";
		html += "      <strong>Sectra Sur</strong>, Avda. Padre Hurtado 570, Piso 3, Concepción, Chile. <a href=\"mailto:sectrasur@sectra.cl\" class=\"linkPie\">sectrasur@sectra.cl</a></td>";
		html += "  </tr>";
		html += "  <tr>";
		html += "    <td colspan=\"7\" align=\"center\" valign=\"middle\"><table  width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
		html += "          <tr>";
		html += "            <td colspan=\"2\">&nbsp;</td>";
		html += "          </tr>";
		html += "          <tr>";
		html += "            <td><a href=\"#\"><img src=\"" + path + "img/descarga.gif\" alt=\"Descarga\" name=\"descarga\" width=\"126\" height=\"37\" border=\"0\" id=\"descarga\" longdesc=\"imagen/descarga.gif\" onmouseover=\"MM_swapImage('descarga','','" + path + "img/descarga.gif',1)\" onmouseout=\"MM_swapImgRestore()\" /></a></td>";
		html += "            <td align=\"center\"><img src=\"" + path + "img/w3c.gif\" alt=\"w3c\" width=\"185\" height=\"23\" longdesc=\"imagen/w3c.gif\" /></td>";
		html += "          </tr>";
		html += "          <tr>";
		html += "            <td>&nbsp;</td>";
		html += "            <td align=\"center\" class=\"pie\">Optimizado para una resolución de 800 x 600 y superior.</td>";
		html += "          </tr>";
		html += "      </table></td>";
		html += "  </tr>";
		html += "</table>";
		document.getElementById("pie").innerHTML = html;
	}
	
	function muestra_l1(){
		
		if (document.getElementById("Layer1").style.display == 'block'){
			document.getElementById("Layer1").style.display='none';
		}else {
			document.getElementById("Layer1").style.display='block';
		}
		document.getElementById("Layer2").style.display='none';
		document.getElementById("Layer3").style.display='none';
		document.getElementById("Layer4").style.display='none';
		document.getElementById("Layer5").style.display='none';
	}
	function muestra_l2(){
		if (document.getElementById("Layer2").style.display == 'block'){
			document.getElementById("Layer2").style.display='none';
		}else {
			document.getElementById("Layer2").style.display='block';
		}
		document.getElementById("Layer1").style.display='none';
		document.getElementById("Layer3").style.display='none';
		document.getElementById("Layer4").style.display='none';
		document.getElementById("Layer5").style.display='none';
	}
	function muestra_l3(){
		if (document.getElementById("Layer3").style.display == 'block'){
			document.getElementById("Layer3").style.display='none';
		}else {
			document.getElementById("Layer3").style.display='block';
		}
		document.getElementById("Layer1").style.display='none';
		document.getElementById("Layer2").style.display='none';
		document.getElementById("Layer4").style.display='none';
		document.getElementById("Layer5").style.display='none';
	}
	
	function muestra_l4(){
		if (document.getElementById("Layer4").style.display == 'block'){
			document.getElementById("Layer4").style.display='none';
		}else {
			document.getElementById("Layer4").style.display='block';
		}
		document.getElementById("Layer1").style.display='none';
		document.getElementById("Layer2").style.display='none';
		document.getElementById("Layer3").style.display='none';
		document.getElementById("Layer5").style.display='none';
	}
	
		function muestra_l5(){
		if (document.getElementById("Layer5").style.display == 'block'){
			document.getElementById("Layer5").style.display='none';
		}else {
			document.getElementById("Layer5").style.display='block';
		}
		document.getElementById("Layer1").style.display='none';
		document.getElementById("Layer2").style.display='none';
		document.getElementById("Layer3").style.display='none';
		document.getElementById("Layer4").style.display='none';
	}

function f_menu_lateral(path)
	{
		var html = "";
		if (!path){
			path = "";	
		}
html += "			<table  width=\"192\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";
html += "			  <tr>";
html += "				<td width=\"10\" rowspan=\"21\"><img src=\"" + path + "img/spacer.gif\" alt=\"spacer\" width=\"10\" height=\"1\" longdesc=\"imagen/spacer.gif\" /></td>";
html += "				<td height=\"1\" style=\"background-image: url(" + path + "img/a_1.gif)\"><img src=\"" + path + "img/spacer.gif\" alt=\"spacer\" width=\"1\" height=\"1\" longdesc=\"imagen/spacer.gif\" /></td>";
html += "				<td width=\"1\" height=\"1\" rowspan=\"10\"><img src=\"" + path + "img/spacer.gif\" alt=\"spacer\" width=\"1\" height=\"1\" longdesc=\"imagen/spacer.gif\" /></td>";
html += "			  </tr>";
html += "			  <tr>";
html += "				<td width=\"181\" height=\"49\" style=\"background-image: url(" + path + "img/fondo_menu.gif)\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
html += "				  <tr>";
html += "					<td><img src=\"" + path + "img/a_3.gif\" alt=\"punto\" width=\"13\" height=\"10\" longdesc=\"imagen/a_3.gif\" /></td>";
html += "					<td align=\"left\"><a href=\"" + path + "../Indicadores_de_Movilidad/indicadores_movilidad.html\" class=\"MenuLateral\"><strong>Indicadores de Movilidad</strong></a></td>";
html += "				  </tr>";
html += "				</table></td>";
html += "			  </tr>";
html += "			  <tr>";
html += "				<td style=\"background-image: url(" + path + "img/a_1.gif)\"><img src=\"" + path + "img/spacer.gif\" alt=\"spacer\" width=\"1\" height=\"1\" longdesc=\"imagen/spacer.gif\" /></td>";
html += "			  </tr>";
html += "			  <tr>";
html += "				<td width=\"181\" height=\"49\" style=\"background-image: url(" + path + "img/fondo_menu.gif)\" valign=\"bottom\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
html += "				  <tr>";
html += "					<td colspan=\"2\" valign=\"bottom\"><img src=\"" + path + "img/spacer.gif\" alt=\"spacer\" width=\"10\" height=\"8\" /></td>";
html += "				  </tr>";
html += "				  <tr>";
html += "					<td valign=\"top\"><img src=\"" + path + "img/a_3.gif\" alt=\"punto\" width=\"13\" height=\"10\" longdesc=\"imagen/a_3.gif\" /></td>";
html += "					<td align=\"left\"><a href=\"" + path + "../Planes_Maestros_de_Transporte_Urbano/planes_transporte.html\" class=\"MenuLateral\"><strong>Planes de Transporte Urbano</strong></a></td>";
html += "				  </tr>";
html += "				  <tr>";
html += "					<td>&nbsp;</td>";
html += "					<td align=\"right\"><a href=\"javascript:muestra_l1();\" class=\"MenuLateral\"><b> + ciudad</b>  </a>";
html += "					</td>";
html += "				  </tr>";
html += "				</table></td>";
html += "			  </tr>";

html += "			  <tr>";
html += "			  	<td align=\"center\" bgcolor=\"#F8F9FB\">";
html += "					<div id=\"Layer1\" style=\"display:none;\"><select onchange=\"window.location=this.value\" class=\"input\">";
html += "					<option>Seleccione ciudad</option>";
html += "					<option value=\"" + path + "../Planes_Maestros_de_Transporte_Urbano/ciudad/Alto_Hospicio/plan_maestro.html\">Alto Hospicio</option>";
html += "					<option value=\"" + path + "../Planes_Maestros_de_Transporte_Urbano/ciudad/Angol/plan_maestro.html\">Angol</option>";
html += "					<option value=\"" + path + "../Planes_Maestros_de_Transporte_Urbano/ciudad/Antofagasta/plan_maestro.html\">Antofagasta</option>";
html += "					<option value=\"" + path + "../Planes_Maestros_de_Transporte_Urbano/ciudad/Arica/plan_maestro.html\">Arica</option>"; 
html += "					<option value=\"" + path + "../Planes_Maestros_de_Transporte_Urbano/ciudad/Calama/plan_maestro.html\">Calama</option>";
html += "					<option value=\"" + path + "../Planes_Maestros_de_Transporte_Urbano/ciudad/Chillan/plan_maestro.html\">Chillán</option>";
html += "					<option value=\"" + path + "../Planes_Maestros_de_Transporte_Urbano/ciudad/Copiapo/plan_maestro.html\">Copiapó</option>";
html += "					<option value=\"" + path + "../Planes_Maestros_de_Transporte_Urbano/ciudad/Coquimbo_la_Serena/plan_maestro.html\">Coquimbo - La Serena</option>";
html += "					<option value=\"" + path + "../Planes_Maestros_de_Transporte_Urbano/ciudad/Coyhaique/plan_maestro.html\">Coyhaique</option>";
html += "					<option value=\"" + path + "../Planes_Maestros_de_Transporte_Urbano/ciudad/Curico/plan_maestro.html\">Curicó</option>";
html += "					<option value=\"" + path + "../Planes_Maestros_de_Transporte_Urbano/ciudad/Gran_Concepcion/plan_maestro.html\">Gran Concepción</option>";
html += "					<option value=\"" + path + "../Planes_Maestros_de_Transporte_Urbano/ciudad/Gran_Santiago/plan_maestro.html\">Gran Santiago</option>";
html += "					<option value=\"" + path + "../Planes_Maestros_de_Transporte_Urbano/ciudad/Gran_Valparaiso/plan_maestro.html\">Gran Valparaíso</option>";
html += "					<option value=\"" + path + "../Planes_Maestros_de_Transporte_Urbano/ciudad/Iquique/plan_maestro.html\">Iquique</option>";
html += "					<option value=\"" + path + "../Planes_Maestros_de_Transporte_Urbano/ciudad/Linares/plan_maestro.html\">Linares</option>";
html += "					<option value=\"" + path + "../Planes_Maestros_de_Transporte_Urbano/ciudad/Los_Angeles/plan_maestro.html\">Los Ángeles</option>";
html += "					<option value=\"" + path + "../Planes_Maestros_de_Transporte_Urbano/ciudad/Osorno/plan_maestro.html\">Osorno</option>";
html += "					<option value=\"" + path + "../Planes_Maestros_de_Transporte_Urbano/ciudad/Ovalle/plan_maestro.html\">Ovalle</option>";
html += "					<option value=\"" + path + "../Planes_Maestros_de_Transporte_Urbano/ciudad/Puerto_Montt/plan_maestro.html\">Puerto Montt</option>";
html += "					<option value=\"" + path + "../Planes_Maestros_de_Transporte_Urbano/ciudad/Punta_Arenas/plan_maestro.html\">Punta Arenas</option>";
html += "					<option value=\"" + path + "../Planes_Maestros_de_Transporte_Urbano/ciudad/Rancagua/plan_maestro.html\">Rancagua</option>";
html += "					<option value=\"" + path + "../Planes_Maestros_de_Transporte_Urbano/ciudad/Talca/plan_maestro.html\">Talca</option>";
html += "					<option value=\"" + path + "../Planes_Maestros_de_Transporte_Urbano/ciudad/Temuco/plan_maestro.html\">Temuco</option>";
html += "					<option value=\"" + path + "../Planes_Maestros_de_Transporte_Urbano/ciudad/Valdivia/plan_maestro.html\">Valdivia</option>";
html += "					</select></div>";
html += "			  	</td>";
html += "			  </tr>";

html += "			  <tr>";
html += "				<td style=\"background-image: url(" + path + "img/a_1.gif)\"><img src=\"" + path + "img/spacer.gif\" alt=\"spacer\" width=\"1\" height=\"1\" longdesc=\"imagen/spacer.gif\" /></td>";
html += "			  </tr>";
html += "			  <tr>";
html += "				<td width=\"181\" height=\"49\" style=\"background-image: url(" + path + "img/fondo_menu.gif)\" valign=\"bottom\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
html += "				  <tr>";
html += "					<td colspan=\"2\" valign=\"bottom\"><img src=\"" + path + "img/spacer.gif\" alt=\"spacer\" width=\"10\" height=\"8\" /></td>";
html += "				  </tr>";
html += "				  <tr>";
html += "					<td valign=\"top\"><img src=\"" + path + "img/a_3.gif\" alt=\"punto\" width=\"13\" height=\"10\" longdesc=\"imagen/a_3.gif\" /></td>";
html += "					<td align=\"left\"><a href=\"" + path + "../Planes_Maestros_de_Gestion_de_Transito/planes_gestion.html\" class=\"MenuLateral\"><strong>Planes de Gestión de Tránsito</a></td>";
html += "					</td>";
html += "				  </tr>";
html += "				  <tr>";
html += "					<td>&nbsp;</td>";

html += "					<td align=\"right\"><a href=\"javascript:muestra_l2();\" class=\"MenuLateral\"><b>+ Regi&oacute;n</b>  </a>";

html += "					</td>";
html += "				  </tr>";
html += "				</table></td>";
html += "			  </tr>";

//este es el Layer2
html += "			  <tr>";
html += "			  	<td align=\"center\" bgcolor=\"#F8F9FB\">";
html += "					<div id=\"Layer2\" style=\"display:none;\">";
html += "					<select onchange=\"window.location=this.value\" class=\"input\">";
html += "					<option>Seleccione una Regi&oacute;n</option>";
html += "					<option value=\"" + path + "Planes_Maestros_de_Gestion_de_Transito/planes_gestion_I.html\">de Tarapac&aacute;</option>";
html += "					<option value=\"" + path + "Planes_Maestros_de_Gestion_de_Transito/planes_gestion_II.html\">de Antofagasta</option>";
html += "					<option value=\"" + path + "Planes_Maestros_de_Gestion_de_Transito/planes_gestion_V.html\">de Valpara&iacute;so</option>";
html += "					<option value=\"" + path + "Planes_Maestros_de_Gestion_de_Transito/planes_gestion_RM.html\">Metropolitana</option>";
html += "					<option value=\"" + path + "Planes_Maestros_de_Gestion_de_Transito/planes_gestion_VI.html\">del Libertador B.O'Higgins</option>";
html += "					<option value=\"" + path + "Planes_Maestros_de_Gestion_de_Transito/planes_gestion_VIII.html\">del Biob&iacute;o</option>";
html += "					<option value=\"" + path + "Planes_Maestros_de_Gestion_de_Transito/planes_gestion_IX.html\">de La Araucan&iacute;a</option>";
html += "					<option value=\"" + path + "Planes_Maestros_de_Gestion_de_Transito/planes_gestion_XIV.html\">de Los R&iacute;os</option>";
html += "					<option value=\"" + path + "Planes_Maestros_de_Gestion_de_Transito/planes_gestion_XI.html\">de Ays&eacute;n</option>";
html += "					</select></div>";
html += "			  	</td>";
html += "			  </tr>";


html += "			  <tr>";
html += "				<td style=\"background-image: url(" + path + "img/a_1.gif)\"><img src=\"" + path + "img/spacer.gif\" alt=\"spacer\" width=\"1\" height=\"1\" longdesc=\"imagen/spacer.gif\" /></td>";
html += "			  </tr>";
html += "			  <tr>";
html += "				<td width=\"181\" height=\"49\" style=\"background-image: url(" + path + "img/fondo_menu.gif)\" valign=\"bottom\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
html += "				  <tr>";
html += "					<td colspan=\"2\" valign=\"bottom\"><img src=\"" + path + "img/spacer.gif\" alt=\"spacer\" width=\"10\" height=\"8\" /></td>";
html += "				  </tr>";
html += "				  <tr>";
html += "					<td valign=\"top\"><img src=\"" + path + "img/a_3.gif\" alt=\"punto\" width=\"13\" height=\"10\" longdesc=\"imagen/a_3.gif\" /></td>";
html += "					<td align=\"left\"><a href=\"" + path + "../Datos_e_Informacion_Espacial/intro.html\" class=\"MenuLateral\"><strong>Datos e Información Espacial</strong></a></td>";
html += "					</td>";
html += "				  </tr>";
html += "				  <tr>";
html += "					<td>&nbsp;</td>";
html += "					<td align=\"right\"><a href=\"javascript:muestra_l3();\" class=\"MenuLateral\"><b> + ciudad  </b></a>";
html += "					</td>";
html += "				  </tr>";
html += "				</table></td>";
html += "			  </tr>";

html += "			  <tr>";
html += "			  	<td align=\"center\" bgcolor=\"#F8F9FB\">";
html += "					<div id=\"Layer3\" style=\"display:none;\">";
html += "					<select onchange=\"window.location=this.value\" class=\"input\">";
html += "					<option>Seleccione ciudad</option>";
html += "					<option value=\"" + path + "Datos_e_Informacion_Espacial/Antofagasta/encuestas_movilidad.html\">Antofagasta</option>";
html += "					<option value=\"" + path + "Datos_e_Informacion_Espacial/Arica/encuestas_movilidad.html\">Arica</option>";
html += "					<option value=\"" + path + "Datos_e_Informacion_Espacial/Chillan/encuestas_movilidad.html\">Chillán</option>";
html += "					<option value=\"" + path + "Datos_e_Informacion_Espacial/Copiapo/encuestas_movilidad.html\">Copiapó</option>";
html += "					<option value=\"" + path + "Datos_e_Informacion_Espacial/Coquimbo_la_Serena/encuestas_movilidad.html\">Coquimbo - La Serena</option>";
html += "					<option value=\"" + path + "Datos_e_Informacion_Espacial/Curico/encuestas_movilidad.html\">Curicó</option>";
html += "					<option value=\"" + path + "Datos_e_Informacion_Espacial/Gran_Concepcion/encuestas_movilidad.html\">Gran Concepción</option>";
html += "					<option value=\"" + path + "Datos_e_Informacion_Espacial/Gran_Santiago/encuestas_movilidad.html\">Gran Santiago</option>";
html += "					<option value=\"" + path + "Datos_e_Informacion_Espacial/Gran_Valparaiso/encuestas_movilidad.html\">Gran Valparaíso</option>";
html += "					<option value=\"" + path + "Datos_e_Informacion_Espacial/Iquique/encuestas_movilidad.html\">Iquique</option>";
html += "					<option value=\"" + path + "Datos_e_Informacion_Espacial/Linares/encuestas_movilidad.html\">Linares</option>";
html += "					<option value=\"" + path + "Datos_e_Informacion_Espacial/Los_Angeles/encuestas_movilidad.html\">Los Ángeles</option>";
html += "					<option value=\"" + path + "Datos_e_Informacion_Espacial/Osorno/encuestas_movilidad.html\">Osorno</option>";
html += "					<option value=\"" + path + "Datos_e_Informacion_Espacial/Puerto_Montt/encuestas_movilidad.html\">Puerto Montt</option>";
html += "					<option value=\"" + path + "Datos_e_Informacion_Espacial/Punta_Arenas/encuestas_movilidad.html\">Punta Arenas</option>";
html += "					<option value=\"" + path + "Datos_e_Informacion_Espacial/Rancagua/encuestas_movilidad.html\">Rancagua</option>";
html += "					<option value=\"" + path + "Datos_e_Informacion_Espacial/San_Antonio/encuestas_movilidad.html\">San Antonio</option>";
html += "					<option value=\"" + path + "Datos_e_Informacion_Espacial/Talca/encuestas_movilidad.html\">Talca</option>";
html += "					<option value=\"" + path + "Datos_e_Informacion_Espacial/Temuco/encuestas_movilidad.html\">Temuco</option>";
html += "					<option value=\"" + path + "Datos_e_Informacion_Espacial/Valdivia/encuestas_movilidad.html\">Valdivia</option>";
html += "					</select></div>";
html += "			  	</td>";
html += "			  </tr>";


html += "			  <tr>";
html += "				<td style=\"background-image: url(" + path + "img/a_1.gif)\"><img src=\"" + path + "img/spacer.gif\" alt=\"spacer\" width=\"1\" height=\"1\" longdesc=\"imagen/spacer.gif\" /></td>";
html += "			  </tr>";
html += "			  <tr>";
html += "				<td width=\"181\" height=\"49\" style=\"background-image: url(" + path + "img/fondo_menu.gif)\" valign=\"bottom\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
html += "				  <tr>";
html += "					<td colspan=\"2\" valign=\"bottom\"><img src=\"" + path + "img/spacer.gif\" alt=\"spacer\" width=\"10\" height=\"8\" /></td>";
html += "				  </tr>";
html += "				  <tr>";
html += "					<td valign=\"top\"><img src=\"" + path + "img/a_3.gif\" alt=\"punto\" width=\"13\" height=\"10\" longdesc=\"imagen/a_3.gif\" /></td>";
html += "					<td align=\"left\"><a href=\"" + path + "../Modelaciones_de_Transporte/modelaciones.html\" class=\"MenuLateral\"><strong>Modelaciones de Transporte</strong></a></td>";
html += "				  </tr>";
html += "				  <tr>";
html += "					<td>&nbsp;</td>";
html += "					<td align=\"right\"><a href=\"javascript:muestra_l4();\" class=\"MenuLateral\"><b>+ ciudad  </b></a>";
html += "					</td>";
html += "				  </tr>";
html += "				</table></td>";
html += "			  </tr>";

html += "			  <tr>";
html += "			  	<td align=\"center\" bgcolor=\"#F8F9FB\">";
html += "					<div id=\"Layer4\" style=\"display:none;\">";
html += "					<select onchange=\"window.location=this.value\"  class=\"input\">";
html += "					<option>Seleccione ciudad</option>";
//html += "					<option>Iquique</option>";
//html += "					<option>Alto Hospicio</option>";
//html += "					<option>Antofagasta</option>";
//html += "					<option>Calama</option>";
//html += "					<option>Copiapó</option>";
//html += "					<option>Coquimbo - La Serena</option>";
//html += "					<option>Ovalle</option>";
//html += "					<option>Gran Valparaíso</option>";
html += "					<option value=\"" + path + "../Modelaciones_de_Transporte/ciudad/Gran_Santiago/modelaciones_transporte.html\">Gran Santiago</option>";
//html += "					<option>Rancagua</option>";
//html += "					<option>Curicó</option>";
//html += "					<option>Talca</option>";
//html += "					<option>Linares Chillán</option>";
//html += "					<option>Los Ángeles</option>";
//html += "					<option>Gran Concepción</option>";
//html += "					<option>Angol</option>";
//html += "					<option>Temuco</option>";
//html += "					<option>Valdivia</option>";
//html += "					<option>Osorno</option>";
//html += "					<option>Puerto Montt</option>";
//html += "					<option>Coyhaique</option>";
//html += "					<option>Punta Arenas</option>";
html += "					</select></div>";
html += "			  	</td>";
html += "			  </tr>";


html += "			  <tr>";
html += "				<td style=\"background-image: url(" + path + "img/a_1.gif)\"><img src=\"" + path + "img/a_1.gif\" alt=\"spacer\" width=\"4\" height=\"1\" longdesc=\"imagen/spacer.gif\" /></td>";
html += "				<td rowspan=\"13\"><img src=\"" + path + "img/spacer.gif\" alt=\"spacer\" width=\"1\" height=\"1\" longdesc=\"imagen/spacer.gif\" /></td>";
html += "			  </tr>";
html += "			  <tr>";
html += "				<td width=\"181\" height=\"49\" style=\"background-image: url(" + path + "img/fondo_menu.gif)\" valign=\"top\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
html += "				  <tr>";
html += "					<td colspan=\"2\" valign=\"bottom\"><img src=\"" + path + "img/spacer.gif\" alt=\"spacer\" width=\"10\" height=\"13\" /></td>";
html += "				  </tr>";
html += "				  <tr>";
html += "					<td valign=\"top\"><img src=\"" + path + "img/a_3.gif\" alt=\"punto\" width=\"13\" height=\"10\" longdesc=\"imagen/a_3.gif\" /></td>";
html += "					<td align=\"left\"><a href=\"" + path + "../Metodologias_y_Herramientas_de_Transporte/introduccion.html\" class=\"MenuLateral\"><strong>Metodologías y Herramientas &nbsp;&nbsp;&nbsp; de Transporte</strong></a></td>";
html += "					</td>";
html += "				  </tr>";
html += "				</table></td>";
html += "			  </tr>";
html += "			  <tr>";
html += "				<td style=\"background-image: url(" + path + "img/a_1.gif)\"><img src=\"" + path + "img/spacer.gif\" alt=\"spacer\" width=\"1\" height=\"1\" longdesc=\"imagen/spacer.gif\" /></td>";
html += "			  </tr>";

//html += "			 <tr>";
//html += "				<td width=\"181\" height=\"49\" style=\"background-image: url(" + path + "img/fondo_menu.gif)\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
//html += "				  <tr>";
//html += "					<td><img src=\"" + path + "img/a_3.gif\" alt=\"punto\" width=\"13\" height=\"10\" longdesc=\"imagen/a_3.gif\" /></td>";
//html += "					<td align=\"left\"><a href=\"" + path + "../transporte_interurbano/introduccion.html\" class=\"MenuLateral\"><strong>Transporte Interurbano</strong></a></td>";
//html += "				  </tr>";
//html += "				  <tr>";
//html += "					<td>&nbsp;</td>";
//html += "					<td align=\"right\"><a href=\"javascript:muestra_l5();\" class=\"MenuLateral\"><b>+ Areas</b>  </a>";
//html += "					</td>";
//html += "				  </tr>";
//html += "				</table></td>";
//html += "			  </tr>";


//html += "			  <tr>";
//html += "			  	<td align=\"center\" bgcolor=\"#F8F9FB\">";
//html += "					<div id=\"Layer5\" style=\"display:none;\">";
//html += "					<select onchange=\"window.location=this.value\"  class=\"input\">";
//html += "					<option>Seleccione ciudad</option>";
//html += "					<option value=\"\" style=\"background: blue\">MODOS</option>";
//html += "					<option>Carretero</option>";
//html += "					<option>Ferroviario</option>";
//html += "					<option>Marítimo</option>";
//html += "					<option>Aéreo</option>";
//html += "					<option value=\"\" style=\"background: blue\">AREAS</option>";
//html += "					<option>Análisis sistémico</option>";
//html += "					<option>Evaluación de proyectos</option>";
//html += "					<option>Políticas de Transporte</option>";
//html += "					</select></div>";
//html += "			  	</td>";
//html += "			  </tr>";

html += "				 <tr>";
html += "				<td style=\"background-image: url(" + path + "img/a_1.gif)\"><img src=\"" + path + "img/spacer.gif\" alt=\"spacer\" width=\"1\" height=\"1\" longdesc=\"imagen/spacer.gif\" /></td>";
html += "			  </tr>";
html += "			  <tr>";
html += "				<td width=\"181\" height=\"49\" style=\"background-image: url(" + path + "img/fondo_menu.gif)\" valign=\"bottom\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
html += "				  <tr>";
html += "					<td colspan=\"2\" valign=\"bottom\"><img src=\"" + path + "img/spacer.gif\" alt=\"spacer\" width=\"10\" height=\"8\" /></td>";
html += "				  </tr>";
html += "				  <tr>";
html += "					<td valign=\"top\"><img src=\"" + path + "img/a_3.gif\" alt=\"punto\" width=\"13\" height=\"10\" longdesc=\"imagen/a_3.gif\" /></td>";
html += "					<td align=\"left\"><a href=\"" + path + "../Transporte_Interurbano/introduccion.html\" class=\"MenuLateral\"><strong>Transporte Interurbano</strong></a></td>";
html += "				  </tr>";
html += "				  <tr>";
html += "					<td>&nbsp;</td>";
html += "					<td align=\"right\"><a href=\"javascript:muestra_l5();\" class=\"MenuLateral\"><b>+ Areas  </b></a>";
html += "					</td>";
html += "				  </tr>";
html += "				</table></td>";
html += "			  </tr>";

html += "			  <tr>";
html += "			  	<td align=\"center\" bgcolor=\"#F8F9FB\">";
html += "					<div id=\"Layer5\" style=\"display:none;\">";
html += "					<select onchange=\"window.location=this.value\"  class=\"input\">";
html += "					<option>Seleccione Area</option>";
html += "					<option value=\"" + path + "../Transporte_Interurbano/Analisis_Sistemico/enfoque_analisis.html\">Análisis sistémico</option>";
html += "					<option value=\"" + path + "../Transporte_Interurbano/Metodologias_estudio_proyectos/metodologia_seguridad_vial.html\">Evaluación de proyectos</option>";
html += "					<option value=\"" + path + "../Transporte_Interurbano/Apoyo_Formulacion_Politicas/plan_transporte_interurbano.html\">Políticas de transporte</option>";
html += "					</select></div>";
html += "			  	</td>";
html += "			  </tr>";

html += "			  <tr>";
html += "				<td style=\"background-image: url(" + path + "img/a_1.gif)\"><img src=\"" + path + "img/spacer.gif\" alt=\"spacer\" width=\"1\" height=\"1\" longdesc=\"imagen/spacer.gif\" /></td>";
html += "			  </tr>";
html += "			  <tr>";
html += "				<td>&nbsp;</td>";
html += "			  </tr>";
html += "			</table>";



		document.getElementById("menu_lateral").innerHTML = html;
	}


	function f_botonera(path,nombre_pag_actual)
	{
		var html = "";
		if (!path){
			path = "";	
		}
		html += "<table width=\"780\" height=\"34\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\">";
		html += "  <tr>";
		html += "    <td><img src=\"" + path + "img/spacer.gif\" width=\"10\" height=\"10\" /></td>";
		html += "    <td  align=\"left\"width=\"600\">" + "<div id='div_flash'></div>" + "</td>";
		html += "    <td align=\"left\" nowrap><table align=\"right\" width=\"115\" border=\"0\" cellspacing=\"1\" cellpadding=\"1\">";
		html += "      <tr>";
		
		html += "<td ><div> <a href='#nogo' onclick=\"setTamanoCSS('mediano');\"><img src=\"" + path + "img/menos_a.gif\" alt=\"\" name=\"a\" width=\"26\" height=\"24\" border=\"0\" id=\"a\" onmouseover=\"MM_swapImage('a','','" + path + "img/menos_a_down.gif',1)\" onmouseout=\"MM_swapImgRestore()\" /></a>";
		html += "<a href='#nogo' onclick=\"setTamanoCSS('grande');\"><img src=\"" + path + "img/mas_a.gif\" alt=\"\" name=\"mas_a\" width=\"26\" height=\"24\" border=\"0\" id=\"mas_a\" onmouseover=\"MM_swapImage('mas_a','','" + path + "img/mas_a_down.gif',1)\" onmouseout=\"MM_swapImgRestore()\" /></a>";
		html += "<a href='#nogo' onclick=\"setTamanoCSS('Masgrande');\"><img src=\"" + path + "img/mas_mas_a.gif\" alt=\"\" name=\"masMas\" width=\"26\" height=\"24\" border=\"0\" id=\"masMas\" onmouseover=\"MM_swapImage('masMas','','" + path + "img/mas_mas_a_down.gif',1)\" onmouseout=\"MM_swapImgRestore()\" /></a>";
		html += "<a href=\"javascript:accesibiliza();\"><img src=\"" + path + "img/fondo_negro.gif\" alt=\"\" name=\"contraste\" width=\"26\" height=\"24\" border=\"0\" id=\"contraste\" onmouseover=\"MM_swapImage('contraste','','" + path + "img/fondo_negro_down.gif',1)\" onmouseout=\"MM_swapImgRestore()\" /></a>";
		html += "<a href=\"javascript:imptimir();\"><img src=\"" + path + "img/imprimir.gif\" alt=\"Imprimir\" name=\"imprimir\" width=\"26\" height=\"24\" border=\"0\" id=\"imprimir\" onmouseover=\"MM_swapImage('imprimir','','" + path + "img/imprimir_down.gif',1)\" onmouseout=\"MM_swapImgRestore()\" /></a></div></td>";

		html += "      </tr>";
		html += "    </table></td>";
		html += "    <td width=\"25\"><img src=\"" + path + "img/spacer.gif\" width=\"25\" height=\"1\" /></td>";
		html += "  </tr>";
		html += "</table>";
		document.getElementById("botonera").innerHTML = html;
	}

	function f_botones_interior(path)
	{
		var html = "";
		if (!path){
			path = "";	
		}
		html += "<table width=\"10\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
		html += "  <tr>";
		html += "    <td align=\"center\" class=\"tituloBoton\"><a href=\"javascript:history.back();\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage('Volver','','" + path + "img/volver_down.gif',1)\"><img src=\"" + path + "img/volver.gif\" alt=\"Volver\" name=\"Volver\" width=\"27\" height=\"37\" border=\"0\" id=\"Volver\" /></a></td>";
		html += "    <td align=\"center\" class=\"tituloBoton\"><img src=\"" + path + "img/spacer.gif\" alt=\"spacer\" width=\"5\" height=\"1\" /></td>";
		html += "    <td align=\"center\" class=\"tituloBoton\"><a href=\"#inicio\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage('Subir','','" + path + "img/subir_down.gif',1)\"><img src=\"" + path + "img/subir.gif\" alt=\"Subir\" name=\"Subir\" width=\"27\" height=\"37\" border=\"0\" id=\"Subir\" /></a></td>";
		html += "    <td align=\"center\" class=\"tituloBoton\"><img src=\"" + path + "img/spacer.gif\" alt=\"spacer\" width=\"5\" height=\"1\" /></td>";
		html += "    <td align=\"center\" class=\"tituloBoton\"><a href=\"" + path + "../index.html\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage('Inicio','','" + path + "img/inicio_down.gif',1)\"><img src=\"" + path + "img/inicio.gif\" alt=\"Volver al Inicio\" width=\"27\" height=\"37\" border=\"0\" id=\"Inicio\" /></a></td>";
		html += "    <td align=\"center\" class=\"tituloBoton\"><img src=\"" + path + "img/spacer.gif\" alt=\"spacer\" width=\"20\" height=\"1\" /></td>";
		html += "  </tr>";
		html += "</table>";
		document.getElementById("botones_interior").innerHTML = html;
	}

	//---------------------------
	
	
	OCULTO="none";
	VISIBLE="block";
	
	//---------------------------------------------------------------------------
	//funcion impresion firefox especial, abre popup, carga contenido del div, imprime y cierra
	//---------------------------------------------------------------------------
	function imprimir(que) {
		var ventana = window.open();
		ventana.document.write(document.getElementById(que).innerHTML);
		ventana.print();
		ventana.close();
	}
	//---------------------------------------------------------------------------
	
	function imptimir()
	{
		getWindowSize();
			                
		var totalHt=myHeight;
		var totalWt=myWidth;
		var height_original_div;
		var width_original_div;
		switch(BrowserDetect.browser){
			case "Explorer":
				//alert("IE")
				// OCULTAR DIVS 
		   		document.getElementById('div_principal').style.display=VISIBLE;
		   		document.getElementById('head').style.display=OCULTO;
				document.getElementById('botonera').style.display=OCULTO;
				document.getElementById('menu_lateral').style.display=OCULTO;
				document.getElementById('pie').style.display=OCULTO;
				// OBTENER TAMAÑO ORIGINAL
				height_original_div = document.getElementById('div_principal').style.height;
				width_original_div = document.getElementById('div_principal').style.width;
				// CAMBIAR TAMAÑO
				if(myHeight < 760) 
				{
					//alert("<855")
					document.getElementById('div_principal').style.height =document.documentElement.clientHeight;
				}
				else 
				{
					//alert(">855")
					document.getElementById('div_principal').style.height = document.documentElement.scrollHeight;
				}
				document.getElementById('div_principal').style.width =myWidth;
				//IMPRIMIR
				window.print();
				// VOLVER ORIGINAL
				document.getElementById('div_principal').style.height = height_original_div;
				document.getElementById('div_principal').style.width = width_original_div;
				//MOSTRAR DIVS
				document.getElementById('head').style.display=VISIBLE;
				document.getElementById('botonera').style.display=VISIBLE;
				document.getElementById('menu_lateral').style.display=VISIBLE;
				document.getElementById('pie').style.display=VISIBLE;
				break;
			case "Firefox":
				//alert("Firefox");
				imprimir('div_principal');
				break;
			default: 
				//alert("Otro")
				// OCULTAR DIVS 
		   		document.getElementById('div_principal').style.display=VISIBLE;
		   		document.getElementById('head').style.display=OCULTO;
				document.getElementById('botonera').style.display=OCULTO;
				document.getElementById('menu_lateral').style.display=OCULTO;
				document.getElementById('pie').style.display=OCULTO;
				// OBTENER TAMAÑO ORIGINAL
				height_original_div = document.getElementById('div_principal').style.height;
				width_original_div = document.getElementById('div_principal').style.width;
				// CAMBIAR TAMAÑO
				document.getElementById('div_principal').style.height = document.documentElement.scrollHeight+"px";
				document.getElementById('div_principal').style.width = document.documentElement.scrollWidth+"px";
				//IMPRIMIR
				window.print();
				// VOLVER ORIGINAL
				document.getElementById('div_principal').style.height = height_original_div;
				document.getElementById('div_principal').style.width = width_original_div;
				//MOSTRAR DIVS
				document.getElementById('head').style.display=VISIBLE;
				document.getElementById('botonera').style.display=VISIBLE;
				document.getElementById('botonera').style.display=VISIBLE;
				document.getElementById('menu_lateral').style.display=VISIBLE;
				document.getElementById('pie').style.display=VISIBLE;
		}
		return;
		
	}
	
function f_selCiudades()
{
var html = "";
html = "";
html += "<select onchange=window.location=this.value >";
html += "<option>Seleccione ciudad</option>";
html += "                   <option value=\"../Planes_Maestros_de_Transporte_Urbano/ciudad/Alto_Hospicio/plan_maestro.html\">Alto Hospicio</option>";
html += "					<option value=\"../Planes_Maestros_de_Transporte_Urbano/ciudad/Angol/plan_maestro.html\">Angol</option>";
html += "					<option value=\"../Planes_Maestros_de_Transporte_Urbano/ciudad/Antofagasta/plan_maestro.html\">Antofagasta</option>";
html += "					<option value=\"../Planes_Maestros_de_Transporte_Urbano/ciudad/Arica/plan_maestro.html\">Arica</option>"; 
html += "					<option value=\"../Planes_Maestros_de_Transporte_Urbano/ciudad/Calama/plan_maestro.html\">Calama</option>";
html += "					<option value=\"../Planes_Maestros_de_Transporte_Urbano/ciudad/Chillan/plan_maestro.html\">Chillán</option>";
html += "					<option value=\"../Planes_Maestros_de_Transporte_Urbano/ciudad/Copiapo/plan_maestro.html\">Copiapó</option>";
html += "					<option value=\"../Planes_Maestros_de_Transporte_Urbano/ciudad/Coquimbo_la_Serena/plan_maestro.html\">Coquimbo - La Serena</option>";
html += "					<option value=\"../Planes_Maestros_de_Transporte_Urbano/ciudad/Coyhaique/plan_maestro.html\">Coyhaique</option>";
html += "					<option value=\"../Planes_Maestros_de_Transporte_Urbano/ciudad/Curico/plan_maestro.html\">Curicó</option>";
html += "					<option value=\"../Planes_Maestros_de_Transporte_Urbano/ciudad/Gran_Concepcion/plan_maestro.html\">Gran Concepción</option>";
html += "					<option value=\"../Planes_Maestros_de_Transporte_Urbano/ciudad/Gran_Santiago/plan_maestro.html\">Gran Santiago</option>";
html += "					<option value=\"../Planes_Maestros_de_Transporte_Urbano/ciudad/Gran_Valparaiso/plan_maestro.html\">Gran Valparaíso</option>";
html += "					<option value=\"../Planes_Maestros_de_Transporte_Urbano/ciudad/Iquique/plan_maestro.html\">Iquique</option>";
html += "					<option value=\"../Planes_Maestros_de_Transporte_Urbano/ciudad/Linares/plan_maestro.html\">Linares</option>";
html += "					<option value=\"../Planes_Maestros_de_Transporte_Urbano/ciudad/Los_angeles/plan_maestro.html\">Los Ángeles</option>";
html += "					<option value=\"../Planes_Maestros_de_Transporte_Urbano/ciudad/Osorno/plan_maestro.html\">Osorno</option>";
html += "					<option value=\"../Planes_Maestros_de_Transporte_Urbano/ciudad/Ovalle/plan_maestro.html\">Ovalle</option>";
html += "					<option value=\"../Planes_Maestros_de_Transporte_Urbano/ciudad/Puerto_Montt/plan_maestro.html\">Puerto Montt</option>";
html += "					<option value=\"../Planes_Maestros_de_Transporte_Urbano/ciudad/Punta_Arenas/plan_maestro.html\">Punta Arenas</option>";
html += "					<option value=\"../Planes_Maestros_de_Transporte_Urbano/ciudad/Rancagua/plan_maestro.html\">Rancagua</option>";
html += "					<option value=\"../Planes_Maestros_de_Transporte_Urbano/ciudad/Talca/plan_maestro.html\">Talca</option>";
html += "					<option value=\"../Planes_Maestros_de_Transporte_Urbano/ciudad/Temuco/plan_maestro.html\">Temuco</option>";
html += "					<option value=\"../Planes_Maestros_de_Transporte_Urbano/ciudad/Valdivia/plan_maestro.html\">Valdivia</option>";
html += "</select>";
document.getElementById("selCiudades").innerHTML = html;
}	