jQuery.noConflict();

jQuery(document).ready(function() {


	jQuery('.fancy_gallery').fancybox({
    	'zoomSpeedIn': 300,
        'zoomSpeedOut': 300
    });

    jQuery('.blog_gallery').fancybox({
    	'zoomSpeedIn': 300,
        'zoomSpeedOut': 300
    });

    jQuery('.image_handler').click(function(){
        var id = $(this).id;
        jQuery('.image_item').fadeOut('fast');
        jQuery('#' + id + '_content').fadeIn('fast');
        return false;
    });

	/*
	$('.anythingSlider').anythingSlider({
        easing: "easeInOutExpo",        // Anything other than "linear" or "swing" requires the easing plugin
        autoPlay: true,                 // This turns off the entire FUNCTIONALY, not just if it starts running or not.
        delay: 6000,                    // How long between slide transitions in AutoPlay mode
        startStopped: false,            // If autoPlay is on, this can force it to start stopped
        animationTime: 2000,             // How long the slide transition takes
        hashTags: true,                 // Should links change the hashtag in the URL?
        buildNavigation: false,          // If true, builds and list of anchor links to link to each slide
		pauseOnHover: true,             // If true, and autoPlay is enabled, the show will pause on hover
		startText: "Go",             // Start text
        stopText: "Stop" //,               // Stop text
        //navigationFormatter: formatText       // Details at the top of the file on this use (advanced use)
    });



	/*
	$('#pickup_address').click(function() {
		if ($(this).attr('checked') == true) {
			$('#container_pickupaddress').slideDown('slow');
		}
		else {
			$('#container_pickupaddress').slideUp('slow');
		}
	});

	$('#type_order').click(function() {
		if ($(this).attr('checked') == true) {
			$('#pickup_content').slideDown('slow');
		}
		else {
			$('#pickup_content').slideUp('slow');
		}
	});

	$('.anythingSlider').anythingSlider({
        easing: "easeInOutExpo",        // Anything other than "linear" or "swing" requires the easing plugin
        autoPlay: true,                 // This turns off the entire FUNCTIONALY, not just if it starts running or not.
        delay: 6000,                    // How long between slide transitions in AutoPlay mode
        startStopped: false,            // If autoPlay is on, this can force it to start stopped
        animationTime: 2000,             // How long the slide transition takes
        hashTags: true,                 // Should links change the hashtag in the URL?
        buildNavigation: false,          // If true, builds and list of anchor links to link to each slide
		pauseOnHover: true,             // If true, and autoPlay is enabled, the show will pause on hover
		startText: "Go",             // Start text
        stopText: "Stop" //,               // Stop text
        //navigationFormatter: formatText       // Details at the top of the file on this use (advanced use)
    });

	$('.input_date1').datepicker({ //deutsch
        dateFormat: 'dd.mm.yy',
        changeMonth: true,
        changeYear: true,
        showButtonPanel: true,
        firstDay: 1,
        minDate: 0,
        maxDate: +60,
        dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'],
        monthNamesShort: ['Jan','Feb','März','April','Mai','Juni','Juli','Aug','Sep','Okt','Nov','Dez'],
        currentText: 'Heute',
        closeText: 'Schließen',
        nextText: 'Vor',
        prevText: 'Zurück'
    });
    /*
    $('.input_date4').datepicker({
        dateFormat: 'dd.mm.yy',
        changeMonth: true,
        changeYear: true,
        showButtonPanel: true,
        firstDay: 1,
        minDate: 1,
        maxDate: +60,
        dayNamesMin: ['Di','Lu','Ma','Me','Je','Ve','Sa'],
        monthNamesShort: ['Jan','Fév','Mar','Avr','Mai','Juin','Juil','Août','Sep','Oct','Nov','Déc'],
        currentText: 'Aujourd\'hui',
        closeText: 'Fermer',
        nextText: 'Avant',
        prevText: 'Retour'
    });


    $('.input_date').numeric({allow:"."});
    $('.input_integer').numeric({});

    $(".popup").fancybox({
    	'zoomSpeedIn': 300,
        'zoomSpeedOut': 300,
        'frameWidth': 750,
        'frameHeight':500
    });
    */


});
