var rclr_c1="#E1E1E1"; var rclr_c2="#F9F9F9"; //document.onmousover=tmpf; function tmpf(e){ if( !e )e=window.event; t=e.srcElement?e.srcElement:e.target; //alert(t.tagName); } //what 1-hide, 2-show function hide_all(st){ o=goid("df"); //els=o.getElementsByTagName("INPUT"); els=gotn(o,"INPUT"); for(i=0;i=0){ //alert("SR="+sr); sr=sr.substr(ix+2); i=0; while(x=sr.substr(2*i++,2)){ sra.push(x); } } } //alert(sra); for(i=0;i0 && hh>h)pl="­"; els[i].innerHTML=hh+":"+mm+pl; } } // /*s=document.location.href; ix=s.indexOf("&h="); if( ix>0 )*/ function ficlk(){ hide_or_show(); } function row_clr(c1,c2){ if(c1)rclr_c1=c1; if(c2)rclr_c2=c2; //alert("X"); t=goid("t_sp"); //els=t.getElementsByTagName("TR"); els=gotn(t,"TR"); cls=true; //alert(els[0].style.display); for(i=0;i=0 )cls=!cls; if( els[i].id.indexOf("sid")>=0 )cls=true; els[i].style.background=cls?rclr_c1:rclr_c2; } } row_clr(); function hide_or_show(){ t=goid("t_sp"); //els=t.getElementsByTagName("TR"); els=gotn(t,"TR"); //alert(gCB("fime")); for(i=0;i=0){ if( gCB("fime") ) els[i].style.display="table-row"; else els[i].style.display="none"; } if( els[i].className.indexOf("hidW")>=0){ if( gCB("fiwo") ) els[i].style.display="table-row"; else els[i].style.display="none"; } if( els[i].className.indexOf("hidX")>=0){ if( gCB("fimi") ) els[i].style.display="table-row"; else els[i].style.display="none"; }*/ } //hide headers //if( !gCB("fiha")){ h=false; count=0; cb=gCB("fiha"); for(i=0;i=0){ if( gCB(t2) ) els[i].style.display="table-row"; else els[i].style.display="none"; } } function gid(o){ return o.getAttribute("id"); } //menu open_win=0; open_opener=0; function open_menu(o,id){ if(open_win) return; m=document.getElementById(id); m.style.display='inline'; open_win=m; open_opener=o; document.onmouseover=check_out; } function check_out(e){ if(!open_win) return; if(!open_opener) return; if( !e )e=window.event; t=e.srcElement?e.srcElement:e.target; //to=e.toElement?e.toElement:e.relatedTarget; //document.getElementById('sl').innerHTML="id="+t.id; if( t.id==open_opener.id ||t==open_opener.parentNode) return; //document.getElementById('sl').innerHTML="id="+t.id; if( t.id!=open_win.id && t.parentNode.id!=open_win.id && t.parentNode.parentNode.id!=open_win.id){ open_win.style.display='none'; open_win=0; open_opener=0; document.onmouseover=""; //alert(t.id+" "+open_opener.id); } }