menus_jQuery(document).ready(function() { menus_jQuery("[rel^=LinkLightBox]").each(function() { var self = menus_jQuery(this); menus_jQuery(this).extendLightbox({ 'padding': 4, 'margin': 0, 'type': 'iframe', 'showNumbers': true, 'showCloseButton': true, 'overlayOpacity': 0.8, 'overlayColor': '#000000', 'showArrows': true, 'showNavArrows': true, 'titleShow': true, 'transitionIn': 'none', 'transitionOut': 'fade', 'titlePosition': 'outside', 'autoDimensions': false, 'width': self.data("width"), 'height': self.data("height"), 'onComplete': function() { }, 'onCleanup': function() { menus_jQuery('#outside-controls').remove(); }, 'onStart': function() { }, 'onClosed': function() { menus_jQuery('body').removeClass('body-fix'); }, 'titleFormat': function(title, currentArray, currentIndex, currentOpts) { var showControls = function() { var lastItem = currentArray.length - 1; if (currentOpts.showNumbers) return '