function update_color(f,level,color_val){

  var colors = f.mv_order_color;
  
  var index = 0;

// Determine which array to use  
  switch (color_val) {
    case "canare_L4E6S":
	  var whichArray = color;
	  break;
	default:
	  var whichArray = no_color;
	  break;
  }

// Populate the pulldown
	
colors.options.length = whichArray.length;
	
      for (i=0; i < whichArray.length; i++) {
            colors.options[i].value = whichArray[i][1];
            colors.options[i].text = whichArray[i][0];
			if ( level == "color" && whichArray[i][1] == color_val ){
			  index = i;
			}
	 }

colors.selectedIndex = index;

return true;

}