/********************************************

* Smilies

*/

var smilyText = [];

var smilyFile = [];



//Smile

smilyText.push(':)');

smilyFile.push('smile.gif');

//BigGrin

smilyText.push(':D');

smilyFile.push('biggrin.gif');

//Wink

smilyText.push(';)');

smilyFile.push('wink.gif');

//Sad

smilyText.push(':(');

smilyFile.push('sad.gif');

//Shock

smilyText.push(':shock:');

smilyFile.push('eek.gif');

//Lol

smilyText.push(':lol:');

smilyFile.push('lol.gif');

//Embarrassed

smilyText.push(':oops:');

smilyFile.push('redface.gif');

//Rolleyes

smilyText.push(':roll:');

smilyFile.push('rolleyes.gif');

//Evil

smilyText.push(':evil:');

smilyFile.push('evil.gif');

//Twisted

smilyText.push(':twisted:');

smilyFile.push('twisted.gif');

//Shifty

smilyText.push(':shifty:');

smilyFile.push('shifty.gif');

//Tongue

smilyText.push(':P');

smilyFile.push('razz.gif');

smilyText.push(':p');

smilyFile.push('razz.gif');

//Wave

smilyText.push(':wave:');

smilyFile.push('wave.gif');

//Thumb Up

smilyText.push(':thumb:');

smilyFile.push('thumb-up.gif');

//Shrug

smilyText.push(':idk:');

smilyFile.push('shrug.gif');

//Puke

smilyText.push(':puke:');

smilyFile.push('pukey.gif');

//Notworthy

smilyText.push(':notworthy:');

smilyFile.push('notworthy.gif');



/********************************************

* DO NOT EDIT BELOW HERE

/********************************************





/********************************************

* BBCode

*/

var bbcodeText = [];

var bbcodeRepl = [];

var bbcodeIcon = [];



//Bold

bbcodeText.push('[b]');

bbcodeRepl.push('<b>');

bbcodeText.push('[/b]');

bbcodeRepl.push('</b>');

bbcodeIcon.push('bold.png');

//Italics

bbcodeText.push('[i]');

bbcodeRepl.push('<i>');

bbcodeText.push('[/i]');

bbcodeRepl.push('</i>');

bbcodeIcon.push('italic.png');

//Underline

bbcodeText.push('[u]');

bbcodeRepl.push('<u>');

bbcodeText.push('[/u]');

bbcodeRepl.push('</u>');

bbcodeIcon.push('underline.png');

//Strikethrough

bbcodeText.push('[s]');

bbcodeRepl.push('<del>');

bbcodeText.push('[/s]');

bbcodeRepl.push('</del>');

bbcodeIcon.push('strikethrough.png');







/********************************************

* Load Smilies

*  - populates smily list for display

*/



/********************************************

* Submit message - AJAX

*  - sends message into db

*

*  Needs:

*    human_manager_id

*    color

*    message_text

*    chat_room

*/



/********************************************

* Get users - AJAX

*  - gets the user listing

*/



/********************************************

* Get messages - AJAX

*  - gets the most recent messages

*

*  Needs:

*    human_manager_id

*    chat_room

*/



/********************************************

* Replace smilies

*  - processes messages to input smilies

*/



/********************************************

* Replace BBCode

*  - processes messages to input hyperlinks

*/







