// *** table BG
function SellClick(_target) {
 if (!document.styleSheets) return;
 if (window.event) {
  if (event.srcElement.tagName == "TD"||  event.srcElement.tagName == "TR") _target.getElementsByTagName("A")[0].click();
 } else {
  location.href = _target.getElementsByTagName("A")[0].href;
 }
}

function SellFocus(_target,_class) {
 if (!document.styleSheets) return;
 if (window.event) {
  if (!_target.contains(event.fromElement)) {
   _target.style.cursor = "hand";
   _target.style.background = _class;
  }
 } else {
  _target.style.cursor = "pointer";
  _target.style.background = _class;
 }
}

function SellBlur(_target,_class) {
 if (!document.styleSheets) return;
 if (window.event) {
  if (!_target.contains(event.toElement)) {
   _target.style.cursor = "default";
   _target.style.background = _class;
  }
 } else {
  _target.style.cursor = "default";
  _target.style.background = _class;
 }
}

function SellFocus2(_target,_class) {
 if (!document.styleSheets) return;
 if (window.event) {
  if (!_target.contains(event.fromElement)) {
   _target.style.border = _class;
  }
 } else {
  _target.style.border = _class;
 }
}

function SellBlur2(_target,_class) {
 if (!document.styleSheets) return;
 if (window.event) {
  if (!_target.contains(event.toElement)) {
   _target.style.border = _class;
  }
 } else {
  _target.style.border = _class;
 }
}
