CmdUtils.CreateCommand({
  homepage: "http://www.domolith.com/2008/08/28/mozilla-ubiquity-torrent-search/",
  author: { name: "Bondrake", email: "bondrake@gmail.com"},

  name: "torrent",
  takes: {"torrent": noun_arb_text},
  preview: function( pblock, searchTerm) {
    pblock.innerHTML = "Searches Torrent Sites for: " + searchTerm.text;
  }, 
  execute: function( searchTerm ) {
    var msg  = searchTerm.text + "... loading torrent search pages";
    var url1 = "http://torrent-finder.com/show.php?q=" + searchTerm.text;
    var url2  = "http://torrentvortex.appspot.com/index?query=" + searchTerm.text;
    Utils.openUrlInBrowser( url1 );
    Utils.openUrlInBrowser( url2 );
    displayMessage( msg );
  }
})
