This isn't exactly what you're asking for, but its sort of along the lines (and maybe adaptable):
timed-notifications-with-css-animations/
Although, its CSS3 based so you can count IE 8 and below out of the equation. Also, I'm not sure about the form being available to be used a second time if you don't redirect to a thank you page first.