function doLightBox(){var e,i,t="object"==typeof JQLBSettings,a=0;t&&JQLBSettings.slideshowSpeed&&(e=parseInt(JQLBSettings.slideshowSpeed)),t&&JQLBSettings.resizeSpeed&&(i=parseInt(JQLBSettings.resizeSpeed)),t&&JQLBSettings.marginSize&&(a=parseInt(JQLBSettings.marginSize));var n={prevLinkTitle:"previous image",nextLinkTitle:"next image",closeTitle:"close image gallery",image:"Image ",of:" of ",download:"Download",pause:"(pause slideshow)",play:"(play slideshow)"};jQuery('a[rel^="lightbox"]').lightbox({adminBarHeight:jQuery("#wpadminbar").height()||0,showNumbers:t&&"0"==JQLBSettings.showNumbers?!1:!0,showCaption:t&&"0"==JQLBSettings.showCaption?!1:!0,showTitle:t&&"0"==JQLBSettings.showTitle?!1:!0,marginSize:t&&a?a:0,fitToScreen:t&&"1"==JQLBSettings.fitToScreen?!0:!1,resizeSpeed:t&&i>=0?i:400,slidehowSpeed:t&&e>=0?e:4e3,showDownload:t&&"0"==JQLBSettings.showDownload?!1:!0,navbarOnTop:t&&"0"==JQLBSettings.navbarOnTop?!1:!0,strings:t&&"string"==typeof JQLBSettings.prevLinkTitle?JQLBSettings:n})}!function(e){function t(e,i){var t,a,n;for(e=e.split("."),i=i.split("."),a=Math.min(e.length,i.length),t=0;a>t;t++)if(n=parseInt(e[t],10)-parseInt(i[t],10),0!==n)return n;return e.length-i.length}e.fn.lightbox=function(a){function n(){return r(),g(this),!1}function r(){e(window).bind("orientationchange",o),e(window).bind("resize",o),e("#overlay").remove(),e("#lightbox").remove(),T.inprogress=!1,T.auto=-1;var i=T.strings,t='