$(document).ready(function(){
						   $(".TnImage").fadeTo("slow", 0.4); // This sets the opacity of the thumbs to fade down to 30% when the page loads
						   $(".TnImage").hover(function(){
						   $(this).fadeTo("slow", 1.0); // This should set the opacity to 100% on hover
						   },function(){
						   $(this).fadeTo("slow", 0.4); // This should set the opacity back to 30% on mouseout
						   });
						   });
	
$(document).ready(function(){
							$("._img").click(function() {
							  //alert('Handler for .click() called.');
							  $("#paintings").attr("src", "images/painting_1_2.jpg");
							  $("#paintings").fadeTo("slow", 1);
							});
							});

$(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(){
						   $("#div").fadeTo("slow", 0.3); // This sets the opacity of the thumbs to fade down to 30% when the page loads
						   $("#div").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
							   	});
						   });

//load first image
$(window).load(function () {
    						$("#DisplayDiv").fadeIn(600);
  							});


