jQuery('#close').toggle(

	function () {
		/*jQuery("#wetter").animate({
		top:'-=160px'
		}, 750 );*/
		
		jQuery("#wetterContainer").animate({
		height:'200px',
		top:'438px'
		}, 750);
		
		jQuery('#close').css("background-image", "url(fileadmin/img/close.png)");
	},
	
	function () {		
		/*jQuery("#wetter").animate({
		top:'+=160px'
		}, 750);*/
		
		jQuery("#wetterContainer").animate({
		height:'40px',
		top:'598px'
		}, 750);
		
		jQuery('#close').css("background-image", "url(fileadmin/img/open.png)");
	}

)

jQuery('.trigger1').toggle(

	function () {
		jQuery("#fbquery").animate({
		left:'+=535'
		}, 1000 );
		
		jQuery("#fbquery").css("z-index", "100");
		
	},
	
	function () {
		jQuery("#fbquery").animate({
		left:'-=535'	
		}, 1000 );
		
		jQuery("#fbquery").css("z-index", "90");
		
	}

)

jQuery('#trigger2').toggle(

	function () {
		jQuery("#twitter").animate({
		left:'+=535'	
		}, 1000 );
		
		jQuery("#twitter").css("z-index", "100");
		
	},
	
	function () {
		jQuery("#twitter").animate({
		left:'-=535'	
		}, 1000 );
		
		jQuery("#twitter").css("z-index", "95");
		
	}

)


jQuery('.trigger3').toggle(

	function () {
		jQuery("#ytquery").animate({
		left:'+=535'	
		}, 1000 );
		
		jQuery("#ytquery").css("z-index", "100");
		
	},
	
	function () {
		jQuery("#ytquery").animate({
		left:'-=535'	
		}, 1000 );
		
		jQuery("#ytquery").css("z-index", "96");
		
	}
)

jQuery(document).ready(function() {
	
	jQuery("#twitter").getTwitter({
		userName: "sportschmid",
		numTweets: 3,
		loaderText: "Loading tweets...",
		slideIn: true,
		showHeading: false,
		headingText: "Latest Tweets",
		showProfileLink: true
	});
	
});
