$(document).ready(function(){
						   $(".latest_img").fadeTo("slow", 0.3); // This sets the opacity of the thumbs to fade down to 30% when the page loads
						   $(".latest_img").hover(function(){
						   $(this).fadeTo("slow", 1.0); // This should set the opacity to 100% on hover
						   },function(){
						   $(this).fadeTo("slow", 0.3); // This should set the opacity back to 30% on mouseout
						   });
						   });

$(document).ready(function(){
						   $("#teaserInner").fadeTo("fast", 0.45); // This sets the opacity of the thumbs to fade down to 30% when the page loads
						   $("#teaserInner").hover(function(){
						   $(this).fadeTo("slow", 1.0); // This should set the opacity to 100% on hover
						   },function(){
						   $(this).fadeTo("slow", 0.45); // This should set the opacity back to 30% on mouseout
							   	});
							 
							 $("#teaserInnerM").fadeTo("fast", 0.45); // This sets the opacity of the thumbs to fade down to 30% when the page loads
						   $("#teaserInnerM").hover(function(){
						   $(this).fadeTo("slow", 1.0); // This should set the opacity to 100% on hover
						   },function(){
						   $(this).fadeTo("slow", 0.45); // This should set the opacity back to 30% on mouseout
							   	});
							 
							 $("#teaserInnerR").fadeTo("fast", 0.45); // This sets the opacity of the thumbs to fade down to 30% when the page loads
						   $("#teaserInnerR").hover(function(){
						   $(this).fadeTo("slow", 1.0); // This should set the opacity to 100% on hover
						   },function(){
						   $(this).fadeTo("slow", 0.45); // This should set the opacity back to 30% on mouseout
							   	});
							 
							 $(".items img").fadeTo("fast", 0.45); // This sets the opacity of the thumbs to fade down to 30% when the page loads
						   $(".items img").hover(function(){
						   $(this).fadeTo("slow", 1.0); // This should set the opacity to 100% on hover
						   },function(){
						   $(this).fadeTo("slow", 0.45); // This should set the opacity back to 30% on mouseout
							   	});					
							 
						 
							 
						   });


$(document).ready(function(){
						   $("#text p").fadeTo("slow", 0.3); // This sets the opacity of the thumbs to fade down to 30% when the page loads
						   $("#text p").hover(function(){
						   $(this).fadeTo("slow", 1.0); // This should set the opacity to 100% on hover
						   },function(){
						   $(this).fadeTo("slow", 0.3); // This should set the opacity back to 30% on mouseout
							   	});
						   });

$(document).ready(function(){
						   
							 //$("#_teaserLeft").fadeTo("slow", 0.3); // This sets the opacity of the thumbs to fade down to 30% when the page loads
						   //$("#_teaserLeft").hover(function(){
						   //$(this).fadeTo("slow", 1.0); // This should set the opacity to 100% on hover
						   //},function(){
						   //$(this).fadeTo("slow", 0.3); // This should set the opacity back to 30% on mouseout
							 // 	});
							 
							 
						   });
/*				
// initialize tooltip
// works not together with slideshow yet
$(document).ready(function(){									
								$(".items img[title]").tooltip({
								// tweak the position
										offset: [10, 2],
								// use the "slide" effect
										effect: 'slide'
								// add dynamic plugin with optional configuration for bottom edge
									}).dynamic({ bottom: { direction: 'down', bounce: true } });
								});	
							
*/

$(document).ready(function(){
   // $(".hlist ul li a[title]").tooltip({effect:'slide', direction:'down', slideInSpeed:'100', slideOutSpeed:'600'});
	 $(".items img a[title]").tooltip({effect:'slide', direction:'down', bounce:'true'});
});
