var ccount_link = new Array(); ccount_link[1]=5123; ccount_link[2]=20; ccount_link[3]=3183; ccount_link[4]=6673; ccount_link[5]=2575; function ccount_display(id) { document.write(ccount_link[id]); }