var params = {
	changedEl: ".customSelect select",
	visRows: 10,
	scrollArrows: true
}
cuSel(params);

$(document).ready(function(){
	$(".rc").append('<span class="rc_s tr"></span><span class="rc_s tl"></span><span class="rc_s br"></span><span class="rc_s bl"></span>');
	$(".rcg").append('<span class="rcg_s tr"></span><span class="rcg_s tl"></span><span class="rcg_s br"></span><span class="rcg_s bl"></span>');
	$(".cusel-scroll-wrap").append('<i class="rcg_sel tr"></i><i class="rcg_sel tl"></i><i class="rcg_sel br"></i><i class="rcg_sel bl"></i><i class="rcg_sel_bottomer"></i>');
	$("#hhh").click(function(){
		$(".discountBlock").slideToggle(1500);
		return false;
	});
	
	$(".discountBtn").click(function(){ 
		$dHeight = 25 + $(".discountBlock").get(0).scrollHeight;
		$(".discountBlock").animate({height: $dHeight}, 1000);
		$(".discountBtn").slideUp();//hide(100)
	}); 
	$(".discountBtnShow").click(function(){ 
		$dHeight = 25 + $(".discountBlock").get(0).scrollHeight;
		$(".discountBlock").animate({height: "360"}, 1000, function() {
			
		});
		$(".discountBtn").slideDown(1000);
	}); 
	
	$(".catInnerItemBody .price").each(function() { 
		$(this).css({'background' : 'url(/images/rouble_1.png) no-repeat 100% 4px', 'width' : '130px'});
		$(this).find("span").html("&nbsp;&nbsp;");
    }); 
	$(".catalogItemBody .price").each(function() { 
		$(this).css({'background' : 'url(/images/rouble_1.png) no-repeat 100% 4px'});
		$(this).find("span").html("&nbsp;&nbsp;");
    }); 
	$(".sidebarItemBody .price").each(function() { 
		$(this).css({'background' : 'url(/images/rouble_2.png) no-repeat 100% 2px'});
		$(this).find("span").html("&nbsp;&nbsp;");
    }); 
	$(".catItem .price").each(function() { 
		$(this).css({'background' : 'url(/images/rouble_3.png) no-repeat 100% 5px'});
		$(this).find("span").html("&nbsp;&nbsp;");
    }); 
});
