$(document).ready(function () {

    /*
     * force strict mode
     */

    'use strict';

    if ($('.js_imagePopup').length) {
        $('.js_imagePopup').mtcOverlay();
    }

    if ($('.js_videoPopup').length) {
        $('.js_videoPopup').mtcOverlay({
            video: true
        });
    }

    if ($('.js_gallery').length) {
        $('.js_gallery').mtcOverlay({
            gallery: true
        });
    }

    if ($('.js_galleryWithLink').length) {
        $('.js_galleryWithLink').mtcOverlay({
            gallery: true
        });
    }

    if ($('.js_mixedGallery').length) {
        $('.js_mixedGallery').mtcOverlay({
            video: true,
            gallery: true
        });
    }

    if ($('.js_overlay').length) {
        $('.js_overlay').mtcOverlay();
    }

}); // document ready
