/* ***** BEGIN LICENSE BLOCK #1 *****
* Author: Jed Brown http://jedbrown.net/
* Some code taken from cusser's paste quote http://cusser.net/extensions/
*
* ALL Code (unless otherwise noted) fall under the CC ShareAlike 2.0 License (see: http://creativecommons.org/licenses/by-sa/2.0/ )
*
*Additional License Requirements: Please feel free to use this code for your extension/program (open source or comercial)
* just a few rules.
* 1) If you use any of this code you MUST include references or credit in your code to both the BBCode extension, myself (Jed Brown), Cusser, 
*    and any other contributers and include our URL's
* 2) All Comments, Source references and credits must be kept.
* 3) A good example license block to use can be found below (License Block #2)
* 4) You MUST contact me, the author before you *use* this code (I want to know that it's been usefull and that the requirements have been met).
* 5) I would greatly appreciate a link back to me or credit somewhere on your site, or where ever you distribute your derivative code (makes me feel good) not required.
* 6) If improvments are made to the code, please inform me so that I can use it (if applicable, not required).
*
* ***** END LICENSE BLOCK ***** */

/* *** LICENSE BLOCK #2 ***
// This file is based upon or contains code from the BBCode Extension (http://extensions.jedbrown.net/)
// Original Author: Jed Brown (mozilla@jedbrown.net)
// Contributors:
//   - Ronny Perinke
//   - Cusser
//   - Patrick Wildenborg
//
// To use any of this code you MUST abide by the Original BBCode license found at: http://jedbrown.net/dev/Mozilla/bbcodelicense.txt
//
*** END LICENSE BLOCK #2 ****/ 
