text: jQuery(document).ready(function(t){t(".cq-borderhover").each(function(r){var o=t(this),e=parseInt(t(this).data("elementheight"),10),i=""==t(this).data("lightboxmargin")?20:parseInt(t(this).data("lightboxmargin")),h=(""==t(this).data("minwidth")?0:parseInt(t(this).data("minwidth")),t(this).data("bordercolor"));""!=h&&(t(".cq-borderhover-leftborder",o).css("border-left-color",h),t(".cq-borderhover-rightborder",o).css("border-right-color",h),t(".cq-borderhover-bottomborder",o).css("border-bottom-color",h),t(".cq-borderhover-topborder",o).css("border-top-color",h)),e>0&&t(".cq-borderhover-item",o).css("height",e),t("a.cq-borderhover-prettyphoto",o).prettyPhoto({}),t(".cq-borderhover-lightbox",o).each(function(r,o){var e=""==t(this).data("videowidth")?640:parseInt(t(this).data("videowidth")),h=t(this).data("linktype"),d=t(this).data("lightboxmode");"yes"==t(this).data("isgallery");if("lightbox"==h)"prettyphoto"==d||t(this).boxer({margin:i,fixed:!0});else if("lightbox_custom"==h){var a=t(this).attr("href");a.indexOf("youtube")>-1||a.indexOf("vimeo")>-1?t(this).lightbox({viewportFill:1,fixed:!0,margin:10,videoWidth:e,retina:!0,minWidth:320}):t(this).boxer({margin:i,fixed:!0})}})})});