function removeString(s, t) {

  i = s.indexOf(t);
  r = "";
  if (i == -1) return s;
  r += s.substring(0,i) + removeString(s.substring(i + t.length), t);
  return r;
  }

function AlternarImagen(img) {
	var searchString = '_ON';
	var imgSrc = img.src.toUpperCase();
	var index = imgSrc.indexOf(searchString);

	if ( index > 0 ) {
      img.src = removeString(imgSrc, searchString);

      //img.src = imgSrc.substring(0,imgSrc.indexOf(searchString)) + remove(imgSrc.substring(i + searchString.length), searchString);
	} else {

	  var ext = imgSrc.substring(imgSrc.length-4, imgSrc.length );

      var leading = imgSrc.substring(0, imgSrc.length-4);

      var trailing = imgSrc.substring(imgSrc.length-4, imgSrc.length);

	  img.src = leading + searchString + trailing;
	}
}


var menuItems =
[

['<img src=/images/bot_informaciongeneral.gif border="0" onmouseover="AlternarImagen(this)" onmouseout="AlternarImagen(this)" alt="Informaci&oacute;n&nbsp;General" />',"/informacion","","","","_self","0", , , , , ],
['|Rese&ntilde;a&nbsp;Hist&oacute;rica',"/informacion/Resena Historica.html","","","","_self","1","0" , , , , ],
['|Misi&oacute;n&nbsp;-&nbsp;Visi&oacute;n&nbsp;-&nbsp;Valores',"/informacion/Mision - Vision - Valores.html","","","","_self","1","0" , , , , ],
['|Organigrama&nbsp;MP',"#","","","","_self","1","0" , , , , ],
['|Ley&nbsp;Org&aacute;nica',"/informacion/Ley Organica.html","","","","_self","1","0" , , , , ],
['|Trabajo&nbsp;Comunal&nbsp;Universitario',"/informacion/Trabajo Comunal Universitario.html","","","","_self","1","0" , , , , ],
['|Direcciones&nbsp;Electr&oacute;nicas&nbsp;de&nbsp;los&nbsp;Despachos',"/informacion/Direcciones Electronicas de los Despachos2.html","","","","_self","1","0" , , , , ],
['|Leyes&nbsp;y&nbsp;Reglamentos&nbsp;del&nbsp;Poder&nbsp;Judicial&nbsp;vinculantes&nbsp;para&nbsp;los&nbsp;&nbsp;Fiscales&nbsp;(as)',"/informacion/Leyes y Reglamentos del Poder Judicial vinculantes para los  Fiscales (as).html","","","","_self","1","0" , , , , ],
['|Semblanza&nbsp;de&nbsp;Fiscales&nbsp;Generales',"/informacion/Semblanza de Fiscales Generales.html","","","","_self","1","0" , , , , ],
['|Plan&nbsp;Estrategico',"/informacion/Plan Estrategico.html","","","","_self","1","0" , , , , ],
['|Reglamento&nbsp;de&nbsp;Ingreso&nbsp;al&nbsp;Ministerio&nbsp;P&uacute;blico',"/informacion/Leyes y Reglamentos/01/Reglamento de Ingreso al Ministerio Publico.html","","","","_self","1","0" , , , , ],
['|Emblemas&nbsp;del&nbsp;Ministerio&nbsp;P&uacute;blico',"/informacion/Emblemas del Ministerio Publico.html","","","","_self","1","0" , , , , ],
['|Competencia&nbsp;Territorial&nbsp;Ministerio&nbsp;P&uacute;blico',"/informacion/Competencia Territorial Ministerio Publico.html","","","","_self","1","0" , , , , ],
['|Agenda&nbsp;Telef&oacute;nica',"/informacion/Direcciones Electronicas de los Despachos.html","","","","_self","1","0" , , , , ],
['<img src=/images/bot_servicios.gif border="0" onmouseover="AlternarImagen(this)" onmouseout="AlternarImagen(this)" alt="Servicios" />',"/servicios","","","","_self","0", , , , , ],
['|Oficina&nbsp;de&nbsp;Atenci&oacute;n&nbsp;y&nbsp;Protecci&oacute;n&nbsp;a&nbsp;la&nbsp;V&iacute;ctima',"/servicios/OAVD/index.html","","","","_self","1","0" , , , , ],
['|Derechos&nbsp;del&nbsp;Ciudadano',"/informacion/Derechos Ciudadano/index.html","","","","_self","1","0" , , , , ],
['|Servicios&nbsp;Administrativos',"/servicios/administrativos.html","","","","_self","1","0" , , , , ],
['|Defensa&nbsp;Civil&nbsp;de&nbsp;la&nbsp;V&iacute;ctima',"/servicios/defensa civil/defensa_victima.html","","","","_self","1","0" , , , , ],
['|Denuncias',"/servicios/denuncias/index.html","","","","_self","1","0" , , , , ],
['|Oficina&nbsp;de&nbsp;Asesor&iacute;a&nbsp;T&eacute;cnica&nbsp;y&nbsp;Relaciones&nbsp;Internacionales',"/servicios/OATRI.html","","","","_self","1","0" , , , , ],
['|Inspecci&oacute;n&nbsp;Fiscal',"/servicios/quejas/inspeccion_fiscal.html","","","","_self","1","0" , , , , ],
['<img src=/images/bot_Pol_Persecucion.gif border="0" onmouseover="AlternarImagen(this)" onmouseout="AlternarImagen(this)" alt="Politicas&nbsp;de&nbsp;Persecucion" />',"/Polt-Persecucion","","","","_self","0", , , , , ],
['<img src=/images/bot_normativa.gif border="0" onmouseover="AlternarImagen(this)" onmouseout="AlternarImagen(this)" alt="Los&nbsp;Fiscales&nbsp;&nbsp;y&nbsp;Usted" />',"/losfiscalesyusted","","","","_self","0", , , , , ],
['<img src=/images/bot_biblioteca.gif border="0" onmouseover="AlternarImagen(this)" onmouseout="AlternarImagen(this)" alt="Biblioteca" />',"/biblioteca/biblioteca_virtual","","","","_self","0", , , , , ],
['|Compendios',"/biblioteca/biblioteca_virtual/compendios.html","","","","_self","1","0" , , , , ],
['|Cuadernos&nbsp;de&nbsp;estudio',"/biblioteca/biblioteca_virtual/cuadernos de estudio.html","","","","_self","1","0" , , , , ],
['|Libros',"/biblioteca/biblioteca_virtual/libros.html","","","","_self","1","0" , , , , ],
['|Manuales',"/biblioteca/biblioteca_virtual/manuales.html","","","","_self","1","0" , , , , ],
['|Normativa',"/biblioteca/biblioteca_virtual/normativa.html","","","","_self","1","0" , , , , ],
['|Otros',"/biblioteca/biblioteca_virtual/otros.html","","","","_self","1","0" , , , , ],
['<img src=/images/bot_transparencia.gif border="0" onmouseover="AlternarImagen(this)" onmouseout="AlternarImagen(this)" alt="Transparencia" />',"/transparencia","","","","_self","0", , , , , ],
['|Elementos&nbsp;para&nbsp;una&nbsp;Politica&nbsp;de&nbsp;Persecuci&oacute;n&nbsp;Penal&nbsp;en&nbsp;CR',"/proyectos/elementos para una politica de persecucion penal en cr/index.html","","","","_self","1","0" , , , , ],
['|Memorias&nbsp;Anuales&nbsp;del&nbsp;Ministerio&nbsp;P&uacute;blico',"/transparencia/Index memorias.html","","","","_self","1","0" , , , , ],
['|Informes&nbsp;y&nbsp;Discursos',"/transparencia/Informes y Discursos","","","","_self","1","0" , , , , ],
['|&nbsp;Cumplimiento&nbsp;Plan&nbsp;Estrategico&nbsp;2007-2011',"/transparencia/ Cumplimiento Plan Estrategico 2007-2011","","","","_self","1","0" , , , , ],
['|Estad&iacute;sticas&nbsp;del&nbsp;Ministerio&nbsp;P&uacute;blico',"/transparencia/estadisticas","","","","_self","1","0" , , , , ],
['|Informes&nbsp;y&nbsp;Discursos',"/transparencia/Informes y Discursos","","","","_self","1","0" , , , , ],
['|Actas&nbsp;del&nbsp;Consejo&nbsp;Fiscal',"/transparencia/actas_consejo","","","","_self","1","0" , , , , ],
['|Ejecuci&oacute;n&nbsp;Presupuestaria&nbsp;01-07-09',"/transparencia/Ejecucion Presupuestaria 01-07-09.html","","","","_self","1","0" , , , , ],
['|Lineamientos&nbsp;de&nbsp;Supervisiones&nbsp;2009',"/transparencia/lineamientos de supervisiones 2009","","","","_self","1","0" , , , , ],
['|Tabla&nbsp;Salarial&nbsp;de&nbsp;Funcionarios',"/transparencia/Tabla Salarial de Funcionarios.html","","","","_self","1","0" , , , , ],
['|Fortalecimiento&nbsp;y&nbsp;Redise&ntilde;o&nbsp;Funcional&nbsp;de&nbsp;la&nbsp;OAVD',"/proyectos/fortalecimiento y rediseno funcional de la oavd","","","","_self","1","0" , , , , ],
['|Informe&nbsp;Semestral&nbsp;Proyecto&nbsp;Corte&nbsp;BID',"/transparencia/Informe Semestral Proyecto Corte BID","","","","_self","1","0" , , , , ],
['|Sanciones&nbsp;a&nbsp;Funcionarios&nbsp;Regimen&nbsp;Disciplinario&nbsp;',"/transparencia/Sanciones/Sanciones Ministerio Publico.html","","","","_self","1","0" , , , , ],
['<img src=/images/bot_circularesYDirectrices.gif border="0" onmouseover="AlternarImagen(this)" onmouseout="AlternarImagen(this)" alt="Circulares&nbsp;y&nbsp;Directrices" />',"/circulares_directrices","","","","_self","0", , , , , ],
['|Circulares&nbsp;de&nbsp;la&nbsp;Fiscal&iacute;a&nbsp;General',"/circulares_directrices/ciruclares_fiscalia","","","","_self","1","0" , , , , ],
['|Instructivos&nbsp;de&nbsp;la&nbsp;F&iacute;scalia&nbsp;General',"/circulares_directrices/instructivos_fiscalia","","","","_self","1","0" , , , , ],
['|Directrices&nbsp;Administrativas',"/circulares_directrices/directrices_administ","","","","_self","1","0" , , , , ],
['|Disposiciones&nbsp;Fiscal&iacute;as&nbsp;Adjuntas',"/circulares_directrices/fiscalias_adjuntas","","","","_self","1","0" , , , , ],
['<img src=/images/bot_campus-UCS-MP.gif border="0" onmouseover="AlternarImagen(this)" onmouseout="AlternarImagen(this)" alt="Campus&nbsp;UCS-MP" />',"/campus_ucs-mp","","","","_self","0", , , , , ],
['<img src=/images/bot_proyectos.gif border="0" onmouseover="AlternarImagen(this)" onmouseout="AlternarImagen(this)" alt="Proyectos" />',"/proyectos","","","","_self","0", , , , , ],
['|Sistema&nbsp;de&nbsp;Seguimiento&nbsp;y&nbsp;Control&nbsp;del&nbsp;Caso',"/proyectos/gestion_caso.html","","","","_self","1","0" , , , , ],
['|Programa&nbsp;de&nbsp;Fortalecimiento',"/proyectos/programa_fortalecimiento.html","","","","_self","1","0" , , , , ],
['|Sistema&nbsp;Fijaci&oacute;n&nbsp;de&nbsp;Plazos',"/fijacion_plazos","","","","_self","1","0" , , , , ],
['|Campus&nbsp;UCS-MP',"/campus_ucs-mp","","","","_self","1","0" , , , , ],
['<img src=/images/bot_sisplazo.gif border="0" onmouseover="AlternarImagen(this)" onmouseout="AlternarImagen(this)" alt="Sistema&nbsp;Fijaci&oacute;n&nbsp;de&nbsp;Plazos" />',"/fijacion_plazos","","","","_self","0", , , , , ],
['<img src=/images/bot_Cooperacion.gif border="0" onmouseover="AlternarImagen(this)" onmouseout="AlternarImagen(this)" alt="Coop-Intern" />',"/coop-intern","","","","_self","0", , , , , ],
['|Instrumentos&nbsp;Internacionales',"#","","","","_self","1","0" , , , , ],
['||Instrumentos&nbsp;-Generales',"/coop-intern/inst-inter/01- Instrumentos -Generales.html","","","","_self","1","0" , , , , ],
['||Cooperaci&oacute;n&nbsp;Judicial&nbsp;Internacional',"/coop-intern/inst-inter/02- Cooperacion Judicial Internacional.html","","","","_self","1","0" , , , , ],
['||Extradici&oacute;n',"/coop-intern/inst-inter/03- Extradicion.html","","","","_self","1","0" , , , , ],
['||Terrorismo&nbsp;y&nbsp;Delincuencia&nbsp;Organizada&nbsp;Transnacional',"/coop-intern/inst-inter/04-Terrorismo y Delincuencia Organizada Transnacional.html","","","","_self","1","0" , , , , ],
['||Drogas&nbsp;y&nbsp;Sustancias&nbsp;Psicotr&oacute;picas',"/coop-intern/inst-inter/05- Drogas y sustancias psicotropicas.html","","","","_self","1","0" , , , , ],
['||Derechos&nbsp;del&nbsp;NI&ntilde;o',"/coop-intern/inst-inter/06-Derechos del NIno.html","","","","_self","1","0" , , , , ],
['||Derechos&nbsp;de&nbsp;la&nbsp;Mujer',"/coop-intern/inst-inter/07- Derechos de la Mujer.html","","","","_self","1","0" , , , , ],
['||Medio-Ambiente',"/coop-intern/inst-inter/08-Medio-Ambiente.html","","","","_self","1","0" , , , , ],
['||Tortura,&nbsp;penas&nbsp;y&nbsp;otros&nbsp;Tratos,&nbsp;crueles&nbsp;&nbsp;inhumanos&nbsp;y&nbsp;degradantes',"/coop-intern/inst-inter/09- Tortura, penas y otros Tratos, crueles  inhumanos y degradantes.html","","","","_self","1","0" , , , , ],
['||Administraci&oacute;n&nbsp;Justicia&nbsp;y&nbsp;Justicia&nbsp;Penal',"/coop-intern/inst-inter/10-Adm- Justicia y Justicia Penal.html","","","","_self","1","0" , , , , ],
['||Derecho&nbsp;a&nbsp;la&nbsp;no&nbsp;Discriminaci&oacute;n&nbsp;&Eacute;tnica&nbsp;o&nbsp;Religiosa',"/coop-intern/inst-inter/11- Derecho a la no Discriminacion Etnica o Religiosa.html","","","","_self","1","0" , , , , ],
['||Derechos&nbsp;de&nbsp;los&nbsp;Ap&aacute;tridas,&nbsp;Refugiados&nbsp;y&nbsp;Desplazados',"/coop-intern/inst-inter/12-Derechos de los apatridas, refugiados y desplazados.html","","","","_self","1","0" , , , , ],
['||Esclavitud',"/coop-intern/inst-inter/13-Esclavitud.html","","","","_self","1","0" , , , , ],
['||Libertad&nbsp;de&nbsp;Prensa',"/coop-intern/inst-inter/14-Libertad de Prensa.html","","","","_self","1","0" , , , , ],
['||Derecho&nbsp;Humanitario',"/coop-intern/inst-inter/15- Derecho Humanitario.html","","","","_self","1","0" , , , , ],
['||Cr&iacute;menes&nbsp;de&nbsp;Guerra&nbsp;y&nbsp;Delitos&nbsp;de&nbsp;Lesa&nbsp;Humanidad',"/coop-intern/inst-inter/16-Crimenes de Guerra y Delitos de Lesa Humanidad.html","","","","_self","1","0" , , , , ],
['||Pena&nbsp;Muerte',"/coop-intern/inst-inter/17- Pena Muerte.html","","","","_self","1","0" , , , , ],
['||&nbsp;Derechos&nbsp;&nbsp;de&nbsp;los&nbsp;Pueblos&nbsp;Indigenas',"/coop-intern/inst-inter/18- Derechos  de los Pueblos Indigenas.html","","","","_self","1","0" , , , , ],
['|Normativa&nbsp;Nacional',"/coop-intern/Normativa Nacional","","","","_self","1","0" , , , , ],
['|Autoridades&nbsp;Centrales',"/coop-intern/Varias/Autoridades Centrales.html","","","","_self","1","0" , , , , ],
['<img src=/images/bot_normativas.gif border="0" onmouseover="AlternarImagen(this)" onmouseout="AlternarImagen(this)" alt="Normativa" />',"/normativa","","","","_self","0", , , , , ],


];