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: 2017-9-4 4:00:37
}
function AddEmotion(editor, emotion)
{
var edt = document.getElementById(editor);
if(edt)
{
if (edt.value == "×ÖÊýÉÏÏÞΪ2000×Ö")
{
edt.value = "";
}
edt.value += emotion;
}
if(typeof(AfterAddEmotion)=="function")
{
AfterAddEmotion();
}
}
DisplayEmotions("EmotionsDiv", "NoHtmlCommentContent");