/* javascript library by matto, 2005-06 */ /* menuActive = function() { // activate menu for internet explorer if(document.all && document.getElementById) { start = document.getElementById("sub_menu"); for(i=0; i maxIndex) maxIndex = elements[i].value; inputCounter++; } } if(maxIndex == '') maxIndex = 0; if(textInput != null) { if(!checkbox.checked) // switching off textInput.value = ''; else // switching on textInput.value = (maxIndex*1) + 1; // multiplication in order to avoid string concatenation } } catch(ex) { alert(ex); } } function showResource(resource_name, on) { var images = document.getElementsByTagName('img'); var showLinks = document.getElementsByTagName('a'); for(var i=0; i