window.onload = function () { //change "startup" to "window.onload"
initLightbox();
var lb = new Lightbox();
lb.start( $('firstImageID') ); //you will need to set this ID in your image link as well

}