//<!--
// [icon.src, row.backgroundColor, textCell.color, borderTopColor]

var statusText = '';


function navMouseOver(id, level, isSelected, url, hasBut) {
  var tag;

  if (url != null) {
   tag = document.getElementById('navTr_' + id);
   if (tag != null) tag.style.cursor = 'pointer';
   statusText = window.location.href.substring(0, window.location.href.indexOf('/', window.location.href.indexOf('//') + 2)) + url;
   setTimeout('setStatus()', 100);
  }
  if (isSelected) return;
  
  if (hasBut) {
   tag = document.getElementById('navImgBut_' + id);
   if (tag != null) tag.src = '/images/but_nav_e' + level + '_Over.gif';
  }
  if (level == 1) {
   tag = document.getElementById('navTr_' + id);
   if (tag != null) tag.style.backgroundColor = '#CCCCCC';
  }
}


function navMouseOut(id, level, isSelected, isExpanded, hasBut) {
  var tag;

  statusText = '';
  setTimeout('setStatus()', 100);

  tag = document.getElementById('navTr_' + id);
  if (tag != null) tag.style.cursor = 'auto';
  if (isSelected) return;

  if (hasBut) {
   tag = document.getElementById('navImgBut_' + id);
   if (tag != null) tag.src = '/images/but_nav_e' + level + '_Out.gif';
  }
  if (level == 1) {
   tag = document.getElementById('navTr_' + id);
   if (tag != null && !isExpanded) tag.style.backgroundColor = '#BBCFF0';
  }
}


function navClick(url) {
  if (url != null) window.open(url, '_self');
}


function setStatus() {
  window.status = statusText;
}

//-->