<!--
function emoticon(text) {
   text = ' ' + text + ' ';
        if (document.story.blog.createTextRange && document.story.blog.caretPos) {
                var caretPos = document.story.blog.caretPos;
                caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text;
                document.story.blog.focus();
        } else {
        document.story.blog.value  += text;
        document.story.blog.focus();
        }
}
// -->