var ccount_link = new Array(); ccount_link[1]=0; ccount_link[2]=217; ccount_link[3]=157; ccount_link[4]=70; ccount_link[6]=151; function ccount_display(id) { document.write(ccount_link[id]); }