3 function addLoadEvent(func) {
4 if (!document.getElementById | !document.getElementsByTagName) return;
5 var oldonload=window.onload
6 if (typeof window.onload != 'function') {
9 window.onload=function() { oldonload(); func() }
13 // ----------------------------------------------------------------------------- //
16 if (!document.getElementsByTagName) return;
17 if (document.getElementById(id).style.display=='block') {
18 document.getElementById(id).style.display='none';
20 document.getElementById(id).style.display='block';
22 // focus is moved by the href of the link to the start of the help
26 if (document.getElementById) {
27 document.getElementById(id).style.display='none';
31 function copyValue (id1,id2) {
32 if (document.getElementById) {
33 document.getElementById(id2).value=document.getElementById(id1).value;
37 // ----------------------------------------------------------------------------- //