CmdUtils.CreateCommand(
{
  name: "wowhead",
  homepage: "http://www.tigraine.at",
  author: { name: "Daniel Hoelbling", email: "tigraine@tigraine.at" },
  license: "MPL",
  description: "Searches WoWhead",
  help: "Works like google..",
  takes: {"your WoWhead search": noun_arb_text},
  preview: function( pblock, theShout)
    {  pblock.innerHTML = "Searches WoWHead for <i>" + theShout.text + "</i>"},
  execute: function( theShout ) {
    var searchUrl = "http://www.wowhead.com/?search=" + theShout.text;
    Utils.openUrlInBrowser(searchUrl);
  }
});

CmdUtils.CreateCommand(
{
  name: "gmail",
  homepage: "http://www.tigraine.at",
  author: {name: "Daniel Hölbling", email: "tigraine@tigraine.at"},
  licesene: "MPL",
  description: "Goes to your Gmail",
  help: "Goes to your Gmail",
  icon: "http://mail.google.com/mail/images/favicon.ico",
  preview: "Open Gmail in a new tab",
  execute: function()
  { Utils.openUrlInBrowser("http://www.gmail.com"); }
}
);
