$(document).ready(function() {

$("#nav > .nav_parent >  a").click(function() {
		
		$this = $(this).parent();
		
		if($this.hasClass("active_top")) {
			$(".nav_child").slideUp();
			$(".nav_parent").removeClass("active_top");
			return false;	
		}
		$(".nav_child").slideUp();
		$(".nav_parent").removeClass("active_top");
		$this.find(".nav_child").slideDown();
		$this.addClass("active_top");
		
		return false;
		
});
		
$active = $("#active").parent().parent();
$active.show();
$active.parent().addClass("shown");

});
