ringcolors(document.getElementById('Trim Rings').value);
function ringcolors(ringtype)
{
	var inlayoption = new Array();
	var coverminuscost = new Array();
	coverminuscost = ringtype.split(" (");
	inlayoption = switchringcolors(coverminuscost[0]);
	document.getElementById('Options').length = 0;
	for(var count01=0; count01 < inlayoption.length; count01++)
	{
		document.getElementById('Options').options[count01] = new Option(inlayoption[count01]);
	}
}
function switchringcolors(ringtype)
{
	var ro = new Array();
	var rl = 0;
	switch(ringtype)
	{
		case "None":
				ro[rl++] = "No Trim Rings";
		break;
		case "Powder Coated":
				ro[rl++] = "Satin Black";
				ro[rl++] = "Red 33";
				ro[rl++] = "Blue 23";
				ro[rl++] = "Green 28";
				ro[rl++] = "White 32";
				ro[rl++] = "Yellow 35";
				ro[rl++] = "Burgundy 40";
				ro[rl++] = "Silver Vein 64";
				ro[rl++] = "Gold Vein 65";
				ro[rl++] = "Copper Vein 66";
				ro[rl++] = "Gray Hammertone";
				ro[rl++] = "Black Wrinkle 89";
				ro[rl++] = "Metallic Blue";
				ro[rl++] = "Metallic Green";
				ro[rl++] = "Metallic Red";
				ro[rl++] = "Metallic Dark Gray";
				ro[rl++] = "Metallic Dark Gray";
		break;
		case "Satin Chrome":
				ro[rl++] = "Satin Chrome Plated";
		break;
		case "Polished Chrome":
				ro[rl++] = "Polished Chrome Plated";				
	}
	return ro;
}
