<!-------------------------------------------------------------------------------------------------->
<!-- Kenneth R. G. --------------------------------------------------------------------------------->
<!-------------------------------------------------------------------------------------------------->
  function SetContainerHTML(id,html,processScripts) {
    mydiv = document.getElementById(id);
    mydiv.innerHTML = html;
    if(processScripts!=false) {
      var elementos = mydiv.getElementsByTagName('script');
	  var ii = 0;
      for(ii=0;ii<elementos.length;ii++) {
        var elemento = elementos[ii];
        nuevoScript = document.createElement('script');
        nuevoScript.text = elemento.innerHTML;
        nuevoScript.type = 'text/javascript';
        if(elemento.src!=null && elemento.src.length>0) {
		  nuevoScript.src = elemento.src;
	    }
        elemento.parentNode.replaceChild(nuevoScript,elemento);
      }
    }
  }
  function xmlhttp_get(area,pagina,parametros) {
	var resultado = '';
	var v_tipo = '';
    if (pagina=="") {
	  alert("Debe indicar la página que será llamada...");
	  return false;
	}
	if (parametros=="") {
	  enviar = null;
	} else {
	  enviar = "?" + parametros;
	}
    var xmlhttp=false;
    /*@cc_on @*/
    /*@if (@_jscript_version >= 5)
      // JScript gives us Conditional compilation, we can cope with old IE versions.
      // and security blocked creation of the objects.
      try {
        xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
      } catch (e) {
        try {
          xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
        } catch (E) {
          xmlhttp = false;
        }
      }
    @end @*/
    if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
	  try {
		xmlhttp = new XMLHttpRequest();
	  } catch (e) {
		xmlhttp=false;
	  }
    }
    if (!xmlhttp && window.createRequest) {
	  try {
	    xmlhttp = window.createRequest();
	  } catch (e) {
        xmlhttp=false;
	  }
    }
	if (area=='') {
      v_tipo = false;
	} else {
      v_tipo = true;
	}
	xmlhttp.open("GET", pagina+enviar, v_tipo);
    xmlhttp.onreadystatechange=function() {
      if (xmlhttp.readyState==4) {
        if (xmlhttp.status==200) {
	      if (area=='') {
			resultado = xmlhttp.responseText;
		  } else {
	        SetContainerHTML(area, xmlhttp.responseText, true);
		  }
        } else
		  if (xmlhttp.status==404)
		    alert("La página solicitada no existe: "+pagina)
          else
		    alert("Status is "+xmlhttp.status)
      }
    }
	xmlhttp.send(null);
	return resultado;
  }
  
<!-------------------------------------------------------------------------------------------------->
<!-- Ejecuta la pagina ----------------------------------------------------------------------------->
<!-------------------------------------------------------------------------------------------------->

