//HELP POPUP var Xoffset=10; var Yoffset= 15; var popwidth=200; // id browsers var iex=(document.all); var nav=(document.layers); var old=(navigator.appName=="Netscape" && !document.layers && !document.getElementById); var n_6=(window.sidebar); // assign object var skin; if(nav) skin=document.popupWin; if(iex) skin=popupWin.style; if(n_6) skin=document.getElementById("popupWin").style; // park modifier var yyy=-1000; // capture pointer if(nav)document.captureEvents(Event.MOUSEMOVE); if(n_6) document.addEventListener("mousemove",get_mouse,true); if(nav||iex)document.onmousemove=get_mouse; function filename_onchange() { //window.location = document.formNav.filename[document.formNav.filename.selectedIndex].value; document.formNav.submit(); return true; } function showTooltip() { if(popVisible == 1) { if(iex || nav) { skin.top=mouseY; skin.left=mouseX; } if(n_6) { skin.top = mouseY + "px"; skin.left = mouseX + "px"; } yyy=Yoffset; skin.width=popwidth; if(nav) { skin.document.open(); skin.document.write(content); skin.document.close(); skin.visibility="visible"; } if(iex) { popupWin.innerHTML=content; skin.visibility="visible"; skin.filter="alpha(opacity=" + fade + ")"; setTimeout("fadeUp()", 1); } if(n_6) { document.getElementById("popupWin").innerHTML=content; skin.visibility="visible"; } } } function fadeUp() { fade = fade + 20; if(fade <= 100) { skin.filter="alpha(opacity=" + fade + ")"; setTimeout("fadeUp()", 50); } } var mouseX = 0; var mouseY = 0; var fade = 0; // set dynamic coords function get_mouse(e) { var x,y; if(nav || n_6) x=e.pageX; if(iex) x=event.x+document.body.scrollLeft; if(nav || n_6) y=e.pageY; if(iex) { y=event.y; if(navigator.appVersion.indexOf("MSIE 4")==-1) y+=document.body.scrollTop; } mouseX = x+10; mouseY = y; } var popVisible = 0; var content = ""; function popup(msg, subj) { content = "
"+subj+"
"+msg+"
"; popVisible = 1; fade = 0; setTimeout("showTooltip()", 1000); } function NewWindow(mypage,myname,w,h,scroll){ LeftPosition = (screen.width) ? (screen.width-w)/2 : 0; TopPosition = (screen.height) ? (screen.height-h)/2 : 0; settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable=no' win = window.open(mypage,myname,settings) if(win.window.focus){win.window.focus();} } function kill() { popVisible = 0; if(!old) { yyy=-1000; skin.visibility="hidden"; skin.width=0; } } function findPosX(obj) { var curleft = 0; if (document.getElementById || document.all) { while (obj.offsetParent) { curleft += obj.offsetLeft obj = obj.offsetParent; } } else if (document.layers) curleft += obj.x; return curleft; } function findPosY(obj) { var curtop = 0; if (document.getElementById || document.all) { while (obj.offsetParent) { curtop += obj.offsetTop obj = obj.offsetParent; } } else if (document.layers) curtop += obj.y; return curtop; } function alertuserLogin() { if (document.login.husk.checked) { if (confirm("Notice:\n\nIf you are using a public computer\n- e.g. at a library - we strongly advise\nyou not to use this function!\n\nClick OK to remember info or\nCancel in order to not use this function!")) { document.login.husk.checked = true; } else { document.login.husk.checked = false; } } }