
/* Merged Plone Javascript file
 * This file is dynamically assembled from separate parts.
 * Some of these parts have 3rd party licenses or copyright information attached
 * Such information is valid for that section,
 * not for the entire composite file
 * originating files are separated by - filename.js -
 */

/* - ++resource++simplelayout.ui.base-resources/sl-base-general.js - */
// http://www.citykirche.de/portal_javascripts/++resource++simplelayout.ui.base-resources/sl-base-general.js?original=1
jq(function(){jq('.sl-img-wrapper a').lightBox();simplelayout.arangeImages=function(){var $images=jq('.BlockOverallWrapper.image.leftFloatable .sl-img-wrapper');$images.removeClass('SLNoPaddingRight').removeClass('SLPaddingRight');for(var i=0;i<$images.length;i++){var o=$images[i];if(i>0){var $prev=$current}else{var $current=jq(o);continue}
$current=jq(o);var current_offsety=$current.offset().top;var prev_offsety=$prev.offset().top;if(prev_offsety<current_offsety){$prev.addClass('SLNoPaddingRight')}else{$prev.addClass('SLPaddingRight')}}};simplelayout.arangeImages();jq(".simplelayout-content:first").bind('refreshed',simplelayout.arangeImages)});

/* - ++resource++comlounge.simplelayout.js/clsimplelayout.js - */
// http://www.citykirche.de/portal_javascripts/++resource++comlounge.simplelayout.js/clsimplelayout.js?original=1
$(document).ready(function(){if(readCookie('edit_mode')==1){$('.hideinview').show()};$('#contentview-edit a').click(function(){$('.hideinview').show()})});

