( /* the toolbar groups -*-cperl-*- */

  ( // first group
    { link  = "#";
      image = "tb-mail-getmail-flat-24x24.png";
      cssClass = "tbicon_getmail";
      label = "Get Mail";
      onclick = "return refreshMailbox(this);";
      tooltip = "Get new messages"; },
    { link     = "#";
      isSafe   = NO;
      image = "tb-mail-write-flat-24x24.png";
      onclick  = "return onComposeMessage();";
      cssClass = "tbicon_compose";
      label = "Write";
      tooltip = "Create a new message"; },
  ),

  ( // second group
    { link = "#";
      onclick = "return openMessageWindowsForSelection('reply');";
      isSafe   = NO;
      image = "tb-mail-reply-flat-24x24.png";
      cssClass = "tbicon_reply";
      label = "Reply";
      tooltip = "Reply to the message"; },
    { link = "#";
      onclick = "return openMessageWindowsForSelection('replyall');";
      isSafe   = NO;
      image = "tb-mail-replyall-flat-24x24.png";
      cssClass = "tbicon_replyall";
      label = "Reply All";
      tooltip = "Reply to sender and all recipients"; },
    { link = "#";
      onclick = "return openMessageWindowsForSelection('forward');";
      isSafe   = NO;
      image = "tb-mail-forward-flat-24x24.png";
      cssClass = "tbicon_forward";
      label = "Forward";
      tooltip = "Forward selected message"; },
  ),

  ( // third group
    { link = "#";
      isSafe = NO;
      onclick = "onMenuDeleteMessage(event);";
//       enabled  = showMarkDeletedButton;
      image = "tb-mail-delete-flat-24x24.png";
      cssClass = "tbicon_delete";
      label = "Delete";
      tooltip = "Delete selected message or folder"; },
    { link = "#";
      isSafe = NO;
      image = "tb-mail-junk-flat-24x24.png";
      cssClass = "tbicon_junk";
      label = "Junk";
      tooltip = "Mark the selected messages as junk"; },
  ),
  (
   { link = "#";
     onclick = "return onPrintCurrentMessage(event);";
     cssClass = "tbicon_print single-window-not-conditional";
     image = "tb-mail-print-flat-24x24.png";
     label = "Print"; 
     tooltip = "Print this message"; },
     
     { link = "#";
     onclick = "return onSearchMail(event);";
     cssClass = "";
     image = "search-messages.png";
     label = "Search";
     tooltip = "Search multiple mailboxes"; }
  )
)
