var Tools =
[
  [ "Text", "Text", "", "", "", ["Group"],
//            ID[0]               Title[1]          Command[2]   ShortCut[3]  Image[4]                 Type[5][0] ToolID[5][1]        Value[6]  callback[7]     opts[8]           args[9]
    [ [ "BackgroundColor",  "Background Color", ["Color"],          "",         "B",	              ["ColorDialog",6,"backColor"],      "",        "",       { "FBH":"B" },    { "FBH": "B" } ],
      [ "ForegroundColor",  "Foreground Color", ["Color"],          "",         "F",	              ["ColorDialog",7,"foreColor"],      "",        "",       { "FBH": "F" },   { "FBH": "B" } ],
      [ "HilightColor",     "Hilight Color",    ["hilightColor"],   "",         "H",	              ["ColorDialog",8],                  "",        "",       { "FBH": "H" },   { "FBH": "B" } ],
      [ "Bold",             "Bold",             ["bold"],           "",       "Bold.gif",           ["Toggle",9]],
      [ "Italic",           "Italic",           ["italic"],         "",       "Italic.gif",         ["Toggle",10]],
      [ "Underline",        "Underline",        ["underline"],      "",       "Underline.gif",      ["Toggle",11]],
      [ "StrikeThrough",    "Strike Through",   ["strikeThrough"],  "",       "StrikeThrough.gif",  ["Toggle",12]],
      [ "Subscript",        "Subscript",        ["subscript"],      "",       "Subscript.gif",      ["Toggle",13]],
      [ "Superscript",      "Superscript",      ["superscript"],    "",       "Superscript.gif",    ["Toggle",14]]
    ]
  ],
  [ "Paragraph", "Paragraph", "", "", "", ["Group"],
    [ [ "Indent", "Indent", "", "", "IncreaseIndent.gif",	["DropDownList",15],"",
        [ [ "Indent",         "Indent",          ["indent"],             "",  "IncreaseIndent.gif",     ["Button",16]],
          [ "Outdent",        "Outdent",         ["outdent"],            "",  "DecreaseIndent.gif",     ["Button",17]],
          [ "Double Indent",  "Double Indent",   ["Dblindent"],          "",  "IncreaseDblIndent.gif",  ["Button",18,1]],
          [ "Double Outdent", "Double Outdent",  ["Dbloutdent"],         "",  "DecreaseDblIndent.gif",  ["Button",19,1]]
        ]
      ],
      [ "Justify", "Justify", "", "", "JustifyLeft.gif",	["DropDownMarkedList",20],"",
        [ [ "Justify Left",   "Justify Left",    ["justifyLeft"],        "",  "JustifyLeft.gif",     ["Button",21]],
          [ "Justify Center", "Justify Center",  ["justifyCenter"],      "",  "JustifyCenter.gif",   ["Button",22]],
          [ "Justify Right",  "Justify Right",   ["justifyRight"],       "",  "JustifyRight.gif",    ["Button",23]],
          [ "Justify Full",   "Justify Full",    ["justifyFull"],        "",  "JustifyFull.gif",     ["Button",24]]
        ]
      ]
    ]
  ],
  [ "List", "List", "", "", "", ["Group"],
    [ [ "Unordered List", "Unordered List",  ["insertUnorderedList"],      "",  "UnorderedList.gif",  ["Toggle",25]],
      [ "Ordered List",   "Ordered List",    ["insertOrderedList"],        "",  "OrderedList.gif",    ["Toggle",26]]
    ]
  ],
  [ "Edit", "Edit", "", "", "", ["Group"],
    [ [ "Edit", "Edit", "", "", "SelectAll.gif",	["DropDownList"], "",
        [ [ "Undo",         "Undo",       ["undo"],       "Ctrl+Z",         "Undo.gif",       ["Button",27]],
          [ "Redo",         "Redo",       ["redo"],       "Shift+Ctrl+Z",   "Redo.gif",       ["Button",28]],
          [ "Cut",          "Cut",        ["cut"],        "Ctrl+X",         "Cut.gif",        ["Button",29]],
          [ "Copy",         "Copy",       ["copy"],       "Ctrl+C",         "Copy.gif",       ["Button",30]],
          [ "Paste",        "Paste",      ["Paste"],      "Ctrl+V",         "Paste.gif",      ["Button",31,1]],
          [ "Delete",       "Delete",     ["delete"],     "Ctrl+Del",       "Delete.gif",     ["Button",32]],
          [ "Clear",        "Clear",      ["Clear"],      "Shift+Ctrl+Del", "Clear.gif",      ["Button",33,1]],
          [ "SelectAll",    "Select All", ["selectAll"],  "Ctrl+A",         "SelectAll.gif",  ["Button",34]]
        ]
      ]
    ]
  ],
  [ "Insert", "Insert", "", "", "", ["Group"],
    [ [ "Insert", "Insert", "", "", "Insert.gif",	["DropDownList"], "",
//            ID[0]                     Title[1]                        Command[2]  ShortCut[3]    Image[4]          Type[5][0]  ToolID[5][1]    Value[6]   callback[7]               opts[8]
        [ [ "Image",                "Insert Image",                      ["Image"],   "Ctrl+I", "InsertImage.gif",    ["ImageDialog",27,1],        "",           "", { "local":{"all":true,"multi":true,"types":'image/*,.txt'},"remote":{"all": true, "multi":true,"remote_paths":["Images/","Images/CM/","Images/CM/Web/","Images/CM/HiRes/"],"path":"Images/CM/Web/","types":[["Image Files - *.jpg,*.jpeg,*.gif,*.png,*.bmp,*.svg","Image Files",['jpg','jpeg','gif','png','bmp','svg']],["Text Files - *.txt","Text Files",['txt']],["All Files - *.*","All Files",["*"]]]}} ],
          [ "Table",                "Insert Table",                      "",          "Ctrl+T", "InsertTable.gif",    ["TableDialog",28,1],        "",           "", {}  ],
          [ "File",                 "Insert File",                       "",          "Ctrl+F", "InsertTable.gif",    ["FileDialog",36,1],         "",           "", { "local":{"all":true,"multi":true,"types":'image/*,.txt'},"remote":{"all": true, "multi":true,"remote_paths":["Images/","Images/CM/","Images/CM/Web/","Images/CM/HiRes/"],"path":"Images/CM/Web/","types":[["Text Files - *.txt","Text Files",['txt']],["All Files - *.*","All Files",["*"]]]}} ],
          [ "Link",                 "Insert Link",                       ["Link"],    "Ctrl+L", "InsertLink.gif",     ["LinkDialog",29,1],         "",           "", { "msg":"Enter a web page location, a local file, or select a Named Anchor or Heading from the dropdown list:"}],
          [ "Anchor",               "Insert Anchor",                     ["Anchor"],     "",    "InsertAnchor.gif",   ["AnchorDialog",30,1],       "",           "", { "msg":"Enter the Anchor Name"}],
          [ "H Line",               "Insert Horizontal Line",            "",             "",     "InsertLine.gif",    ["LineDialog",31,1]],
          [ "HTML",                 "Insert HTML",                       "",             "",     "InsertHTML.gif",    ["HTML",32,1]],
          [ "Math",                 "Insert Math Formula",               "",             "",     "InsertMath.gif",    ["Math",33,1]],
          [ "Characters & Symbols", "Insert Characters and Symbols",     "",             "",     "InsertChar.gif",    ["CharDialog",34,1]],
          [ "Smilies",              "Insert a Simley Face",              "",             "",     "InsertSmiley.gif",  ["SimleyDialog",35,1]]
        ]
    	]
    ]
  ],
  [ "Show", "Show", "", "", "", ["Group"],
    [ [ "Show", "Show", "", "", "Show.gif",	["DropDownCheckList"], "",
//            ID[0]                     Title[1]        Command[2]    ShortCut[3]    Image[4]      Type[5][0]  ToolID[5][1]    Value[6]   callback[7]               opts[8]
        [ [ "Show HTML",            "Show HTML",      ["ShowHTML"],     "Ctrl+I",         "",           ""],
          [ "Show Anchors",         "Show Anchors",   ["ShowAnchor"],   "Ctrl+I",         "",           ""],
          [ "Show Source",          "Show Source",    ["ShowSource"],   "Ctrl+T",         "",           ""],
          [ "Show Text",            "Show Text",      ["ShowText"],     "Ctrl+F",         "",           ""],
          [ "Show Dom",             "Show Dom",       ["ShowDom"],      "Ctrl+L",         "",           ""]
        ]
    	]
    ]
  ]
];

