// JavaScript Document


$(document).ready( function() {

/***	select	***/			
	$("select.jq_sel").selectBox()

/***	Левое меню	***/
	$('.left_menu .top_level > li:not(.exp_default)').removeClass('exp').find('ul.inner').hide();
    $('.left_menu .top_level > li:not(.exp_default)').find('ul.selected').show().parent('li').addClass("exp");
	
	$('.left_menu .top_level > li .top').click(function(){
		if($(this).parent().hasClass('exp')) $(this).closest('li').removeClass('exp').find('ul.inner').slideUp(100);
		else $(this).closest('li').addClass('exp').find('ul.inner').slideDown(100);		
	});
	
/***	главный слайдер	***/
    setTimeout(function(){
    
            $('#slider2').nivoSlider({ pauseOnHover:false });
        }, 1000);
	
/***	cлайдер товаров 	***/
jQuery('.slider3').jcarousel({
        start: 1,
		scroll: 1,
		animation: "slow"
		/*auto: 5, */
		/*wrap: "both",*/
		
    });	

jQuery('#slider4').jcarousel({
        start: 1,
		scroll: 1,
		/*auto: 5, */
		/*wrap: "both",*/
		animation: "slow"
    });	

jQuery('#slider5').jcarousel({
        start: 1,
		scroll: 1,
		/*auto: 5, */
		/*wrap: "both",*/
		animation: "slow"
    });
jQuery('#slider6').jcarousel({
        start: 1,
		scroll: 1,
		/*auto: 5, */
		/*wrap: "both",*/
		animation: "slow"
    });
/***	вкладки отзывы и описание	***/

$("ul.tabs1").tabs("div.panes1 > div.tab");
	

/************************/				
});



 


 