//accesorios
  function f_puesto01() {xmlhttp_get('xmlhttp_datos_ajax_puestos','puestos_vacantes/puesto_01.html'); }
  function f_puesto02() {xmlhttp_get('xmlhttp_datos_ajax_puestos','puestos_vacantes/puesto_02.html'); }
  function f_puesto03() {xmlhttp_get('xmlhttp_datos_ajax_puestos','puestos_vacantes/puesto_03.html'); }
  function f_puesto04() {xmlhttp_get('xmlhttp_datos_ajax_puestos','../recursos_humanos/puestos_vacantes/puesto_04.html'); }
  function f_puesto05() {xmlhttp_get('xmlhttp_datos_ajax_puestos','../recursos_humanos/puestos_vacantes/puesto_05.html'); }
  function f_puesto06() {xmlhttp_get('xmlhttp_datos_ajax_puestos','../recursos_humanos/puestos_vacantes/puesto_06.html'); }
  function f_puesto07() {xmlhttp_get('xmlhttp_datos_ajax_puestos','../recursos_humanos/puestos_vacantes/puesto_07.html'); }
  function f_puesto08() {xmlhttp_get('xmlhttp_datos_ajax_puestos','../recursos_humanos/puestos_vacantes/puesto_08.html'); }
  function f_puesto09() {xmlhttp_get('xmlhttp_datos_ajax_puestos','../recursos_humanos/puestos_vacantes/puesto_09.html'); }   
  function f_puesto10() {xmlhttp_get('xmlhttp_datos_ajax_puestos','../recursos_humanos/puestos_vacantes/puesto_10.html'); }   
  function f_puesto11() {xmlhttp_get('xmlhttp_datos_ajax_puestos','../recursos_humanos/puestos_vacantes/puesto_11.html'); }
  function f_puesto12() {xmlhttp_get('xmlhttp_datos_ajax_puestos','../recursos_humanos/puestos_vacantes/puesto_12.html'); } 
  function f_puesto13() {xmlhttp_get('xmlhttp_datos_ajax_puestos','../recursos_humanos/puestos_vacantes/puesto_13.html'); } 
  function f_puesto14() {xmlhttp_get('xmlhttp_datos_ajax_puestos','../recursos_humanos/puestos_vacantes/puesto_14.html'); } 
  function f_puesto15() {xmlhttp_get('xmlhttp_datos_ajax_puestos','../recursos_humanos/puestos_vacantes/puesto_15.html'); } 
  function f_puesto16() {xmlhttp_get('xmlhttp_datos_ajax_puestos','../recursos_humanos/puestos_vacantes/puesto_16.html'); } 
  function f_puesto17() {xmlhttp_get('xmlhttp_datos_ajax_puestos','../recursos_humanos/puestos_vacantes/puesto_17.html'); } 
  function f_puesto18() {xmlhttp_get('xmlhttp_datos_ajax_puestos','../recursos_humanos/puestos_vacantes/puesto_18.html'); } 
  function f_puesto19() {xmlhttp_get('xmlhttp_datos_ajax_puestos','../recursos_humanos/puestos_vacantes/puesto_19.html'); } 
  function f_puesto20() {xmlhttp_get('xmlhttp_datos_ajax_puestos','../recursos_humanos/puestos_vacantes/puesto_20.html'); } 
  function f_puesto_r_00() {xmlhttp_get('xmlhttp_datos_ajax_puestos','../recursos_humanos/puestos_vacantes/puesto_rural_00.html'); } 
  function f_puesto_r_01() {xmlhttp_get('xmlhttp_datos_ajax_puestos','../recursos_humanos/puestos_vacantes/puesto_rural_01.html'); }
  function f_puesto_r_02() {xmlhttp_get('xmlhttp_datos_ajax_puestos','../recursos_humanos/puestos_vacantes/puesto_rural_02.html'); }
  function f_puesto_r_03() {xmlhttp_get('xmlhttp_datos_ajax_puestos','../recursos_humanos/puestos_vacantes/puesto_rural_03.html'); }
  function f_puesto_r_04() {xmlhttp_get('xmlhttp_datos_ajax_puestos','../recursos_humanos/puestos_vacantes/puesto_rural_04.html'); }
  function f_puesto_r_05() {xmlhttp_get('xmlhttp_datos_ajax_puestos','../recursos_humanos/puestos_vacantes/puesto_rural_05.html'); }
  function f_puesto_r_06() {xmlhttp_get('xmlhttp_datos_ajax_puestos','../recursos_humanos/puestos_vacantes/puesto_rural_06.html'); }
  function f_puesto_r_07() {xmlhttp_get('xmlhttp_datos_ajax_puestos','../recursos_humanos/puestos_vacantes/puesto_rural_07.html'); }
  function f_puesto001() {xmlhttp_get('xmlhttp_datos_ajax_puestos','../recursos_humanos/puestos_vacantes/puesto_001.html'); }
  function f_puesto002() {xmlhttp_get('xmlhttp_datos_ajax_puestos','../recursos_humanos/puestos_vacantes/puesto_002.html'); }
  function f_puesto003() {xmlhttp_get('xmlhttp_datos_ajax_puestos','../recursos_humanos/puestos_vacantes/puesto_003.html'); }
//end functions



