function SetActiveBottomMenu() {
              sLocation = new String(unescape(document.location));
              if (sLocation.lastIndexOf('/') < sLocation.lastIndexOf('.')) {
                sMenuName = new String(sLocation.substring(sLocation.lastIndexOf('/') + 1, sLocation.lastIndexOf('.')));
              }
              else
                sMenuName = new String('index');  
	elements = document.links;//["botmenu"];
	for (var I = 0; I < elements.length; I++) {
                sLocation = unescape(elements[I].href);
                sLocation = sLocation.substring(sLocation.lastIndexOf('/') + 1, sLocation.lastIndexOf('.'));
		if ((elements[I].className == "botmenu") && (sLocation == sMenuName)) {
	  	  elements[I].className = "botmenuact";
	  	}
  	}	
}

