$(document).ready(function () { if (typeof fullscreenlayer == "undefined" || !fullscreenlayer) { var fullscreenlayer = {}; } fullscreenlayer.gallery = function () { var pub = { registerLightBoxHandlers: (function () { var links = [{ title: 'CNC lathe BIGLIA B501', href: 'https://cdn.machineseeker.com/um/inserat/img_1366x768/3891263.1539299761__.jpg', type: 'image/jpeg', thumbnail: 'https://cdn.machineseeker.com/um/inserat/img_100x75/3891263.1539299761__.jpg', },{ title: 'CNC lathe BIGLIA B501', href: 'https://cdn.machineseeker.com/um/inserat/img_1366x768/3891263-2.1539299760__.jpg', type: 'image/jpeg', thumbnail: 'https://cdn.machineseeker.com/um/inserat/img_100x75/3891263-2.1539299760__.jpg', },{ title: 'CNC lathe BIGLIA B501', href: 'https://cdn.machineseeker.com/um/inserat/img_1366x768/3891263-3.1539299760__.jpg', type: 'image/jpeg', thumbnail: 'https://cdn.machineseeker.com/um/inserat/img_100x75/3891263-3.1539299760__.jpg', },{ title: 'CNC lathe BIGLIA B501', href: 'https://cdn.machineseeker.com/um/inserat/img_1366x768/3891263-4.1539299760__.jpg', type: 'image/jpeg', thumbnail: 'https://cdn.machineseeker.com/um/inserat/img_100x75/3891263-4.1539299760__.jpg', },];; var settings = {hidePageScrollbars: false}; blueimp.Gallery(links, settings); return false; }) }; return pub; }(jQuery); fullscreenlayer.gallery.registerLightBoxHandlers(); });