var offsetxpoint=-60;var offsetypoint=20;var ie=document.all;var ns6=document.getElementById&&!document.all;var isdrag=false;var x,y;var dob;var dI=null;var width=(ie&&!window.opera?ietruebody().clientWidth:window.innerWidth)-500;var height=(ie&&!window.opera?ietruebody().clientHeight:window.innerHeight)-300;function movemouse(C){if(isdrag){var B=ns6?tx+C.clientX-x:tx+event.clientX-x;var A=ns6?ty+C.clientY-y:ty+event.clientY-y;dob.style.left=(B<50?50:B>width?width:B)+"px";dob.style.top=(A<50?50:A)+"px"}return false}function track(A){isdrag=true;dob=document.all?document.all[dI]:document.getElementById?document.getElementById(dI):null;tx=parseInt(dob.style.left+0);ty=parseInt(dob.style.top+0);x=ns6?A.clientX:event.clientX;y=ns6?A.clientY:event.clientY;document.onmousemove=movemouse;return false}function untrack(A){isdrag=false}function ietruebody(){return((document.compatMode&&document.compatMode!="BackCompat")?document.documentElement:document.body)}function showComponent(F,I){dI=I;var E=document.all?document.all[I]:document.getElementById?document.getElementById(I):null;if(!E){alert("component not found");return false}var G=window.event;if(!G){G=F}var B=(ns6)?G.pageX:event.clientX+ietruebody().scrollLeft;var A=(ns6)?G.pageY:event.clientY+ietruebody().scrollTop;var D=ie&&!window.opera?ietruebody().clientWidth-event.clientX-offsetxpoint:window.innerWidth-G.clientX-offsetxpoint-20;var C=ie&&!window.opera?ietruebody().clientHeight-event.clientY-offsetypoint:window.innerHeight-G.clientY-offsetypoint-20;var H=(offsetxpoint<0)?offsetxpoint*(-1):-1000;if(D<E.offsetWidth){E.style.left=ie?ietruebody().scrollLeft+event.clientX-E.offsetWidth+"px":window.pageXOffset+G.clientX-E.offsetWidth+"px"}else{if(B<H){E.style.left="5px"}else{E.style.left=B+offsetxpoint+"px"}}if(C<E.offsetHeight){E.style.top=ie?ietruebody().scrollTop+event.clientY-E.offsetHeight-offsetypoint+"px":window.pageYOffset+G.clientY-E.offsetHeight-offsetypoint+"px"}else{E.style.top=A+offsetypoint+"px"}E.style.visibility="visible";return false}function hideComponent(A){var B=document.all?document.all[A]:document.getElementById?document.getElementById(A):null;if(!B){alert("component not found");return }B.style.visibility="hidden"};