$(document).ready(function(){
						   $(".scroll_item").fadeTo("fast", 0.7); // This sets the opacity of the thumbs to fade down to 30% when the page loads
						   $(".scroll_item").hover(function(){
						   $(this).fadeTo("fast", 1.0); // This should set the opacity to 100% on hover
						   },function(){
						   $(this).fadeTo("fast", 0.7); // This should set the opacity back to 30% on mouseout
						   });
});


$(document).ready(function(){
						   $("#images").fadeTo("slow", 0.3); // This sets the opacity of the thumbs to fade down to 30% when the page loads
						   $("#images").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
							   	});
});


$(document).ready(function(){
	$(".th_galerija_random").fadeTo("slow", 0.7); // This sets the opacity of the thumbs to fade down to 30% when the page loads
	
	$(".th_galerija_random").hover(function(){
						   $(this).fadeTo(70, 1.0); // This should set the opacity to 100% on hover
						   },function(){
						   $(this).fadeTo(70, 0.7); // This should set the opacity back to 30% on mouseout
	});
});

$(document).ready(function(){
	$(".th_galerija_zadnje").fadeTo("slow", 0.7); // This sets the opacity of the thumbs to fade down to 30% when the page loads
	
	$(".th_galerija_zadnje").hover(function(){
						   $(this).fadeTo(70, 1.0); // This should set the opacity to 100% on hover
						   },function(){
						   $(this).fadeTo(70, 0.7); // This should set the opacity back to 30% on mouseout
	});
});