if (chkdiv('ob_logreaded')) {document.getElementById('ob_logreaded').innerHTML='(44)';}if (chkdiv('ob_tbnum')) {document.getElementById('ob_tbnum').innerHTML='(0)';}if (chkdiv('ob_logd3455')) {document.getElementById('ob_logd3455').innerHTML='\n
\n';}if (chkdiv('ob_logm3455')) {document.getElementById('ob_logm3455').innerHTML='|·´Ó³ÎÊÌâ ';}
var ShowDigg ;
function diggit(logid){
var Ajax = new oAjax("/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("/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("/");
oDialog.init();
oDialog.set('src',arrobj[1]);
oDialog.event(arrobj[0],'');
oDialog.button('dialogOk',"");
break;
case '2':
var oDialog = new dialog("/");
oDialog.init();
oDialog.set('src',arrobj[1]);
oDialog.event(arrobj[0],'');
oDialog.button('dialogOk',"");
break;
}
}
}