$(document).ready(function(){
	
	$(".toggle_container").hide();
 
	$("h2.trigger").toggle(function(){
		$(this).addClass("active"); 
		}, function () {
		$(this).removeClass("active");
	});
	
	$("h2.trigger").click(function(){
		$(this).next(".toggle_container").slideToggle("slow,");
	});

	$("#radio_drop").hide();
	
	  $(".radio_box").mouseover(function() {
	$("#radio_drop").show();
      	});	
   
   $('.radio_box').mouseout(function() {
   $("#radio_drop").hide();   

	});		
	
	
 $("ul#lista li").children("div").click(
function()
 {
$(this).next(".inside").slideToggle("normal");
$("ul#lista li div").not(this).next(".inside:visible").slideUp("normal");
});
	

	
 $(".toggle_container_c").show();
	$("h2.trigger_c_reg_x").addClass("active_c_reg_x"); 

		
	$("h2.trigger_c_reg_x").toggle(function(){
		$(this).removeClass("active_c_reg_x"); 
		}, function () {
		$(this).addClass("active_c_reg_x");
	});		


 
	$("h2.trigger_c_reg").toggle(function(){
		$(this).addClass("active_c_reg"); 
		}, function () {
		$(this).removeClass("active_c_reg");
	});

	$("h2.trigger_c_reg").click(function(){
		$(this).next(".toggle_container_c").slideToggle("slow,");
	});
	
		$("h2.trigger_c_reg_x").click(function(){
		$(this).next(".toggle_container_c").slideToggle("slow,");
	});

	$("#succes_box").hide();
	
		$("#submit").click(function(){
		$("#succes_box").show(); 
		});	
	
	
	
	
	
	$("#cat_full").hide();
	$("#cat_small").show();
	
 
	$("h2.trigger_cat").toggle(function(){
		$(this).addClass("trigger_cat_activ"); 
		}, function () {
		$(this).removeClass("trigger_cat_activ");
	});
	
	$("h2.trigger_cat").click(function(){
		$("#cat_full").toggle();
	    $("#cat_small").toggle();
	});	
	

	
	
	
   $('.toggle_adv').hide();
		
  $('.adv_home_header_conteiner').mouseover(function() {
   $('.toggle_adv').show();
      	});	
   
   $('.adv_home_header_conteiner').mouseout(function() {
   $('.toggle_adv').hide();   

	});	



	
	$('.buss_adv').hide(); 
	
		$('.buss_list_header').toggle(function(){
		$(this).addClass('buss_list_header_activ'); 
		}, function () {
		$(this).removeClass('buss_list_header_activ');
	});
	
	$('.buss_list_header').click(function(){
		$(this).next('.buss_adv').slideToggle('fast');
	});




});



