If you do not want to use jQuery, you can use jsTween (search it in google). I use it for animation on sites, and this is really good, and (in some cases) significantly faster than its jQuery counterpart.
opacityTween = new OpacityTween(document.getElementById('notification'),Tween.strongEaseInOut, 100, 0, 5); opacityTween.start()
which obscures the subject for 5 seconds
source share