function resize() {
		//alert(jQuery("#content-left").height())
		if(700 > jQuery("#content-left").height()){
			
			if(1320>jQuery(window).height())
				jQuery("#wrapper").height(1320);
			else
				jQuery("#wrapper").height(jQuery(window).height());
		}else{
			jQuery("#wrapper").height(jQuery("#content-left").height()+520);
		}
		jQuery("#content-left").height(jQuery("#wrapper").height()-469);
		jQuery("#content-right").height(jQuery("#wrapper").height()-369);
		jQuery("#wrapper").css("background","none");
}
jQuery(document).ready(	
	function() {
		jQuery(document).pngFix();
		jQuery(".container").wtRotator({
			width:980,
			height:275,
			button_width:24,
			button_height:24,
			button_margin:5,
			auto_start:true,
			delay:5000,
			play_once:false,
			transition:"diag.fade",
			transition_speed:800,
			auto_center:true,
			easing:"",
			cpanel_position:"inside",
			cpanel_align:"BR",
			timer_align:"top",
			display_thumbs:false,
			display_dbuttons:false,
			display_playbutton:false,
			display_numbers:false,
			display_timer:false,
			mouseover_pause:false,
			cpanel_mouseover:false,
			text_mouseover:false,
			text_effect:"fade",
			text_sync:true,
			tooltip_type:"image",
			lock_tooltip:true,
			shuffle:false,
			block_size:75,
			vert_size:55,
			horz_size:50,
			block_delay:25,
			vstripe_delay:75,
			hstripe_delay:180			
		});
		resize();

	}
);	


function showInfo(id){
	jQuery("#"+id).fadeIn("fast");
}

function hideInfo(){
	jQuery("body").find("span.bildinfo").fadeOut("fast");
}
