function DisplayEmotions(container, editor)
{
var em = " ";
if (em != "")
{
em = em.replace(new RegExp("{editor}","gm"), editor);
}
if(document.getElementById(container))
{
document.getElementById(container).innerHTML = em;
}
//cachetime: 2008-1-18 13:37:10
}
function AddEmotion(editor, emotion)
{
var edt = document.getElementById(editor);
if(edt)
{
if (edt.value == "字数上限为2000字")
{
edt.value = "";
}
edt.value += emotion;
}
}
DisplayEmotions("EmotionsDiv", "NoHtmlCommentContent");