 $.noConflict();
 

 
jQuery(document).ready(function()
{


jQuery('#makeMeScrollable').insertBefore('#container');

jQuery("li:first-child").addClass('first');
jQuery("li:last-child").addClass('last');

jQuery("#main").delay(500).css('display', 'none').animate({opacity: 'toggle'
	}, 2000, function() {
  	});


jQuery('#makeMeScrollable').insertBefore('#container');
jQuery("#makeMeScrollable").css('display', 'none').animate({opacity: 'toggle'
	}, 1000, function() {
  	});

jQuery("div#makeMeScrollable").smoothDivScroll({ autoScroll: "always", autoScrollDirection: "endlessloopright", autoScrollStep: 2, autoScrollInterval: 35 });




jQuery("a[rel=fancy], .layout_latest a").fancybox({
				'transitionIn'	: 'elastic',
				'transitionOut'	: 'elastic',
				'overlayOpacity'  : 0.3,
				'titleShow' : 'false',
				'titlePosition' 	: 'over'
				
			});
jQuery(".kunden a[rel=fancy]").fancybox({
				'transitionIn'	: 'elastic',
				'transitionOut'	: 'elastic',
				'overlayOpacity'  : 0.3,
				'titleShow' : 'true',
				'titlePosition' 	: 'inside'
				
			});



jQuery('#hochzeitslider .slideshow').cycle({
		fx: 'fade',
		delay:  1000 // choose your transition type, ex: fade, scrollUp, shuffle, etc...
	});
	
jQuery('#portraitslider .slideshow').cycle({
		fx: 'fade',
		delay: 500 // choose your transition type, ex: fade, scrollUp, shuffle, etc...
	});	
	


//SLIDER
/*
  $('#slider').cycle({
       	fx:        'cover',
       	delay:    -2000,
		before: function(curr, next, opts) {
			opts.animOut.opacity = 0;
		}
    });
/*
$('#slider').cycle({ 
    fx:      'scrollDown', 
    speedIn:  2000, 
    speedOut: 500, 
    easeIn:  'bounceout', 
    easeOut: 'backin', 
   delay:   -2000 
});

$('#slider').cycle({
		fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
	})
*/

	
				
					
});


