$(document).ready(
    function() {
        $('div.faq').hide();
        $('div.faq_open').nextAll('div.faq').eq(0).show();
        $('.title_faq').click(function() {
            var opened = $(this).hasClass('faq_open');
            $('div.faq_open').not(this).nextAll('div.faq').eq(0).slideUp('fast');
            $('.title_faq').not(this).removeClass('faq_open');
            $(this).toggleClass('faq_open').nextAll('div.faq').eq(0).slideToggle('fast');
            return false;
        });
    }
);

$(document).ready(
	function() {
		$('.close_popup_js').click(
			function() {
				$('.layer_popup_js').hide('fast') .css("display","none");
				$('.popup_js').hide('fast');
				return false;
			}
		);

		$('.open_popup_js').click(
			function() {
				$('.layer_popup_js') .css({ display: "block", opacity: "0.5" });
				$('.popup_js').show('fast');
				return false;
			}
		);
	}
);


$(document).ready(
    function() {
        $('.title_panel').nextAll('.panel').hide();
        $('.title_panelOpen').nextAll('.panel').show();
        $('.title_panel').click(function() {
            var opened = $(this).hasClass('.title_panelOpen');
            $(this).toggleClass('title_panelOpen').nextAll('.panel').eq(0).slideToggle('slow');
            return false;
        });
    }
);
