// LinkBar class
function LinkBar(sID, iHeight)
  {
  // Properties
  this.ID = sID;
  this.Height = iHeight;

  if(IE)
    this.Style = document.all[sID].style;
  else if(NS6)
    this.Style = document.getElementById(sID).style;
  else if(NS)
    this.Style = document.layers[sID];

  // Methods
  this.Position = function(iLeft, iTop)
    {
    this.Style[LEFT] = iLeft;
    this.Style[TOP] = iTop;
    }

  this.OnTimer = function()
    {
    this.Position(0, Page.Top() + (Page.Height() - this.Height));
    }

  this.Swap = function(Div)
    {
    this.Style.visibility = "hidden";
    Div.Style.visibility = "visible";
    }
  }
