var $j = jQuery.noConflict();

$j(document).ready(function(){
	$j("#murupolku a, li.headline, a.grouped_elements img").fadeTo(0, 1); // This sets the opacity of the thumbs to fade down to 60% when the page loads

	$j("#murupolku a, li.headline, a.grouped_elements img").hover(function(){
		$j(this).fadeTo(200, 0.5); // This should set the opacity to 100% on hover
	},function(){
   		$j(this).fadeTo(100, 1); // This should set the opacity back to 60% on mouseout
	});
	$j("#idhair2_ img").fadeTo(0, 0.5); // This sets the opacity of the thumbs to fade down to 60% when the page loads

	$j("#idhair2_ img").hover(function(){
		$j(this).fadeTo(200, 1); // This should set the opacity to 100% on hover
	},function(){
   		$j(this).fadeTo(100, 0.5); // This should set the opacity back to 60% on mouseout
	});
	
	$j("ul li.tuotelistalinkki a").fadeTo(0, 1); 

$j("ul li.tuotelistalinkki a").hover(function(){
		$j(this).fadeTo(200, 0.5); // This should set the opacity to 100% on hover
	},function(){
   		$j(this).fadeTo(100, 1); // This should set the opacity back to 60% on mouseout
	});
	
 	$j("#idhair5_ img, .first_news_headline a, .h6div a, .clicktoenlarge img").fadeTo(0, 1); // This sets the opacity of the thumbs to fade down to 60% when the page loads

	$j("#idhair5_ img, .first_news_headline a, .h6div a, .clicktoenlarge img").hover(function(){
		$j(this).fadeTo(200, 0.5); // This should set the opacity to 100% on hover
	},function(){
   		$j(this).fadeTo(100, 1); // This should set the opacity back to 60% on mouseout
	});
});
