// dhtml.js

function show()
{
  this.style.visibility = "visible";
}

function hide()
{
  this.style.visibility = "hidden";
}

function moveto(lpos, tpos)
{
  this.style.left = lpos;
  this.style.top = tpos;
}

function visible()
{
  return (this.style.visibility == "visible");
}

function write(html)
{
  this.obj.innerHTML = html;
}

function get_plane(name)
{
  var obj;
  if (document.getElementById)
  {
    if ((obj = document.getElementById(name)) == null) return;
    this.obj = obj;
    this.style = obj.style;
    if (document.all)
      this.filters = obj.filters;
  }
}

get_plane.prototype.write   = write;
get_plane.prototype.moveto  = moveto;
get_plane.prototype.show    = show;
get_plane.prototype.hide    = hide;
get_plane.prototype.visible = visible;
