'
);
$('#homefreshlist_item_'+data.homefresh_id+' .homefresh-content').emotionsToHtml();
$('#homefresh_no').remove();
editor.html('');
editor.focus();
}
});
}
function showHomefreshtitle(){
$('#homefresh-title-box').toggle('fast');
}
function insertHomefreshattachment(nAttachmentid){
insertAttachment(editor,nAttachmentid);
}
function insertHomefreshmusic(sContent){
insertMusic(editor,sContent);
}
function insertHomefreshvideo(sContent){
insertVideo(editor,sContent);
}
var oEditNewhomefreshtopic='';
function addHomefreshtopic(){
oEditNewhomefreshtopic=windsforceAjax(D.U('home://ucenter/homefreshtopic'),'插入话题','','','',500,100);
}
function insertHomefreshtopic(sContent){
addEditorContent(editor,sContent);
oEditNewhomefreshtopic.close();
}
function showMedia(){
$('#homefreshcomment-media-box').toggle('fast');
showEmotion();
}
function insertHomefreshcommentattachment(nAttachmentid){
insertAttachmentNormal('homefreshcomment_content',nAttachmentid);
}
function insertHomefreshcommentvideo(sContent){
insertVideoNormal('homefreshcomment_content',sContent);
}
function insertHomefreshcommentmusic(sContent){
insertMusicNormal('homefreshcomment_content',sContent);
}
function showEmotion(){
$(".face-icon").jqfaceedit({txtAreaObj:$("#homefreshcomment_content"),textareaid:'homefreshcomment_content',containerObj:$('#emotion_parentcontainer'),top:25,left:-27});
}
var nHomefreshviewcomment=0;