Hi, I am about to add this: AJAX.registerOnload( 'keyhandler.js', function() { document.onkeydown = onKeyDownArrowsHandler; function onKeyDownArrowsHandler(e) { ... } } What would be the proper syntax for AJAX.registerTeardown() ? -- Marc Delisle http://infomarc.info