$(document).ready(function(){
/* Slideshow Startseite */
        $('#circle1').cycle({
            fx:    'fade',
            timeout:  1000,
            speed:  2500
    });
        $('#circle2').cycle({
            fx:    'fade',
            timeout:  1000,
            speed:  2500
    });
        $('#circle3').cycle({
            fx:    'fade',
            timeout:  1000,
            speed:  2500
    });
/* Slideshow Seite 8 und 9 */
        $('#b2').cycle({
            fx:    'fade',
            speed:  2500
    });
        $('#b3').cycle({
            fx:    'fade',
            speed:  2500
    });
        $('#b4').cycle({
            fx:    'fade',
            speed:  2500
    });
        $('#b5').cycle({
            fx:    'fade',
            speed:  2500
    });
/* Div als Links */
$("#circle1").click(function(){
    window.location = $(this).attr("name");
        return false;
});
$("#circle2").click(function(){
    window.location = $(this).attr("name");
        return false;
});
$("#circle3").click(function(){
    window.location = $(this).attr("name");
        return false;
});

/* Popup Fenster */
        $('.popup').click(function(){
            open(this.href, 'f', 'height=400, width=400, resizable=yes, scrollbars=no');
                return false;
        });
        $('.angebotpopup').click(function(){
            open(this.href, 'f', 'height=402, width=571, 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()');


});