function install (aEvent)
{
  var elem = aEvent.target;
  while (elem.tagName != "A")
    elem = elem.parentNode;

  var params = {
    "Masterpass": { URL: elem.href,
                    IconURL: elem.getAttribute("iconURL"),
                    Hash: elem.getAttribute("hash"),
                    toString: function () { return this.URL; }
                  }
  };
  InstallTrigger.install(params);

  return false;
}

