function img_hilite_menu(check, imgname)
{
    var newimg
	var mainloc = document.location.href
    var fname = imgname
	var sepPos = fname.indexOf('*')
    if (sepPos != -1) {
	  fname = fname.substring(0,sepPos)
	}
    if (mainloc.indexOf(check) != -1) {
      newimg = "graphics/buttons/top_menu/" + fname + "_hi.gif";
    }
    else {
      newimg = "graphics/buttons/top_menu/" + fname + ".gif";
    }
    if (document["top_menu/" + imgname]) {
      var main_menu_currntimg = document["top_menu/" + imgname].src;
      if (main_menu_currntimg.indexOf(newimg) == -1) {
        document["top_menu/" + imgname].src = path_modifier + newimg;
      }
    }
}

function hilite_menu(check, itemname)
{
  if (itemname != '') {
    var o = new getObj((itemname))
	
	if (o && o.obj) {
	  o.obj.className = o.obj.className + 'hi'
	}
  }
}

function hilite_sub_menu(itemname)
{
    newimg = "graphics/bullets/lmenu_arrow_hi.gif";
    if (document["sub_menu/" + itemname]) {
      document["sub_menu/" + itemname].src = path_modifier + newimg;
    }
}

