Dynamic Lightbox Script for Modern Browsers