http://www.ks5u.com/down/2009-6/18/240930.shtml
function chkdiv(divid){
var chkid=document.getElementById(divid);
if(chkid != null){return true; }
else {return false; }
}
if (chkdiv('count')) {
document.getElementById('count').innerHTML='日2034 周2036 月2042 总3007';
}
//document.getElementById('complain').innerHTML='0';
document.getElementById('count').innerHTML=''
document.getElementById('count').previousElementSibling.innerHTML='';
if (chkdiv('Res_Prives')) {
document.getElementById('Res_Prives').innerHTML='在线预览';
}