//<!--
function ToolTip( obj )
{
  this.tooltip = obj;
  this.show = _show_tool_tip;
  this.hide = _hide_tool_tip;
}

function _hide_tool_tip()
{
  var tooltip = this.tooltip;

  tooltip.style.display = 'none';
}

function _show_tool_tip( msg )
{
  var positionX = event.clientX;
  var positionY = event.clientY;
  var screenX = event.screenX;
  var tooltip = this.tooltip;

  tooltip.style.position = 'absolute';
  tooltip.style.top = positionY + document.body.scrollTop - 4;
  tooltip.style.left = positionX + document.body.scrollLeft;
  tooltip.style.display = '';

  tooltip.innerHTML = 
    "<table border=0 cellpadding=0 cellspacing=1 bgcolor='#9D9DA1'>"
  + "  <tr>"
  + "     <td align=center style='padding:2 0 1 0' bgcolor='#FFFFFF'>"
  + "      <table border=0 cellpadding=0 cellspacing=0 >"
  + "      <col width=12 style='padding-left:8px'></col><col style='padding-top:1px' width=*></col><col width=12 style='padding-left:8px'"
  + "        <tr>"
  + "          <td><img src='http://file.sayclub.co.kr/images/incredible/bullet/bul_03.gif'></td>"
  + "          <td class=morris>" + msg + "</td>"
  + "          <td></td>"
  + "        </tr>"
  + "      </table>"
  + "    </td>"
  + "  </tr>"
  + "</table>";
}
//-->

