if (chkdiv('ob_logr139')) {document.getElementById('ob_logr139').innerHTML='(171)';}if (chkdiv('ob_logc139')) {document.getElementById('ob_logc139').innerHTML='(0)';}if (chkdiv('ob_logt139')) {document.getElementById('ob_logt139').innerHTML='(0)';}if (chkdiv('ob_logd139')) {document.getElementById('ob_logd139').innerHTML='\n
\n';}if (chkdiv('ob_logm139')) {document.getElementById('ob_logm139').innerHTML='| 反映问题 ';}if (chkdiv('ob_logr140')) {document.getElementById('ob_logr140').innerHTML='(194)';}if (chkdiv('ob_logc140')) {document.getElementById('ob_logc140').innerHTML='(0)';}if (chkdiv('ob_logt140')) {document.getElementById('ob_logt140').innerHTML='(0)';}if (chkdiv('ob_logd140')) {document.getElementById('ob_logd140').innerHTML='\n\n';}if (chkdiv('ob_logm140')) {document.getElementById('ob_logm140').innerHTML='| 反映问题 ';}if (chkdiv('ob_logr144')) {document.getElementById('ob_logr144').innerHTML='(183)';}if (chkdiv('ob_logc144')) {document.getElementById('ob_logc144').innerHTML='(0)';}if (chkdiv('ob_logt144')) {document.getElementById('ob_logt144').innerHTML='(0)';}if (chkdiv('ob_logd144')) {document.getElementById('ob_logd144').innerHTML='\n\n';}if (chkdiv('ob_logm144')) {document.getElementById('ob_logm144').innerHTML='| 反映问题 ';}if (chkdiv('ob_logr145')) {document.getElementById('ob_logr145').innerHTML='(161)';}if (chkdiv('ob_logc145')) {document.getElementById('ob_logc145').innerHTML='(0)';}if (chkdiv('ob_logt145')) {document.getElementById('ob_logt145').innerHTML='(0)';}if (chkdiv('ob_logd145')) {document.getElementById('ob_logd145').innerHTML='\n\n';}if (chkdiv('ob_logm145')) {document.getElementById('ob_logm145').innerHTML='| 反映问题 ';}
var ShowDigg ;
function diggit(logid){
// 此处要想完美实现必须配合0703号以后的 Oblog Rewrite 组件才能用
//4.6版本重写组件已经完美实现此处.
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 menuFix(obj) {
var sfEls = document.getElementById("menu_"+obj).getElementsByTagName("li");
for (var i=0; i0? " ": "") + "sfhover";
}
sfEls[i].onmouseover=function() {
this.className+=(this.className.length>0? " ": "") + "sfhover";
}
sfEls[i].onMouseDown=function() {
this.className+=(this.className.length>0? " ": "") + "sfhover";
}
sfEls[i].onMouseUp=function() {
this.className+=(this.className.length>0? " ": "") + "sfhover";
}
sfEls[i].onmouseout=function() {
this.className=this.className.replace(new RegExp("( ?|^)sfhover\\b"),"");
}
}
}
function report(logid,report_type){
var Ajax = new oAjax("/blog/ajaxServer.asp?action=savereport",show_returnsave);
var arrKey = new Array("logid","report_type");
var arrValue = new Array(logid,report_type);
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;
}
}
}