if (chkdiv('ob_logreaded')) {document.getElementById('ob_logreaded').innerHTML='(53)';}if (chkdiv('ob_tbnum')) {document.getElementById('ob_tbnum').innerHTML='(0)';}if (chkdiv('ob_logd117404')) {document.getElementById('ob_logd117404').innerHTML='
';}if (chkdiv('ob_logm117404')) {document.getElementById('ob_logm117404').innerHTML='|反映问题 ';}if (chkdiv('morelog')) {document.getElementById('morelog').innerHTML+='\n\n
此文章被以下用户所推荐:\n
\n \n \n \n | \n
\n \n \n';}
var ShowDigg ;
function diggit(logid){
// 此处必须配合0703号以后的 Oblog Rewrite 组件才能用 P_pass 并不是用户的真实密码
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';
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("http://www.tyblog.com/");
oDialog.init();
oDialog.set('src',arrobj[1]);
oDialog.event(arrobj[0],'');
oDialog.button('dialogOk',"");
break;
case '2':
var oDialog = new dialog("http://www.tyblog.com/");
oDialog.init();
oDialog.set('src',arrobj[1]);
oDialog.event(arrobj[0],'');
oDialog.button('dialogOk',"");
break;
}
}
}