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