﻿$(document).ready(function() {

$("#alo .level").hide();
$("#alo2 .level").hide();
//$("#alo .top2").parent.children("level").show();
$(".active").parent("liheader").show();
  
// $("#alo .liheader ").click(function(){ 
// $("#alo .liheader").children("span").removeClass('top2');
// $("#alo .liheader").children("span").addClass('top');
//  $("#alo .level").hide();
//      $(this).children("ul").show();      
//      $(this).children("span").removeClass('top');      
//      $(this).children("span").addClass('top2');
//   
//    });


$("#LeftArea ul li.liheader .top2 ").click(function() {
if ($(this).hasClass("top2")) {


$(this).parent().children("ul").hide();

$(this).removeClass("top2");
$(this).addClass("top");

return false;
}


});



 $(".ui-state-default").hover(
	function(){ 
		$(this).addClass("ui-state-hover"); 
	},
	function(){ 
		$(this).removeClass("ui-state-hover"); 
	}
)

});
