if (chkdiv('site_count')) {document.getElementById('site_count').innerHTML='195';}
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;
}
}
}