jQuery.noConflict();




jQuery(document).ready(function($) {
    	var uls	=	new Array();
	var child = jQuery('.slideshow').children(); // children
	// zwischen Speichern
	for(var i = 0; i < child.length; i++)
	{
		//alert(child[i].html());
		uls[i]	=	$(child[i]);	
	}
	// Zufällig anordnen
	uls.sort(function () {
		return (0.5 - Math.random());
	});
	// Löschen der Elemente
	jQuery('.slideshow ul').remove();
	for(var i = 0; i < uls.length; i++)
	{
		//alert(uls[i]);
		jQuery('.slideshow').append(uls[i]);
		
		//uls[i]	=	child[i];	
	}
    	/*$('.slideshow').cycle({
		fx:     'scrollLeft', 
    		timeout: 5000, 
    		before:  onBefore, 
    		after:   onAfter 
	});*/
	jQuery('.slideshow').cycle({
		fx: 'fade' 
	});
	/*$('.slideshow').cycle({
		fx: 'scrollLeft' 
	})
	$('.slideshow').cycle({
		fx: 'scrollDown', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
		Random:'1'
	});*/
	jQuery("a[rel^='prettyPhoto']").prettyPhoto();

});



