$(function(){
        //$('#copyrighttxt').css({'margin-top':(($('#copyright').position().top)+4)+'px'});
        //$('#copyrighttxt').css({'margin-left':(($('#copyright').position().left)-303)+'px'});
        $('#wrapper').css({'height':(($('#wrapper').height())+162)+'px'});
        $(".open").click(function () {
              $(".extras").slideToggle();
         });
         //$("#kontakt").click(function () {
         //     $(".first").fadeOut('slow',function() {$(".middlecoldoldis").fadeIn();});
              
         //});
         
        //$(window).resize(function(){
        //     $('#copyrighttxt').css({'margin-top':(($('#copyright').position().top)+4)+'px'});
        //$('#copyrighttxt').css({'margin-left':(($('#copyright').position().left)-303)+'px'});
        //});
        //$('.slideshow').cycle({
	//	fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
	//});

        $('.slideshow1 ul').cycle({
    fx:     'fade',
    speed:  'normal',
    timeout: 0,
    next:   '.nextimg1',
    prev:   '.previmg1'
});
        $('.slideshow2 ul').cycle({
    fx:     'fade',
    speed:  'normal',
    timeout: 0,
    next:   '.nextimg2',
    prev:   '.previmg2'
});
        $('.slideshow3 ul').cycle({
    fx:     'fade',
    speed:  'normal',
    timeout: 0,
    next:   '.nextimg3',
    prev:   '.previmg3'
});
        $('.slideshow4 ul').cycle({
    fx:     'fade',
    speed:  'normal',
    timeout: 0,
    next:   '.nextimg4',
    prev:   '.previmg4'
});
        $('.slideshow5 ul').cycle({
    fx:     'fade',
    speed:  'normal',
    timeout: 0,
    next:   '.nextimg5',
    prev:   '.previmg5'
});
        $('.slideshow6 ul').cycle({
    fx:     'fade',
    speed:  'normal',
    timeout: 0,
    next:   '.nextimg6',
    prev:   '.previmg6'
});
        $('.slideshow7 ul').cycle({
    fx:     'fade',
    speed:  'normal',
    timeout: 0,
    next:   '.nextimg7',
    prev:   '.previmg7'
});
        $('.first').cycle({
    fx:     'scrollRight',
    speed:  'normal',
    timeout: 0,
    next:   '#kontakt'
});
});


