if (chkdiv('ob_logreaded')) {document.getElementById('ob_logreaded').innerHTML='(399)';}if (chkdiv('ob_tbnum')) {document.getElementById('ob_tbnum').innerHTML='(89)';}if (chkdiv('ob_logd4029')) {document.getElementById('ob_logd4029').innerHTML='
';}if (chkdiv('ob_logm4029')) {document.getElementById('ob_logm4029').innerHTML=' ';}if (chkdiv('morelog')) {document.getElementById('morelog').innerHTML+='\n\n
此文章被以下用户所推荐:\n
\n \n \n \n | \n
\n \n \n';}
var ShowDigg ;
function diggit(logid){
var Ajax = new oAjax("/blog/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("/blog/");
oDialog.init();
oDialog.set('src',arrobj[1]);
oDialog.event(arrobj[0],'');
oDialog.button('dialogOk',"");
break;
case '2':
var oDialog = new dialog("/blog/");
oDialog.init();
oDialog.set('src',arrobj[1]);
oDialog.event(arrobj[0],'');
oDialog.button('dialogOk',"");
break;
}
}
}