var data=["软件下载","BT下载","常用软件下载","国外软件下载","源程序下载","驱动程序","软件汉化","软件注册"];
$(function(){$(".topbox").empty();for(var i=0; i<data.length; i++){var index=data[i];$(".topbox").append("<li>"+index.substr(0,4)+"</li>");}});