function getObj(id) {
   if(!document.getElementById) { return; }
   var e=document.getElementById(id);
   return e;
}
function setHL(id) {
    var el=getObj(id);
    var cl=el.className;
	if(cl.substr(cl.length-2, cl.length) == 'MO') { return }
	el.className += "MO";
}
function removeHL(id) {
    var el=getObj(id);
	cl=el.className;
	if(cl.substr(cl.length-2, cl.length) != 'MO') { return }
	el.className = cl.substr(0, cl.length - 2);
}

function go(id,locale,frame) {
  if (!frame) {
      frame="main";
      image_id = 'images/header_' + id + '.jpg';
      banner_image(image_id);
  }
  windowname = window.open(locale,frame);
  windowname.focus();
}

function banner_image(image_id) {
      var header_img = new Image();
      header_img.src = image_id;
      parent.banner.home_header_image.src=header_img.src;
}
function fn_logout() {
     if (confirm("Do you want to logout of fblcwb.com?")) {
         location.href=('/logout.php');
     }
}
function fn_help(URL) {
    windowname = window.open(URL,"wbc_help");
    windowname.focus();
}