$(document).ready(function () { if (typeof fullscreenlayer == "undefined" || !fullscreenlayer) { var fullscreenlayer = {}; } fullscreenlayer.gallery = function () { var pub = { registerLightBoxHandlers: (function () { var links = [{ title: 'TORNO CNC GILDEMEISTER CTX410', href: 'https://cdn.machineseeker.com/um/inserat/img_1366x768/3906081.1541433841__.jpg', type: 'image/jpeg', thumbnail: 'https://cdn.machineseeker.com/um/inserat/img_100x75/3906081.1541433841__.jpg', },{ title: 'TORNO CNC GILDEMEISTER CTX410', href: 'https://cdn.machineseeker.com/um/inserat/img_1366x768/3906081-2.1541433841__.jpg', type: 'image/jpeg', thumbnail: 'https://cdn.machineseeker.com/um/inserat/img_100x75/3906081-2.1541433841__.jpg', },{ title: 'TORNO CNC GILDEMEISTER CTX410', href: 'https://cdn.machineseeker.com/um/inserat/img_1366x768/3906081-3.1541433841__.jpg', type: 'image/jpeg', thumbnail: 'https://cdn.machineseeker.com/um/inserat/img_100x75/3906081-3.1541433841__.jpg', },];; var settings = {hidePageScrollbars: false}; blueimp.Gallery(links, settings); return false; }) }; return pub; }(jQuery); fullscreenlayer.gallery.registerLightBoxHandlers(); });