$(document).ready(function(){
						   $(".home_m").fadeTo("slow", 0.4); // This sets the opacity of the thumbs to fade down to 30% when the page loads
						   $(".home_m").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(){
						   $("#text p").fadeTo("slow", 0.4); // 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.4); // This should set the opacity back to 30% on mouseout
							   	});
						   });

$(document).ready(function(){
						   $("#div").fadeTo("slow", 0.4); // 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.4); // This should set the opacity back to 30% on mouseout
							   	});
						   });

$(document).ready(function(){
				//To switch directions up/down and left/right just place a "-" in front of the top/left attribute
				//Vertical Sliding
				
				//Full Caption Sliding (Hidden to Visible)
				$('.boxgrid.captionfull').hover(function(){
					$(".cover", this).stop().animate({top:'410px'},{queue:false,duration:160});
				}, function() {
					$(".cover", this).stop().animate({top:'990px'},{queue:false,duration:160});
				});
				//Caption Sliding (Partially Hidden to Visible)
				$('.boxgrid.caption').hover(function(){
					$(".cover", this).stop().animate({top:'410px'},{queue:false,duration:160});
				}, function() {
					$(".cover", this).stop().animate({top:'990px'},{queue:false,duration:160});
				});
				
				//Full Caption Sliding for right (Hidden to Visible)
				$('.boxgrid_r.captionfull_r').hover(function(){
					//display
					$(".cover", this).stop().animate({top:'310px'},{queue:false,duration:160});
				}, function() {
					//hide
					$(".cover", this).stop().animate({top:'510px'},{queue:false,duration:160});
				});
				//Caption Sliding (Partially Hidden to Visible)
				$('.boxgrid_r.caption_r').hover(function(){
					$(".cover", this).stop().animate({top:'310px'},{queue:false,duration:160});
				}, function() {
					$(".cover", this).stop().animate({top:'510px'},{queue:false,duration:160});
				});
				
				//Full Caption Sliding for full image (Hidden to Visible)
				$('.boxfull.captionfull').hover(function(){
					//display
					$(".cover", this).stop().animate({top:'310px'},{queue:false,duration:680},"slow");
				}, function() {
					//hide
					$(".cover", this).stop().animate({top:'510px'},{queue:false,duration:680},"slow");
				});
				//Caption Sliding (Partially Hidden to Visible)
				$('.boxfull.boxcaptionfull').hover(function(){
					$(".cover", this).stop().animate({top:'310px'},{queue:false,duration:680},"slow");
				}, function() {
					$(".cover", this).stop().animate({top:'510px'},{queue:false,duration:680},"slow");
				});
			});	   