<!--
//Menu Object
function MenuObject(AID, APosX, APosY) {

  //Properties
  this.ID         = AID;
  this.Xpos       = APosX;
  this.Ypos       = APosY;
  this.Browser    = null;
  this.MenuActive = null;
  this.TimerOn    = null;
  
  //Methods
  this.BrowserCheck   = objMenu_BrowserCheck;
  this.ShowMenu       = objMenu_ShowMenu;
  this.HideMenu       = objMenu_HideMenu;
  this.BtnTimer       = objMenu_BtnTimer;
  this.BtnOut         = objMenu_BtnOut;
  this.Location       = objMenu_Location;
  
  //Events
  this.MenuOver   = objMenu_MenuOver;
  this.MenuOut    = objMenu_MenuOut;
  
  //Check Browser
  this.BrowserCheck();
  
  return;
};

function objMenu_BrowserCheck () {
  var DOM = document.getElementById?1:0;
  if (!DOM) {
    this.Browser = 'old';
    return;
  };
  this.Browser = 'dom';
  return;
};

function objMenu_ShowMenu () {
  if (this.TimerOn) {
    clearTimeout(this.TimerOn);
  };
  if (this.Browser == 'dom') {
    window.document.getElementById(this.ID).style.top  = this.Ypos + 'px';
    window.document.getElementById(this.ID).style.left = this.Xpos + 'px';
    window.document.getElementById(this.ID).style.visibility = 'visible';
  } else {
    window.document.all[this.ID].style.top  = this.Ypos + 'px';
    window.document.all[this.ID].style.left = this.Xpos + 'px';
    window.document.all[this.ID].style.visibility = 'visible';  
  };
  return;
};

function objMenu_HideMenu () {
  if (this.Browser == 'dom') {
    window.document.getElementById(this.ID).style.visibility = 'hidden';
  } else {
    window.document.all[this.ID].style.visibility = 'hidden';
  };
  return;
};

function objMenu_BtnTimer () {
  this.TimerOn = setTimeout(this.ID+'.BtnOut()', 400);
  return;
};

function objMenu_BtnOut () {
  if (!this.MenuActive) {
    this.HideMenu();
  };
  return;
};

function objMenu_MenuOver () {
  clearTimeout(this.TimerOn);
  this.MenuActive = 1;
  return;
};

function objMenu_MenuOut () {
  this.MenuActive = 0;
  this.TimerOn = setTimeout(this.ID+'.HideMenu()', 400);
  return;
};

function objMenu_Location (ALink) {
  window.location = ALink;
  return;
};
//-->