CmdUtils.CreateCommand({ 
  name: "archive",
  icon: "http://web.archive.org/favicon.ico",
  homepage: "http://www.frozenagain.com/ubiquity/",
  author: { name: "Eli", email: "elifpm@charter.net"},
  description: "Searches for sites using the Wayback Machine on the Internet Archive (archive.org)",
  help: "archive <i>site</i>",
  takes: {"Site to search": noun_arb_text},
  preview: function( pblock, theShout) {
    pblock.innerHTML = "Search for older versions of the site <b>" +  theShout.text + "</b>"
  },
  execute: function(theShout) {
    var searchUrl = "http://web.archive.org/web/*/" + theShout.text;
    Utils.openUrlInBrowser(searchUrl);
  }
});


