This is an article very interesting for those who want to apply the effects of LightBox to your alert windows. I found this article on a post by Patrick Hunlock where he says:
This snippet “grays” out the screen and allows you to create a “modal” environment. A gray out is useful for creating a DHTML dialog box, or showing off a picture or video.
Here is the link.