CmdUtils.CreateCommand({

  names: ["torrent-mini-pirate-isohunt"],

  arguments: [ {role: 'object', nountype: noun_arb_text, label: 'search_string'}],


  description: "Searches PirateBay, Isohunt, and btjunkie in new tabs.",



  author: { name: "Bhagwad Jal Park", email: "bhagwad@yahoo.com"},

  homepage: "http://www.bhagwad.com",

  license: "MPL",



  preview: "Searches for torrent on PirateBay, and Isohunt",

  execute: function(searchterms) {

    

    var finalterms = encodeURIComponent(searchterms.object.text);

    

    Utils.openUrlInBrowser("http://isohunt.com/torrents/?ihq=" + finalterms);

    Utils.openUrlInBrowser("http://thepiratebay.org/search.php?q=" + finalterms);

    Utils.openUrlInBrowser("http://btjunkie.org/search?q=" + finalterms);





  }

})
