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