2 document.forms[0].submit();
8 var IE = document.all?true:false
9 if (!IE) document.captureEvents(Event.MOUSEMOVE)
10 document.onmousemove = getMouseXY;
14 function getMouseXY(e) {
15 if (navigator.userAgent.indexOf("Konqueror")!=-1) { // grab the x-y pos.s if browser is Konqueror
18 } else if (IE) { // grab the x-y pos.s if browser is IE
19 tempX = event.clientX + document.body.scrollLeft
20 tempY = event.clientY + document.body.scrollTop
21 } else { // grab the x-y pos.s if browser is NS
25 if (tempX < 0){tempX = 0}
26 if (tempY < 0){tempY = 0}
30 function sm(name,id,node) {
35 cnt += "<a href='/id/" + id + "' title='" + name + "' class='panel_btn'>userinfo</a>";
36 cnt += "<form action='/id/24' method='post'>";
37 cnt += "<input type='hidden' value='" + name + "' name='mailto'>";
38 cnt += "<input type='submit' value='posta' value='posta' class='panel_btn'></form>";
39 cnt += "<form action='/id/" + node +"' method='post'>";
40 cnt += "<input type='hidden' name='node_content' value='" + name + "'>";
41 cnt += "<input type='hidden' name='search_type' value='user'>";
42 cnt += "<input type='submit' name='template_event' value='filter_by' class='panel_btn'></form>";
46 p.style.top = t + "px";
47 p.style.left = l + "px";
48 p.style.display = "block";
52 function sm_mail(name,id,node) {
57 cnt += "<a href='/id/" + id + "' title='" + name + "' class='panel_btn'>userinfo</a>";
58 cnt += "<a href='javascript:chngto('" + name + "','" + id + "')' class='panel_btn'>posta</a>";
60 cnt += "<form action='/id/" + node +"' method='post'>";
61 cnt += "<input type='hidden' name='node_content' value='" + name + "'>";
62 cnt += "<input type='submit' name='search_type' value='mail_from' class='panel_btn'>";
63 cnt += "<input type='submit' name='search_type' value='mail_to' class='panel_btn'>";
64 cnt += "<input type='hidden' name='template_event' value='filter_by'></form>";
68 p.style.top = t + "px";
69 p.style.left = l + "px";
70 p.style.display = "block";
74 function hideSubmenu() {
75 submenuTimer = setTimeout("hideSubmenu2()", timer);
78 function hideSubmenu2() {
80 p.style.display = "none";
86 clearTimeout(submenuTimer);