// Send the text to the server
parms = 'r=' + Math.random()
- + '&recp=' + recipient
+ + '&recp=' + encodeURIComponent(recipient)
+ '&msg=' + encodeURIComponent(thetext);
new Ajax.Request('../ajax_send_instant_message',
{
+ '<br><form method=\"post\" action=\"null\" name=\"sendform_' + which_div + '\" '
+ 'onSubmit=\"return SendSomething(\'' + which_div + '\', \'sendform_'
+ which_div + '\', \'' + sender + '\');\">'
- + '<img src=\"citadelchat_16x.gif\"> '
+ + '<img src=\"webcit_icons/essen/16x16/chat.png\"> '
+ '<input type=\"text\" size=\"72\" maxlength=\"600\" name=\"sendthis\">'
+ '</form>'
+ '<br></div>'