$(document).ready(function(){
/* ### Beginn ### */


	$('.mainnav a img').hover(function(){
		this.src = this.src.replace("_norm","_hover");
	},
	function(){
		this.src = this.src.replace("_hover","_norm");
	});

/* 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()');


/* ### Ende ### */
});
