var color_arr = new Array(); color_arr["lips_pomade_param"]='<li>Раздел</li>'; n = "lips_pomade_param"; alert(color_arr[n]);