  $(function() {
    $('#slideshow_1').crossSlide({
  fade: 6,
  variant: false
  }, [
 {
    src:  'images/slideshows/phpThumb.php?src=klassik_quartett.png&w=907&q=50&aoe=1',
    from: 'top center 0.8x',
    to:   'center bottom 1.5x',
    time: 8
  }, {
    src:  'images/slideshows/phpThumb.php?src=treppe.png&w=907&q=30&aoe=1',
    from: 'top right',
    to:   '100% 70% 1x',
    time: 4
  }, {
    src:  'images/slideshows/phpThumb.php?src=gewoelbekeller.png&w=1207&q=30',
    from: 'center left',
    to:   'center right',
    time: 4
  }, {
    src:  'images/slideshows/phpThumb.php?src=markus_krieg.png&w=1500&q=30&aoe=1',
    from: 'center center',
    to:   'top left',
    time: 3
  }, {
    src:  'images/slideshows/phpThumb.php?src=kreation_terzett.png&w=907&q=30&aoe=1',
    from: 'top left',
    to:   'bottom right',
    time: 8
  }, {
    src:  'images/slideshows/phpThumb.php?src=piccolos_black.png&h=350&q=30',
    from: 'right center',
    to:   'left center',
    time: 4
  }
]);


var 	$slideshow_1 = $('#slideshow_1'),
		$pause_1 	 = $('.pause_1'),		
		$resume_1 	 = $('.resume_1'),
		STOP = 1, RUN = 2, PAUSE = 3;

function state(state) {
		$pause_1.attr('disabled', state != RUN);		
		$resume_1.attr('disabled', state != PAUSE);
	}
	state(RUN);
	
	$pause_1.click(function() { $slideshow_1.crossSlidePause(); state(PAUSE); });	
	$resume_1.click(function() { $slideshow_1.crossSlideResume(); state(RUN); });
});

/*
  $(function() {
    $('#slideshow_2').crossSlide({
  fade: 6,
  variant: false
}, [
  {
    src:  'images/slideshows/phpThumb.php?src=etikett_clicquot.jpg&w=907&q=30&aoe=1',
    from: 'center 1.5x',
    to:   'center .4x',
    time: 2
  }, {
    src:  'images/slideshows/phpThumb.php?src=gck.jpg&w=907&q=30&aoe=1',

    from: 'center left 1x',
    to:   'center right 0.5x',
    time: 2
  }, {
    src:  'images/slideshows/phpThumb.php?src=expo_1867.jpg&w=907&q=30&aoe=1',
    from: 'bottom right',
    to:   'top left 1.5x',
    time: 2
  }, {
    src:  'images/slideshows/phpThumb.php?src=urkunde.jpg&w=907&q=30&aoe=1',
    from: 'top left',
    to:   'bottom right 1.5x',
    time: 2
  }, {
    src:  'images/slideshows/phpThumb.php?src=keller_05.png&w=907',
    from: 'top right',
    to:   'bottom left 1.5x',
    time: 5
  }, {
    src:  'images/slideshows/phpThumb.php?src=g_daimler.jpg&w=907&q=30&aoe=1',
    from: 'bottom right',
    to:   'top center',
    time: 3
  }

]);

var 	$slideshow_2 = $('#slideshow_2'),
		$pause_2 	 = $('.pause_2'),
		$resume_2 	 = $('.resume_2'),
		STOP = 1, RUN = 2, PAUSE = 3;

function state(state) {
		$pause_2.attr('disabled', state != RUN);
		$resume_2.attr('disabled', state != PAUSE);
	}
	state(RUN);

	$pause_2.click(function() {
		$slideshow_2.crossSlidePause();
		state(PAUSE);
	});
	$resume_2.click(function() {
		$slideshow_2.crossSlideResume();
		state(RUN);
	});

});


  $(function() {
    $('#slideshow_3').crossSlide({
  fade: 6,
  shuffle: 0,
  variant: false
  }, [
  {
    src:  'images/slideshows/phpThumb.php?src=piccolos_01.jpg&w=704',
    from: 'center center 0.3x',
    to:   'center center 0.8x',
    time: 2
  }, {
    src:  'images/slideshows/phpThumb.php?src=piccolos_05.jpg&w=704',
    from: 'center center 0.85x',
    to:   'center center 0.75x',
    time: 1
  }, {
    src:  'images/slideshows/phpThumb.php?src=piccolos_06.jpg&w=704',
    from: 'center center 0.85x',
    to:   'center center 0.75x',
    time: 1
  }, {
    src:  'images/slideshows/phpThumb.php?src=piccolos_02.jpg&w=704',
    from: 'center center 0.7x',
    to:   'center center 0.75x',
    time: 1
  }, {

    src:  'images/slideshows/phpThumb.php?src=piccolos_03.jpg&w=704',
    from: 'center center 1x',
    to:   'center center 0.5x',
    time: 1
  }, {

    src:  'images/slideshows/phpThumb.php?src=piccolos_04.jpg&w=704',
    from: 'center center 0.8x',
    to:   'center center 0.5x',
    time: 1
  }

]);

var 	$slideshow_3 = $('#slideshow_3'),
		$pause_3 	 = $('.pause_3'),
		$resume_3 	 = $('.resume_3'),
		STOP = 1, RUN = 2, PAUSE = 3;

function state(state) {
		$pause_3.attr('disabled', state != RUN);
		$resume_3.attr('disabled', state != PAUSE);
	}
	state(RUN);

	$pause_3.click(function() {
		$slideshow_3.crossSlidePause();
		state(PAUSE);
	});
	$resume_3.click(function() {
		$slideshow_3.crossSlideResume();
		state(RUN);
	});

});

  $(function() {
    $('#slideshow_4').crossSlide({
  fade: 6,
  shuffle: 1,
  variant: true,
  easing: 'easeInOutQuad'
  }, [
  {
    src:  'images/slideshows/phpThumb.php?src=praesente.png&w=907&q=30&aoe=1',
    from: '100% 95% 1x',
    to:   '100% 0% 1.05x',
    time: 3
  }, {
    src:  'images/slideshows/phpThumb.php?src=praesente.png&w=907&q=30&aoe=1',
    from: 'bottom right',
    to:   'center left 1.5x',
    time: 10
  }
]);

var 	$slideshow_4 = $('#slideshow_4'),
		$pause_4 	 = $('.pause_4'),
		$resume_4 	 = $('.resume_4'),
		STOP = 1, RUN = 2, PAUSE = 3;

function state(state) {
		$pause_4.attr('disabled', state != RUN);
		$resume_4.attr('disabled', state != PAUSE);
	}
	state(RUN);

	$pause_4.click(function() {
		$slideshow_4.crossSlidePause();
		state(PAUSE);
	});
	$resume_4.click(function() {
		$slideshow_4.crossSlideResume();
		state(RUN);
	});

});
*/
