$(document).ready(function(){
	
	$('#wslide').wslide({
		pos: 1,
		width: 720,
		height: 280,
		horiz: true,
		autolink: false,
		duration: 500,
		effect: 'easeOutExpo'
	});

	$('#wst-1').click(function(){
		$('#tabs>div').hide();
		$('#tab-1').show();
	});
	$('#wst-2').click(function(){
		$('#tabs>div').hide();
		$('#tab-2').show();
	});
	$('#wst-3').click(function(){
		$('#tabs>div').hide();
		$('#tab-3').show();
	});
	$('#wst-4').click(function(){
		$('#tabs>div').hide();
		$('#tab-4').show();
	});
	$('#wst-5').click(function(){
		$('#tabs>div').hide();
		$('#tab-5').show();
	});
	$('#wst-6').click(function(){
		$('#tabs>div').hide();
		$('#tab-6').show();
	});
	$('#wst-7').click(function(){
		$('#tabs>div').hide();
		$('#tab-7').show();
	});

	$('#wst-1').click();

	$('a[href^="http://"]').attr({
		target: "_blank", 
		title: "Link in neuem Fenster öffnen."
	});
});
