$(function(){$(".locationtree input").click(function(){if($(this).attr("checked")){$(this).next("ul").show()}else{$(this).next("ul").hide()}});$(".locationtree input:not(:checked)").next("ul").hide()});
