$(document).ready(function(){
/* Lightbox */
	$('.lightbox a').lightBox();
	$('.lightboxinhalt a').lightBox();
/* Slideshow */		
	$("a[rel^='prettyPhoto']").prettyPhoto({
		animationSpeed: 'normal',
		padding: 40, 
		opacity: 0.8, 
		showTitle: true,
		allowresize: true,
		counter_separator_label: '/',
		theme: 'light_rounded',
		callback: function(){}
	});
/* Slideshow */		
	$('#showCase2').cycle({ 
	    fx:    'fade',
		randomizeEffects: true,
	    speed:  2500 
    });
 
/* Menu */
	$('ul.sf-menu').superfish({
		dropShadows: false						  
	});
	
/* Popup Fenster */	
	$('.popup').click(function(){
	    open(this.href, 'f', 'height=400, width=400, resizable=yes, scrollbars=no');
		return false;
	});
/* Mousover Galerie */
   $("#mylink a").hover(function(){
       var largePath = $(this).attr("href");
       $("#bild").attr({ src: largePath });
       return false;
   });
   $("#mylink a").click(function(){
       var largePath = $(this).attr("href");
       $("#bild").attr({ src: largePath });
       return false;
   });	
/* PDF Dateien mit Image versehen */   
   $('a[href$=pdf]').addClass('pdf');
/* Zebra */   
   $('#zebra tr:nth-child(even)').addClass('gerade');
/* Blur */   
   $('a').attr('onfocus','if(this.blur)this.blur()');


});
