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>");}});