$(function() {
	
	var imgLeft = $('#steinbeis-logo-left'),
		imgRight = $('#steinbeis-logo-right'),
		link = 'http://konvergenz-management.com/index.php?id=25',
		px = 200,
		options = {
			duration: 2000,
			easing: 'easeOutExpo'
		};
		
	$('img').css({
		opacity: 0
	})
		
	$('#steinbeis').bind('click', function(e) {
		window.location.href = link;
		e.preventDefault();
	}).css({
		opacity: 0
	})
	
	setTimeout(function() {
		$('#steinbeis').animate({
			opacity: 1
		}, {
			duration: 1000,
			easing: 'easeOutExpo',
			complete: function() {
		
				imgLeft.animate({
					left: px
				}, options)
				imgRight.animate({
					right: px
				}, options);
	
				$('img').animate({
					opacity: 1
				}, {
					duration: 2000
				})
			
				setTimeout(function() {
					window.location.href = link;
				}, 4000);
			}
		})
	}, 500);
})
