if (chkdiv('ob_logr155')) {document.getElementById('ob_logr155').innerHTML='(238)';}if (chkdiv('ob_logc155')) {document.getElementById('ob_logc155').innerHTML='(0)';}if (chkdiv('ob_logt155')) {document.getElementById('ob_logt155').innerHTML='(0)';}if (chkdiv('ob_logd155')) {document.getElementById('ob_logd155').innerHTML='\n
\n';}if (chkdiv('ob_logm155')) {document.getElementById('ob_logm155').innerHTML='| 反映问题 ';}if (chkdiv('ob_logr156')) {document.getElementById('ob_logr156').innerHTML='(201)';}if (chkdiv('ob_logc156')) {document.getElementById('ob_logc156').innerHTML='(0)';}if (chkdiv('ob_logt156')) {document.getElementById('ob_logt156').innerHTML='(0)';}if (chkdiv('ob_logd156')) {document.getElementById('ob_logd156').innerHTML='\n\n';}if (chkdiv('ob_logm156')) {document.getElementById('ob_logm156').innerHTML='| 反映问题 ';}if (chkdiv('ob_logr157')) {document.getElementById('ob_logr157').innerHTML='(244)';}if (chkdiv('ob_logc157')) {document.getElementById('ob_logc157').innerHTML='(0)';}if (chkdiv('ob_logt157')) {document.getElementById('ob_logt157').innerHTML='(0)';}if (chkdiv('ob_logd157')) {document.getElementById('ob_logd157').innerHTML='\n\n';}if (chkdiv('ob_logm157')) {document.getElementById('ob_logm157').innerHTML='| 反映问题 ';}if (chkdiv('ob_logr158')) {document.getElementById('ob_logr158').innerHTML='(571)';}if (chkdiv('ob_logc158')) {document.getElementById('ob_logc158').innerHTML='(0)';}if (chkdiv('ob_logt158')) {document.getElementById('ob_logt158').innerHTML='(0)';}if (chkdiv('ob_logd158')) {document.getElementById('ob_logd158').innerHTML='\n\n';}if (chkdiv('ob_logm158')) {document.getElementById('ob_logm158').innerHTML='| 反映问题 ';}if (chkdiv('ob_logr165')) {document.getElementById('ob_logr165').innerHTML='(452)';}if (chkdiv('ob_logc165')) {document.getElementById('ob_logc165').innerHTML='(0)';}if (chkdiv('ob_logt165')) {document.getElementById('ob_logt165').innerHTML='(0)';}if (chkdiv('ob_logd165')) {document.getElementById('ob_logd165').innerHTML='\n\n';}if (chkdiv('ob_logm165')) {document.getElementById('ob_logm165').innerHTML='| 反映问题 ';}if (chkdiv('ob_logr167')) {document.getElementById('ob_logr167').innerHTML='(469)';}if (chkdiv('ob_logc167')) {document.getElementById('ob_logc167').innerHTML='(0)';}if (chkdiv('ob_logt167')) {document.getElementById('ob_logt167').innerHTML='(0)';}if (chkdiv('ob_logd167')) {document.getElementById('ob_logd167').innerHTML='\n\n';}if (chkdiv('ob_logm167')) {document.getElementById('ob_logm167').innerHTML='| 反映问题 ';}if (chkdiv('ob_logr170')) {document.getElementById('ob_logr170').innerHTML='(451)';}if (chkdiv('ob_logc170')) {document.getElementById('ob_logc170').innerHTML='(0)';}if (chkdiv('ob_logt170')) {document.getElementById('ob_logt170').innerHTML='(0)';}if (chkdiv('ob_logd170')) {document.getElementById('ob_logd170').innerHTML='\n\n';}if (chkdiv('ob_logm170')) {document.getElementById('ob_logm170').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;
}
}
}