
function return_smile (value) {

  window.opener.document.all['comment_form'].comments_body.value=self.opener.document.all['comment_form'].comments_body.value + value;
  document.write(opener.document.all['comment_form'].comments_body.value);
  window.close();

}

function arcode_obrashenie(value) {

 document.all['comment_form'].comments_body.value=document.all['comment_form'].comments_body.value + '[user]' + value + '[/user], ';


}

function smiles_window_open() {

smileswindow=window.open('/smiles.php', '', 'toolbar=no, status=no, menubar=no, width=440, height=500, scrollbars=yes');

}

function arcode_quote(login, post) {

document.all['comment_form'].comments_body.value=document.all['comment_form'].comments_body.value + '[quote from=' + login +']' + post + '[/quote]';

}


