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/afiliate.gif border="0" onmouseover="AlternarImagen(this)" onmouseout="AlternarImagen(this)" alt="Afiliese" />',"/afiliese/index.html","","","","_self","0", , , , , ],
['<img src=/images/bot_asobancosta.jpg border="0" onmouseover="AlternarImagen(this)" onmouseout="AlternarImagen(this)" alt="asobancosta" />',"/asobancosta","","","","_self","0", , , , , ],
['|Qui&eacute;nes&nbsp;Somos',"/empresa/quienes_somos.html","","","","_self","1","0" , , , , ],
['|Historia',"/asobancosta/Historia.html","","","","_self","1","0" , , , , ],
['|Junta&nbsp;Directiva',"/empresa/Junta_Directiva.html","","","","_self","1","0" , , , , ],
['|Organigrama',"/empresa/Organigrama.html","","","","_self","1","0" , , , , ],
['|El&nbsp;Solidarismo',"/empresa/Solidarismo.html","","","","_self","1","0" , , , , ],
['|Proyecci&oacute;n&nbsp;Social',"/empresa/proyeccion_social.html","","","","_self","1","0" , , , , ],
['<img src=/images/bot_asociados.jpg border="0" onmouseover="AlternarImagen(this)" onmouseout="AlternarImagen(this)" alt="Asociados" />',"/asociados","","","","_self","0", , , , , ],
['|Beneficios',"/asociados/beneficios.html","","","","_self","1","0" , , , , ],
['|Finanzas',"/asociados/finanzas.html","","","","_self","1","0" , , , , ],
['|Formularios',"/asociados/formularios.html","","","","_self","1","0" , , , , ],
['|Reglamentos',"/asociados/reglamentos.html","","","","_self","1","0" , , , , ],
['|Estatutos',"/empresa/Estatutos.html","","","","_self","1","0" , , , , ],
['|Estados',"/asociados/estados_de_cuenta.html","","","","_self","1","0" , , , , ],
['<img src=/images/bot_sistemacalidad.jpg border="0" onmouseover="AlternarImagen(this)" onmouseout="AlternarImagen(this)" alt="Sistema&nbsp;de&nbsp;Calidad" />',"/calidad","","","","_self","0", , , , , ],
['<img src=/images/bot_boletin.jpg border="0" onmouseover="AlternarImagen(this)" onmouseout="AlternarImagen(this)" alt="Boletines" />',"/boletines","","","","_self","0", , , , , ],
['<img src=/images/bot_servicios.jpg border="0" onmouseover="AlternarImagen(this)" onmouseout="AlternarImagen(this)" alt="Servicios&nbsp;Internos" />',"/servicios/PRINCIIPAL.html","","","","_self","0", , , , , ],
['<img src=/images/bot_tasasdeinteres.jpg border="0" onmouseover="AlternarImagen(this)" onmouseout="AlternarImagen(this)" alt="C&aacute;lculo&nbsp;Cuotas" />',"/servicios/CalculodeCuotas.html","","","","_self","0", , , , , ],
['<img src=/images/bot_convenios.jpg border="0" onmouseover="AlternarImagen(this)" onmouseout="AlternarImagen(this)" alt="convenios" />',"/convenios","","","","_self","0", , , , , ],


];
