var data=["社会文化","公益事业","风土民俗","宗教信仰","历史人文","文化名人","文物古迹"];
$(function(){$(".topbox").empty();for(var i=0; i<data.length; i++){var index=data[i];$(".topbox").append("<li>"+index.substr(0,4)+"</li>");}});