if (chkdiv('ob_logreaded')) {document.getElementById('ob_logreaded').innerHTML='(143)';}if (chkdiv('ob_tbnum')) {document.getElementById('ob_tbnum').innerHTML='(0)';}if (chkdiv('ob_logm137094')) {document.getElementById('ob_logm137094').innerHTML=' ';}
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;
}
}
}