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,_bgColor) {
 if (!document.styleSheets) return;
 if (window.event) {
  if (!_target.contains(event.fromElement)) {
   _target.style.cursor = "hand";
   _target.style.backgroundColor = _bgColor;
  }
 } else {
  _target.style.cursor = "pointer";
  _target.style.backgroundColor = _bgColor;
 }
}

function SellBlur(_target,_bgColor) {
 if (!document.styleSheets) return;
 if (window.event) {
  if (!_target.contains(event.toElement)) {
   _target.style.cursor = "default";
   _target.style.backgroundColor = _bgColor;
  }
 } else {
  _target.style.cursor = "default";
  _target.style.backgroundColor = _bgColor;
 }
}

function SellFocus2(_target,_bgColor,_imgid,_source) {
 if (!document.styleSheets) return;
 if (window.event) {
  if (!_target.contains(event.fromElement)) {
   _target.style.cursor = "hand";
   _target.style.backgroundColor = _bgColor;
  _imgid.src = "";
  }
 } else {
  _target.style.cursor = "pointer";
  _target.style.backgroundColor = _bgColor;
  _imgid.src = "";
 }
}

function SellBlur2(_target,_bgColor,_imgid,_source) {
 if (!document.styleSheets) return;
 if (window.event) {
  if (!_target.contains(event.toElement)) {
   _target.style.cursor = "default";
   _target.style.backgroundColor = _bgColor;
  _imgid.src = "";
  }
 } else {
  _target.style.cursor = "default";
  _target.style.backgroundColor = _bgColor;
  _imgid.src = "";
 }
}