//**************************************************
//  DHTML Tree Menu (c) 2005, by Apycom Software
//  version 2.0
//  http://dhtml-menu.com
//  E-mail: dhtml@dhtml-menu.com
//**************************************************
function _tsc(){return[(tim?tde.scrollLeft:pageXOffset),(tim?tde.scrollTop:pageYOffset)]};function _tgc(trt,tc,tn1){var txd=(tn1-tc)/trt;with(Math)if(abs(txd)<1)txd=abs(txd)/txd;return tc+((tc!=tn1)?txd:0)+'px';};function _tsw(){if(tmoveRec.tmo)return;for(var tj=0;tj<tt.ln();tj++)with(tt[tj]){if(tff&&tap){var tom=_toi(id+'div'),tyx=_tsx(tom),tfo=_tsc(),tx=tfo[0]+left-txo,ty=tfo[1]+top-tyo;with(tom.style){if(txf&&tyx[0]!=tx)left=_tgc(tt1r,tyx[0],tx);if(tyf&&tyx[1]!=ty)top=_tgc(tt1r,tyx[1],ty);};};};};var tum=null;function _tse(){return(tmoveRec.tmo?false:true)};function _tee(te){if(tam&&tie)te=window.event;with(te)return[(tie||tpo)?clientX:pageX,(tie||tpo)?clientY:pageY];};function _tm(){if(tdo.attachEvent){tdo.attachEvent('onmousemove',_tm2);if(tie)tdo.attachEvent("onselectstart",_tse);}else{tum=tdo.onmousemove;tdo.onmousemove=function(te){_tm2(te);if(tum)tum();return true;};};};function _tl1s(tvn,tmi){with(tmoveRec){if(!tl1||tmo)return;_tmv=tt[tmi];tom=_toi(_tmv.id+'div');var tms=_tee(tvn),tyx=_tsx(tom),tpo1=tim?_tsc():[0,0];ttx=tms[0]-tyx[0]+tpo1[0];tty=tms[1]-tyx[1]+tpo1[1];tmo=1;};};function _tm2(event){with(tmoveRec)if(tmo&&tl1){var tms=_tee(event),tpo1=tim?_tsc():[0,0],txn=tms[0]-ttx+tpo1[0]+txo,tyn=tms[1]-tty+tpo1[1]+tyo;with(tom.style){left=((txn>=0)?txn:0)+'px';top=((tyn>=0)?tyn:0)+'px';};};return true;};function _tl11(){with(tmoveRec){if(!tl1||!tmo)return;var tpo1=_tsc(),tyx=_tsx(tom);_tmv.left=tyx[0]-tpo1[0];_tmv.top=tyx[1]-tpo1[1];tmo=0;};};
