function kedit(kedit){
var editor = KindEditor.create(kedit,{
width: '780px',
height: '700px',
resizeMode: 0,
allowPreviewEmoticons: false,
items: [
'bold', 'italic', 'underline',
'|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
'insertunorderedlist', '|', 'emoticons', 'link']
});
}
$(function(){
kedit('textarea[name="content"]');
})