<!-- Hide from older browsers

if (document.images) {
  var ug_off = new Image();
  var ug_on = new Image();

  var ugnews_off = new Image();
  var ugnews_on = new Image();

  var event_off = new Image();
  var event_on = new Image();

  var res_off = new Image();
  var res_on = new Image();

 var ugcoll_off = new Image();
 var ugcoll_on = new Image();

 var ugaboutus_off = new Image();
 var ugaboutus_on = new Image();

}

function loadImages() {
  if (document.images) {
    imagePath = "/images/";

    ug_off.src = imagePath + "hnav_ug.gif";
    ug_on.src = imagePath + "hnav_ug_ov.gif";

    ugnews_off.src = imagePath + "hnav_new.gif";
    ugnews_on.src = imagePath + "hnav_new_over.gif";

    ugcoll_off.src = imagePath + "hnav_coll.gif";
    ugcoll_on.src = imagePath + "hnav_coll_over.gif";

    event_off.src = imagePath + "hnav_events.gif";
    event_on.src = imagePath + "hnav_events_over.gif";

    ugaboutus_off.src = imagePath + "hnav_about.gif";
    ugaboutus_on.src = imagePath + "hnav_about_over.gif";

    res_off.src = imagePath + "hnav_res.gif";
    res_on.src = imagePath + "hnav_res_over.gif";

  }
}

function activate(imgName) {
  if (document.images) {
    if ( eval(imgName + "_on.complete") ) {
      document.images[imgName].src = eval(imgName + "_on.src");
    }
  }
}

function deactivate(imgName) {
  if (document.images) {
    if ( eval(imgName + "_off.complete") ) {
      document.images[imgName].src = eval(imgName + "_off.src");
    }
  }
}

function mailpage()
{
mail_str = "mailto:?subject=Check out Global WebSphere Community ";
mail_str += "&body=I thought you might be interested in this:  Global WebSphere Community"
mail_str += ".\r\n  You can view it at, " + location.href;
mail_str += ".\r\n\r\n  If you want to join the Global WebSphere Community, click here https://www.websphere.org/register";
location.href = mail_str;
}


// End script hiding -->
