prototype - how to delay a call to hide() by 10 seconds

javascript, prototypejs

Solution

$('message').show();
Element.hide.delay(10, 'message');

Problem

I have the following code: ``` $('message').show(); $('message').hide(); ``` How do I add a 10 second delay between the show and hide in prototype? Thanks

Original source