jQuery(document).ready(function() {

	/*
	*   manual calls
	*/
       $("#coldwaterchallenge").click(function() {
		$.fancybox([
			'img/coldwater/cwc-flyer1.jpg',
                        'img/coldwater/cwc-flyer2.jpg',
		], {
			'padding'			: 0,
			'transitionIn'		: 'none',
			'transitionOut'		: 'none',
			'type'              : 'image',
			'changeFade'        : 0
		});
	});

       $("#standupforkids").click(function() {
		$.fancybox([
			'img/standupforkids/standupforkids01.jpg',
			'img/standupforkids/standupforkids02.jpg',
                        'img/standupforkids/standupforkids03.jpg',
                        'img/standupforkids/standupforkids04.jpg',
                        'img/standupforkids/standupforkids05.jpg',
		], {
			'padding'			: 0,
			'transitionIn'		: 'none',
			'transitionOut'		: 'none',
			'type'              : 'image',
			'changeFade'        : 0
		});
	});

       $("#dorfteichfest11").click(function() {
		$.fancybox([
			'img/dorfteichfest/dorfteichfest15-large.jpg',
			'img/dorfteichfest/dorfteichfest16-large.jpg',
                        'img/dorfteichfest/dorfteichfest17-large.jpg',
                        'img/dorfteichfest/dorfteichfest18-large.jpg',
                        'img/dorfteichfest/dorfteichfest19-large.jpg',
			'img/dorfteichfest/dorfteichfest20-large.jpg',
                        'img/dorfteichfest/dorfteichfest21-large.jpg',
		], {
			'padding'			: 0,
			'transitionIn'		: 'none',
			'transitionOut'		: 'none',
			'type'              : 'image',
			'changeFade'        : 0
		});
	});

       $("#syltlauf11").click(function() {
		$.fancybox([
			'img/syltlauf11/syltlauf11-01.jpg',
                        'img/syltlauf11/syltlauf11-02.jpg',
                        'img/syltlauf11/syltlauf11-03.jpg',
                        'img/syltlauf11/syltlauf11-04.jpg',
                        'img/syltlauf11/syltlauf11-05.jpg',
                        'img/syltlauf11/syltlauf11-06.jpg',
                        'img/syltlauf11/syltlauf11-07.jpg',
                        'img/syltlauf11/syltlauf11-08.jpg',
                        'img/syltlauf11/syltlauf11-09.jpg',
                        'img/syltlauf11/syltlauf11-10.jpg',
                        'img/syltlauf11/syltlauf11-11.jpg',
                        'img/syltlauf11/syltlauf11-12.jpg',
		], {
			'padding'			: 0,
			'transitionIn'		: 'none',
			'transitionOut'		: 'none',
			'type'              : 'image',
			'changeFade'        : 0
		});
	});

       $("#strandkoerbe").click(function() {
		$.fancybox([
			'img/strandkoerbe/strandkoerbe01-large.jpg',
                        'img/strandkoerbe/strandkoerbe02-large.jpg',
		], {
			'padding'			: 0,
			'transitionIn'		: 'none',
			'transitionOut'		: 'none',
			'type'              : 'image',
			'changeFade'        : 0
		});
	});

       $("#dorfteichfest10").click(function() {
		$.fancybox([
			'img/dorfteichfest/dorfteichfest05-large.jpg',
			'img/dorfteichfest/dorfteichfest06-large.jpg',
                        'img/dorfteichfest/dorfteichfest07-large.jpg',
                        'img/dorfteichfest/dorfteichfest08-large.jpg',
                        'img/dorfteichfest/dorfteichfest09-large.jpg',
			'img/dorfteichfest/dorfteichfest10-large.jpg',
                        'img/dorfteichfest/dorfteichfest11-large.jpg',
                        'img/dorfteichfest/dorfteichfest12-large.jpg',
                        'img/dorfteichfest/dorfteichfest13-large.jpg',
                        'img/dorfteichfest/dorfteichfest14-large.jpg',
		], {
			'padding'			: 0,
			'transitionIn'		: 'none',
			'transitionOut'		: 'none',
			'type'              : 'image',
			'changeFade'        : 0
		});
	});

        $("#ostern07").click(function() {
		$.fancybox([
			'img/ostern07/ostern07-0.jpg',
			'img/ostern07/ostern07-1.jpg',
                        'img/ostern07/ostern07-2.jpg',
                        'img/ostern07/ostern07-3.jpg',
                        'img/ostern07/ostern07-4.jpg',
                        'img/ostern07/ostern07-5.jpg',
                        'img/ostern07/ostern07-6.jpg',
                        'img/ostern07/ostern07-7.jpg',

		], {
			'padding'			: 0,
			'transitionIn'		: 'none',
			'transitionOut'		: 'none',
			'type'              : 'image',
			'changeFade'        : 0
		});
	});

        $("#afrikafestival").click(function() {
		$.fancybox([
			'img/afrika/afrika1-large.jpg',
			'img/afrika/afrika2-large.jpg',
                        'img/afrika/afrika3-large.jpg',
                        'img/afrika/afrika4-large.jpg',
                        'img/afrika/afrika5-large.jpg',
                        'img/afrika/afrika6-large.jpg',
                        'img/afrika/afrika7-large.jpg',
		], {
			'padding'			: 0,
			'transitionIn'		: 'none',
			'transitionOut'		: 'none',
			'type'              : 'image',
			'changeFade'        : 0
		});
	});

        $("#syltlauf09").click(function() {
		$.fancybox([
			'img/syltlauf09/syltlauf1-large.jpg',
			'img/syltlauf09/syltlauf0-large.jpg',
                        'img/syltlauf09/syltlauf2-large.jpg',
                        'img/syltlauf09/syltlauf3-large.jpg',
                        'img/syltlauf09/syltlauf4-large.jpg',
                        'img/syltlauf09/syltlauf5-large.jpg',
                        'img/syltlauf09/syltlauf6-large.jpg',
                        'img/syltlauf09/syltlauf7-large.jpg',
                        'img/syltlauf09/syltlauf8-large.jpg',
                        'img/syltlauf09/syltlauf9-large.jpg',
                        'img/syltlauf09/syltlauf10-large.jpg',
                        'img/syltlauf09/syltlauf11-large.jpg',
		], {
			'padding'			: 0,
			'transitionIn'		: 'none',
			'transitionOut'		: 'none',
			'type'              : 'image',
			'changeFade'        : 0
		});
	});

        $("#dorfteichfest").click(function() {
		$.fancybox([
			'img/dorfteichfest/dorfteichfest01-large.jpg',
			'img/dorfteichfest/dorfteichfest02-large.jpg',
                        'img/dorfteichfest/dorfteichfest03-large.jpg',
                        'img/dorfteichfest/dorfteichfest04-large.jpg',
		], {
			'padding'			: 0,
			'transitionIn'		: 'none',
			'transitionOut'		: 'none',
			'type'              : 'image',
			'changeFade'        : 0
		});
	});

        $("#tankstellenfest").click(function() {
		$.fancybox([
			'img/tankstellenfest/tankstellenfest01-large.jpg',
			'img/tankstellenfest/tankstellenfest02-large.jpg',
                        'img/tankstellenfest/tankstellenfest03-large.jpg',
		], {
			'padding'			: 0,
			'transitionIn'		: 'none',
			'transitionOut'		: 'none',
			'type'              : 'image',
			'changeFade'        : 0
		});
	});

        $("#benefizkonzert").click(function() {
		$.fancybox([
			'img/benefizkonzert/benefizkonzert00-large.jpg',
                        'img/benefizkonzert/benefizkonzert01-large.jpg',
                        'img/benefizkonzert/benefizkonzert02-large.jpg',
                        'img/benefizkonzert/benefizkonzert03-large.jpg',
                        'img/benefizkonzert/benefizkonzert04-large.jpg',
                        'img/benefizkonzert/benefizkonzert05-large.jpg',
                        'img/benefizkonzert/benefizkonzert06-large.jpg',
		], {
			'padding'			: 0,
			'transitionIn'		: 'none',
			'transitionOut'		: 'none',
			'type'              : 'image',
			'changeFade'        : 0
		});
	});

        $("#friseuraktion").click(function() {
		$.fancybox([
			'img/friseuraktion/friseuraktion01-large.jpg',
		], {
			'padding'			: 0,
			'transitionIn'		: 'none',
			'transitionOut'		: 'none',
			'type'              : 'image',
			'changeFade'        : 0
		});
	});

        $("#versteigerung").click(function() {
		$.fancybox([
			'img/versteigerung/versteigerung01-large.jpg',
                        'img/versteigerung/versteigerung02-large.jpg',
                        'img/versteigerung/versteigerung03-large.jpg',
		], {
			'padding'			: 0,
			'transitionIn'		: 'none',
			'transitionOut'		: 'none',
			'type'              : 'image',
			'changeFade'        : 0
		});
	});

        $("#ehrenamtmesse").click(function() {
		$.fancybox([
			'img/ehrenamtmesse/ehrenamtmesse00-large.jpg',
                        'img/ehrenamtmesse/ehrenamtmesse01-large.jpg',
                        'img/ehrenamtmesse/ehrenamtmesse02-large.jpg',
                        'img/ehrenamtmesse/ehrenamtmesse03-large.jpg',
                        'img/ehrenamtmesse/ehrenamtmesse04-large.jpg',
		], {
			'padding'			: 0,
			'transitionIn'		: 'none',
			'transitionOut'		: 'none',
			'type'              : 'image',
			'changeFade'        : 0
		});
	});
        $("#sr-coldwaterchallenge4").click(function() {
		$.fancybox([
			'img/artikel/sr-coldwaterchallenge4.jpg',

		], {
			'padding'			: 0,
			'transitionIn'		: 'none',
			'transitionOut'		: 'none',
			'type'              : 'image',
			'changeFade'        : 0
		});
	});
        $("#sr-coldwaterchallenge").click(function() {
		$.fancybox([
			'img/artikel/sr-coldwaterchallenge.jpg',

		], {
			'padding'			: 0,
			'transitionIn'		: 'none',
			'transitionOut'		: 'none',
			'type'              : 'image',
			'changeFade'        : 0
		});
	});
       $("#sr-gruendung").click(function() {
		$.fancybox([
			'img/artikel/sr-gruendung.jpg',

		], {
			'padding'			: 0,
			'transitionIn'		: 'none',
			'transitionOut'		: 'none',
			'type'              : 'image',
			'changeFade'        : 0
		});
	});
        $("#sr-verein").click(function() {
		$.fancybox([
			'img/artikel/sr-verein.jpg',

		], {
			'padding'			: 0,
			'transitionIn'		: 'none',
			'transitionOut'		: 'none',
			'type'              : 'image',
			'changeFade'        : 0
		});
	});
        $("#sr-syltklinik").click(function() {
		$.fancybox([
			'img/artikel/sr-syltklinik.jpg',

		], {
			'padding'			: 0,
			'transitionIn'		: 'none',
			'transitionOut'		: 'none',
			'type'              : 'image',
			'changeFade'        : 0
		});
	});
        /*
        *   thumb galleries
        */
        $("a.grouped_elements1").fancybox({
                'transitionIn'		: 'none',
                'transitionOut'		: 'none',
                'titlePosition' 	: 'over'
        });
        $("a.grouped_elements2").fancybox({
                'transitionIn'		: 'none',
                'transitionOut'		: 'none',
                'titlePosition' 	: 'over'
        });
        /*
        *   text windows
        */
        $("#text-dorfteichfest").fancybox({
		'titlePosition'		: 'inside',
		'transitionIn'		: 'none',
		'transitionOut'		: 'none'
	});
        $("#text-wellenreiten").fancybox({
		'titlePosition'		: 'inside',
		'transitionIn'		: 'none',
		'transitionOut'		: 'none'
	});

        $("#text-pommesrunde").fancybox({
                        'titlePosition'		: 'inside',
                        'transitionIn'		: 'none',
                        'transitionOut'		: 'none'
        });
        $("#text-benefiz").fancybox({
                        'titlePosition'		: 'inside',
                        'transitionIn'		: 'none',
                        'transitionOut'		: 'none'
        });
        /*
        *   film
        */

        $("#flashfilm").fancybox({
	    'padding'           : 0,
        'autoScale'     	: false,
        'transitionIn'		: 'none',
		'transitionOut'		: 'none'
	});		
	
});


