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 =
[

['Captaci&oacute;n',"/Captacion","","","","_self","0", , , , , ],
['|Ahorros',"/Captacion/Ahorros","","","","_self","1","0" , , , , ],
['||Capital&nbsp;Social',"/Captacion/Ahorros/Capital Social.html","","","","_self","1","0" , , , , ],
['||Ahorro&nbsp;Navide&ntilde;o',"/Captacion/Ahorros/Ahorro Navideno.html","","","","_self","1","0" , , , , ],
['||A&nbsp;la&nbsp;vista',"/Captacion/Ahorros/A la vista.html","","","","_self","1","0" , , , , ],
['||Ahorro&nbsp;e&nbsp;inversion',"/Captacion/Inversiones/Ahorro e inversion.html","","","","_self","1","0" , , , , ],
['|Inversiones',"/Captacion/Inversiones","","","","_self","1","0" , , , , ],
['||Overnight',"/Captacion/Inversiones/Overnight.html","","","","_self","1","0" , , , , ],
['||Plazo&nbsp;fijo',"/Captacion/Inversiones/Plazo fijo.html","","","","_self","1","0" , , , , ],
['||Plazo&nbsp;fijo&nbsp;con&nbsp;capitalizaci&oacute;n',"/Captacion/Inversiones/Plazo fijo con capitalizacion.html","","","","_self","1","0" , , , , ],
['Cr&eacute;ditos',"/Creditos","","","","_self","0", , , , , ],
['|Back&nbsp;to&nbsp;Back',"/Creditos/Back to Back.html","","","","_self","1","0" , , , , ],
['|Clase&nbsp;A',"/Creditos/Clase A.html","","","","_self","1","0" , , , , ],
['|Consumo',"/Creditos/Consumo.html","","","","_self","1","0" , , , , ],
['|Electrodomesticos',"/Creditos/Electrodomesticos.html","","","","_self","1","0" , , , , ],
['|Personal&nbsp;rapido',"/Creditos/Personal rapido.html","","","","_self","1","0" , , , , ],
['|Productivo',"/Creditos/Productivo.html","","","","_self","1","0" , , , , ],
['|Revolutivo',"/Creditos/Revolutivo.html","","","","_self","1","0" , , , , ],
['|Vivienda',"/Creditos/Credito vivienda.html","","","","_self","1","0" , , , , ],
['Servicios',"/Servicios","","","","_self","0", , , , , ],
['Libreria',"/Libreria","","","","_self","0", , , , , ],
['Coopeacosta&nbsp;En&nbsp;L&iacute;nea',"https://www.coopered.com/CoopeAcosta/login.aspx","","","","_self","0", , , , , ],


];

