$(function(){$("ul.switchingTab li a").click(function(){$("div.tabUnitList").each(function(i){varthisID="#list_"+i;if($(thisID).css("display")=="block"){$(thisID).css("display","none");}});$("ul.switchingTab li a").removeClass("current");$(this).addClass("current");vartabTarget=$(this).attr("href");vartabTargetID=tabTarget;$(tabTargetID).css("display","block");returnfalse;});});