$(document).ready(function(){
	if ( $('.lightbox').length ) // if exist
	    $(".lightbox").lightbox();
});
