
(function($) {

    "use strict";

    if ($('a[href="#product-choose-1"]').length) {

        $('a[href="#product-choose-1"]').magnificPopup({
            type: 'inline',
            mainClass: 'mfp-fade',
            midClick: true // mouse middle button click
        });
    }
    if ($('a[href="#product-choose-2"]').length) {

        $('a[href="#product-choose-2"]').magnificPopup({
            type: 'inline',
            mainClass: 'mfp-fade',
            midClick: true // mouse middle button click
        });
    }
    if ($('a[href="#product-choose-3"]').length) {

        $('a[href="#product-choose-3"]').magnificPopup({
            type: 'inline',
            mainClass: 'mfp-fade',
            midClick: true // mouse middle button click
        });
    }
    if ($('a[href="#product-choose-4"]').length) {

        $('a[href="#product-choose-4"]').magnificPopup({
            type: 'inline',
            mainClass: 'mfp-fade',
            midClick: true // mouse middle button click
        });
    }
    if ($('a[href="#product-choose-5"]').length) {

        $('a[href="#product-choose-5"]').magnificPopup({
            type: 'inline',
            mainClass: 'mfp-fade',
            midClick: true // mouse middle button click
        });
    }
    if ($('a[href="#product-choose-6"]').length) {

        $('a[href="#product-choose-6"]').magnificPopup({
            type: 'inline',
            mainClass: 'mfp-fade',
            midClick: true // mouse middle button click
        });
    }
    if ($('a[href="#product-choose-7"]').length) {

        $('a[href="#product-choose-7"]').magnificPopup({
            type: 'inline',
            mainClass: 'mfp-fade',
            midClick: true // mouse middle button click
        });
    }
    if ($('a[href="#product-choose-8"]').length) {

        $('a[href="#product-choose-8"]').magnificPopup({
            type: 'inline',
            mainClass: 'mfp-fade',
            midClick: true // mouse middle button click
        });

    }
    if ($('a[href="#product-choose-9"]').length) {

        $('a[href="#product-choose-9"]').magnificPopup({
            type: 'inline',
            mainClass: 'mfp-fade',
            midClick: true // mouse middle button click
        });

    }
    if ($('a[href="#product-choose-10"]').length) {

        $('a[href="#product-choose-10"]').magnificPopup({
            type: 'inline',
            mainClass: 'mfp-fade',
            midClick: true // mouse middle button click
        });

    }
    if ($('a[href="#product-choose-11"]').length) {

        $('a[href="#product-choose-11"]').magnificPopup({
            type: 'inline',
            mainClass: 'mfp-fade',
            midClick: true // mouse middle button click
        });

    }
    if ($('a[href="#product-choose-12"]').length) {

        $('a[href="#product-choose-12"]').magnificPopup({
            type: 'inline',
            mainClass: 'mfp-fade',
            midClick: true // mouse middle button click
        });

    }
})(jQuery);
