
/* 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 -
 */

/* - crojewe.js - */
jq(document).ready(function() {
    var purl = document.baseURI;
    
    jq("a:not(.colorbox)").not(".contentActions a").tooltip({ 
        showURL: false,
        extraClass: "tooltip",
        opacity: 0.65
    });
    
    // jq(".colorbox").colorbox({close:'schliessen'});

    // jq('span.magnify img').each(function() {
    //     var href = purl+'/'+jq(this).attr('src');
    //     href = href.replace(/image\_.+$/, "image_large");
    //     jq(this).colorbox({href: href, photo:true, width: 800, title: jq(this).attr('alt'),
    //         close: 'schliessen'});
    // })
})

/* - crojewe_custom.js - */
// http://www.crojewe.ch/portal_javascripts/crojewe_custom.js?original=1
jq(document).ready(function(){jq('div.newsImageContainer a').prepOverlay({subtype:'image',urlmatch:'/image_view_fullscreen$',urlreplace:'_large'})});

