var offsetfromcursorX=12;var offsetfromcursorY=10;var offsetdivfrompointerX=10;var offsetdivfrompointerY=14;document.write('<div id="dhtmltooltip"></div>');document.write('<img id="dhtmlpointer" src="images/arrow2.gif">');var ie=document.all;var ns6=document.getElementById&&!document.all;var enabletip=false;if(ie||ns6){var tipobj=document.all?document.all.dhtmltooltip:document.getElementById?document.getElementById("dhtmltooltip"):""}var pointerobj=document.all?document.all.dhtmlpointer:document.getElementById?document.getElementById("dhtmlpointer"):"";function ietruebody(){return(document.compatMode&&document.compatMode!="BackCompat")?document.documentElement:document.body}function ddrivetip(b,a,d,c){if(ns6||ie){if(typeof a!="undefined"){tipobj.style.width=a+"px"}if(typeof c!="undefined"&&c!=""){tipobj.style.backgroundColor=c}if(typeof d!="undefined"&&d!=""){tipobj.style.color=d}tipobj.innerHTML=b;enabletip=true;return false}}function ddrivetip2(d){var b,a,f,c;b=this.thetext;a=this.thewidth;f=this.thecolor;c=this.thebcolor;if(ns6||ie){if(typeof a!="undefined"){tipobj.style.width=a+"px"}if(typeof c!="undefined"&&c!=""){tipobj.style.backgroundColor=c}if(typeof f!="undefined"&&f!=""){tipobj.style.color=f}tipobj.innerHTML=b;enabletip=true;return false}}function positiontip(i){if(enabletip){var c=false;var d=(ns6)?i.pageX:event.clientX+ietruebody().scrollLeft;var b=(ns6)?i.pageY:event.clientY+ietruebody().scrollTop;var h=ie&&!window.opera?ietruebody().clientWidth:window.innerWidth-20;var a=ie&&!window.opera?ietruebody().clientHeight:window.innerHeight-20;var g=ie&&!window.opera?h-event.clientX-offsetfromcursorX:h-i.clientX-offsetfromcursorX;var f=ie&&!window.opera?a-event.clientY-offsetfromcursorY:a-i.clientY-offsetfromcursorY;var j=(offsetfromcursorX<0)?offsetfromcursorX*(-1):-1000;if(g<tipobj.offsetWidth){tipobj.style.left=d-tipobj.offsetWidth+"px";c=true}else{if(d<j){tipobj.style.left="5px"}else{tipobj.style.left=d+offsetfromcursorX-offsetdivfrompointerX+"px";pointerobj.style.left=d+offsetfromcursorX+"px"}}if(f<tipobj.offsetHeight){tipobj.style.top=b-tipobj.offsetHeight-offsetfromcursorY+"px";c=true}else{tipobj.style.top=b+offsetfromcursorY+offsetdivfrompointerY+"px";pointerobj.style.top=b+offsetfromcursorY+"px"}tipobj.style.visibility="visible";if(!c){pointerobj.style.visibility="visible"}else{pointerobj.style.visibility="hidden"}}}function hideddrivetip(){if(ns6||ie){enabletip=false;tipobj.style.visibility="hidden";pointerobj.style.visibility="hidden";tipobj.style.left="-1000px";tipobj.style.backgroundColor="";tipobj.style.width=""}}document.onmousemove=positiontip;
