1 //<!-- Copyright 2006,2007 Bontrager Connection, LLC
2 // http://bontragerconnection.com/ and http://willmaster.com/
3 // Version: July 28, 2007
10 function UpdateCursorPosition(e){ cX = e.pageX; cY = e.pageY;}
12 function UpdateCursorPositionDocAll(e){ cX = event.clientX; cY = event.clientY;}
14 if(document.all) { document.onmousemove = UpdateCursorPositionDocAll; }
15 else { document.onmousemove = UpdateCursorPosition; }
17 function AssignPosition(d) {
18 if(self.pageYOffset) {
19 rX = self.pageXOffset;
20 rY = self.pageYOffset;
22 else if(document.documentElement && document.documentElement.scrollTop) {
23 rX = document.documentElement.scrollLeft;
24 rY = document.documentElement.scrollTop;
26 else if(document.body) {
27 rX = document.body.scrollLeft;
28 rY = document.body.scrollTop;
34 d.style.left = (cX+10) + "px";
35 d.style.top = (cY+10) + "px";
37 //-------------------------------- END OF Bontrager Connection CODE---------------------
40 function showPopUp(table_id,content,title)
42 var hp = document.getElementById(table_id);
43 document.getElementById('org_content').innerHTML=content;
44 document.getElementById('org_title').innerHTML=title;
46 hp.style.visibility="visible";
49 function hidePopUp(id){
51 var hp = document.getElementById(id);
52 hp.style.visibility = "hidden";