Lib.Accordion = {

	closeUL : function() {
		if ($(this).children('ul') != undefined)
			$(this).children('ul').attr("style","display: none;").slideUp("slow");
			
		return false;
	},
	
	
	openUL : function() {
		id = $(this).attr("id");
		$('#ul'+id).toggle("fast");//.attr("style","overflow: hidden; display: block;");
		return false;
	},
	
		
	init : function() {
		
		/*
		 * acordion iptal edildi.
		var length = $("#navigation a.head").each(function() {
			 
			$(this).click(Lib.Accordion.openUL);
			//$(this).parent().mouseleave(Lib.Accordion.closeUL);	
		}).length;
		*/
		
	}
};
