$(function(){
	/*$('.NavigationRoot li ul').hide();
	$('.NavigationRoot li.NavigationPageCurrent ul').show();
 	$('.NavigationRoot li.NavigationPageCurrent').parents('ul:first').show();
	$('.NavigationRoot li.NavigationPageAncestor').addClass('NavigationPageCurrent');
	$('.NavigationRoot li a').mouseover(
		 function() {
		 var checkElement = $(this).next();
		 if((checkElement.is('ul')) && (checkElement.is(':visible'))) {
		 return false;
		 }
		 if((checkElement.is('ul')) && (!checkElement.is(':visible'))) {
		 $('.NavigationRoot ul:visible').fadeOut(100);
		 checkElement.fadeIn(250);
		 return false;
		 }
 	});*/
	
	$('.NavigationRoot').superfish();	
	$('.NavigationRoot ul:first').hide();
	
	$('.GoCartCatalogSorting ul li').hide();
	$('.GoCartCatalogSorting ul li.Current').show();
	$('.GoCartCatalogSorting ul').hover(function(){
		$(this).stop().children().animate({'opacity':'show'}, 300);
		$(this).children('li.Current').addClass('open');
	},function(){
		$(this).stop().children().not('li.Current').animate({'opacity':'hide'},150);
		$(this).children('li.Current').removeClass('open');
		});


	
	/* add code for sorting dropdown */
	// - css
	// - bgr image
	// - jquery
});