function dontshowerrormessages(errorMessage, url, line) { /* msg = "There was an error on this page.\n\n"; msg += "An internal programming error may keep\n"; msg += "this page from displaying properly.\n"; msg += "Click OK to continue.\n\n"; msg += "Error message: " + errorMessage + "\n"; msg += "URL: " + url + "\n"; msg += "Line #: " + line; alert(msg); */ return true; } window.onerror=dontshowerrormessages; function showSubnav(strWhich) { document.getElementById(strWhich).style.display = "block"; } function hideSubnav(strWhich) { document.getElementById(strWhich).style.display = "none"; }