2 function addLoadEvent(func) {
3 if (!document.getElementById | !document.getElementsByTagName) return;
4 var oldonload=window.onload
5 if (typeof window.onload != 'function') {
8 window.onload=function() { oldonload(); func() }
12 // ----------------------------------------------------------------------------- //
15 if (!document.getElementsByTagName) return;
16 if (document.getElementById(id).style.display=='block') {
17 document.getElementById(id).style.display='none';
19 document.getElementById(id).style.display='block';
21 // focus is moved by the href of the link to the start of the help
25 if (document.getElementById) {
26 document.getElementById(id).style.display='none';
30 function copyValue (id1,id2) {
31 if (document.getElementById) {
32 document.getElementById(id2).value=document.getElementById(id1).value;
36 // ----------------------------------------------------------------------------- //