if (chkdiv('ob_logreaded')) {document.getElementById('ob_logreaded').innerHTML='(9)';}if (chkdiv('ob_tbnum')) {document.getElementById('ob_tbnum').innerHTML='(0)';}if (chkdiv('ob_logm12980')) {document.getElementById('ob_logm12980').innerHTML=' ';} var ShowDigg ; function diggit(logid){ // 此处要想完美实现必须配合0703号以后的 Oblog Rewrite 组件才能用 //4.6版本重写组件已经完美实现此处. var Ajax = new oAjax("/ajaxServer.asp?action=digglog&fromurl=",show_returnsave); var arrKey = new Array("logid",""); var arrValue = new Array(logid,""); Ajax.Post(arrKey,arrValue); } function show_returnsave(arrobj){ if (arrobj){ if (arrobj.length == 4) { ShowDigg ='\n
\n
$diggnum$
\n
$showmsg$
\n
\n'; ShowDigg = ShowDigg.replace('$diggnum$',arrobj[3]) ShowDigg = ShowDigg.replace('$logid$',arrobj[2]) ShowDigg = ShowDigg.replace('$showmsg$',arrobj[0]) document.getElementById("ob_logd"+arrobj[2]).innerHTML = ShowDigg; return false; } switch (arrobj[1]){ case '1': var oDialog = new dialog("/"); oDialog.init(); oDialog.set('src',arrobj[1]); oDialog.event(arrobj[0],''); oDialog.button('dialogOk',""); break; case '2': var oDialog = new dialog("/"); oDialog.init(); oDialog.set('src',arrobj[1]); oDialog.event(arrobj[0],''); oDialog.button('dialogOk',""); break; } } }