Made a simple se friendly css/js lightbox only 3kb

I found a few simple overlay lightboxes but none would resize with the browser and none were cross browser friendly. This was designed to display a div but uses innerHTML so this could easily be changed to an image, iframe, swf, whatever.

Anyways this is more to display a form, div, iframe, swf over content and be xbrowser friendly, if you want a gallery you will have to adapt the lightbox and might as well just use a premade one. But this is about 3kb vs 100+kb for the premade ones. Let me know if you have any questions.

-if you want a gallery you will have to adapt the lightbox and might as well just use a premade one.

so is this for an individual light box image? if so, what do u suggest for a gallery?? I need 4 to come up as lightbox pics. in your script you have launch lightbox, and it comes up blank, everything darkens out , i get a box with nothing in it. what part of the script do i put my picture in?
thanks