function setType(chosen) {
var typebox = document.myform.type;
 
typebox.options.length = 0;
if (chosen == " ") {
// List of all fabric types
  typebox.options[typebox.options.length] = new Option(' ',' ');
  typebox.options[typebox.options.length] = new Option('Aida','aida');
  typebox.options[typebox.options.length] = new Option('Linen','linen');
  typebox.options[typebox.options.length] = new Option('Jobelan','jobelan');
 
}
if (chosen == "14") {
// ---------------List all 14ct Fabric types
  typebox.options[typebox.options.length] = new Option(' ',' ');
  typebox.options[typebox.options.length] = new Option('Aida','aida14');
}
if (chosen == "16") {
// ---------------List all 16ct Fabric types
  typebox.options[typebox.options.length] = new Option(' ',' ');
  typebox.options[typebox.options.length] = new Option('Aida','aida16');
}
if (chosen == "18") {
// ---------------List all 18ct Fabric types
  typebox.options[typebox.options.length] = new Option(' ',' ');
  typebox.options[typebox.options.length] = new Option('Aida','aida18');
  typebox.options[typebox.options.length] = new Option('Linen','linen18');
}
if (chosen == "25") {
// --------------List all 28ct Fabric types
  typebox.options[typebox.options.length] = new Option(' ',' ');
  typebox.options[typebox.options.length] = new Option('Lugana','lugana25');
  typebox.options[typebox.options.length] = new Option('Jobelan','jobelan25');
}
if (chosen == "28") {
// --------------List all 28ct Fabric types
  typebox.options[typebox.options.length] = new Option(' ',' ');
  typebox.options[typebox.options.length] = new Option('Linen','linen28');
  typebox.options[typebox.options.length] = new Option('Cashel','cashel28');
  typebox.options[typebox.options.length] = new Option('Jobelan','jobelan28');
  typebox.options[typebox.options.length] = new Option('Lugana','lugana28');
}
if (chosen == "30") {
// --------------List all 28ct Fabric types
  typebox.options[typebox.options.length] = new Option(' ',' ');
  typebox.options[typebox.options.length] = new Option('Linen','linen30');
}
if (chosen == "32") {
//---------------List all 32ct Fabric types
  typebox.options[typebox.options.length] = new Option(' ',' ');
  typebox.options[typebox.options.length] = new Option('Linen','linen32');
  typebox.options[typebox.options.length] = new Option('Belfast','belfast32');
  typebox.options[typebox.options.length] = new Option('Jobelan','jobelan32');
}
if (chosen == "36") {

// --------------List all 28ct Fabric types
  typebox.options[typebox.options.length] = new Option(' ',' ');
  typebox.options[typebox.options.length] = new Option('Linen','linen30');
}
}

function setColor(chosen) {
var colorbox = document.myform.color;
 
colorbox.options.length = 0;
if (chosen == " ") {
  colorbox.options[colorbox.options.length] = new Option(' ',' '); 
}
if (chosen == "aida14") {

// --------------------List all 14ct Aida colors
  colorbox.options[colorbox.options.length] = new Option(' ',' ');
  colorbox.options[colorbox.options.length] = new Option('Almond','A14Almon');
  colorbox.options[colorbox.options.length] = new Option('Antique White','A14AntWh');
  colorbox.options[colorbox.options.length] = new Option('Black','A14Black');
  colorbox.options[colorbox.options.length] = new Option('Colonial Blue','A14Colon');
  colorbox.options[colorbox.options.length] = new Option('Denim','A14Denim');
  colorbox.options[colorbox.options.length] = new Option('Desert Sand','A14Deser');
  colorbox.options[colorbox.options.length] = new Option('Eggshell','A14Eggsh');
  colorbox.options[colorbox.options.length] = new Option('Ivory','A14Ivory');
  colorbox.options[colorbox.options.length] = new Option('Lambswool','A14Lambs');
  colorbox.options[colorbox.options.length] = new Option('Light Blue','A14LigBl');
  colorbox.options[colorbox.options.length] = new Option('Monet Blue','A14Monet');
  colorbox.options[colorbox.options.length] = new Option('Natural Ecru','A14NatEc');
  colorbox.options[colorbox.options.length] = new Option('Navy','A14Navy');
  colorbox.options[colorbox.options.length] = new Option('Pewter','A14Pewte');
  colorbox.options[colorbox.options.length] = new Option('Platinum','A14Plati');
  colorbox.options[colorbox.options.length] = new Option('Rustico','A14Rusti');
  colorbox.options[colorbox.options.length] = new Option('Sage/Summer Khaki','A14Sage');
  colorbox.options[colorbox.options.length] = new Option('Wedgewood','A14Wedge');
  colorbox.options[colorbox.options.length] = new Option('White','A14White');
  colorbox.options[colorbox.options.length] = new Option('Williamsburg Blue','A14Willi');
}
if (chosen == "aida16") {

// --------------------List all 16ct Aida colors
  colorbox.options[colorbox.options.length] = new Option(' ',' ');
  colorbox.options[colorbox.options.length] = new Option('Antique White','A16AntWh');
  colorbox.options[colorbox.options.length] = new Option('Bay Leaf','A16BayLe');
  colorbox.options[colorbox.options.length] = new Option('Black','A16Black');
  colorbox.options[colorbox.options.length] = new Option('China White/Platinum','A16China');
  colorbox.options[colorbox.options.length] = new Option('Dirty','A16Dirty');
  colorbox.options[colorbox.options.length] = new Option('French Lace','A16FreLa');
  colorbox.options[colorbox.options.length] = new Option('Ivory','A16Ivory');
  colorbox.options[colorbox.options.length] = new Option('Lambswool','A16Lambs');
  colorbox.options[colorbox.options.length] = new Option('Light Blue','A16LigBl');
  colorbox.options[colorbox.options.length] = new Option('Misty Blue','A16Misty');
  colorbox.options[colorbox.options.length] = new Option('Navy','A16Navy');
  colorbox.options[colorbox.options.length] = new Option('Smoky Pearl','A16Smoky');
  colorbox.options[colorbox.options.length] = new Option('Stoney Point','A16Stony');
  colorbox.options[colorbox.options.length] = new Option('Tartan Green','A16Tarta');
  colorbox.options[colorbox.options.length] = new Option('Twilight Blue/Blue Ridge','A16Twili');
  colorbox.options[colorbox.options.length] = new Option('Waterlily','A16Water');
  colorbox.options[colorbox.options.length] = new Option('White','A16White');
}
if (chosen == "aida18") {

// --------------------List all 18ct Aida colors
  colorbox.options[colorbox.options.length] = new Option(' ',' ');
  colorbox.options[colorbox.options.length] = new Option('Antique White','A18AntWh');
  colorbox.options[colorbox.options.length] = new Option('Beige','A18Beige');
  colorbox.options[colorbox.options.length] = new Option('Black','A18Black');
  colorbox.options[colorbox.options.length] = new Option('Ivory','A18Ivory');
  colorbox.options[colorbox.options.length] = new Option('Light Blue','A18LigBl');
  colorbox.options[colorbox.options.length] = new Option('Navy','A18Navy');
  colorbox.options[colorbox.options.length] = new Option('White','A18White');
}

if (chosen == "linen18") {

// --------------------List all 18ct Linen colors
  colorbox.options[colorbox.options.length] = new Option(' ',' ');
  colorbox.options[colorbox.options.length] = new Option('Dirty','L18Dirty');
  colorbox.options[colorbox.options.length] = new Option('Ivory','L18Ivory');
  colorbox.options[colorbox.options.length] = new Option('Natural Brown Undyed','L18NatBr');
}

if (chosen == "linen28") {
// --------------------List all 28ct Linen Colors
  colorbox.options[colorbox.options.length] = new Option(' ',' ');
  colorbox.options[colorbox.options.length] = new Option('Amber','L28Amber');
  colorbox.options[colorbox.options.length] = new Option('Antique Blue','L28AntBl');
  colorbox.options[colorbox.options.length] = new Option('Apple Blossom','L28Apple');
  colorbox.options[colorbox.options.length] = new Option('Country French Hazelnut','L28CouFH');
  colorbox.options[colorbox.options.length] = new Option('Desert Sand','L28Deser');
  colorbox.options[colorbox.options.length] = new Option('Dusty/Olive Green','L28Dusty');
  colorbox.options[colorbox.options.length] = new Option('Ivory','L28Ivory');
  colorbox.options[colorbox.options.length] = new Option('Lambswool','L28Lambs');
  colorbox.options[colorbox.options.length] = new Option('Nordic Blue','L28Nordi');
  colorbox.options[colorbox.options.length] = new Option('Prairie Grain','L28Prair');
  colorbox.options[colorbox.options.length] = new Option('Spun Silver','L28SpunS');
  colorbox.options[colorbox.options.length] = new Option('Twilight Blue','L28Twili');
}
if (chosen == "linen30") {
// --------------------List all 30ct Linen Colors
  colorbox.options[colorbox.options.length] = new Option(' ',' ');
  colorbox.options[colorbox.options.length] = new Option('White','L30White');
  colorbox.options[colorbox.options.length] = new Option('Natural Brown','L30NatBr');
}
if (chosen == "linen32") {
// --------------------List all 32ct Linen Colors
  colorbox.options[colorbox.options.length] = new Option(' ',' ');
  colorbox.options[colorbox.options.length] = new Option('Amber','L32Amber');
  colorbox.options[colorbox.options.length] = new Option('Antique Blue','L32AntBl');
  colorbox.options[colorbox.options.length] = new Option('Antique White','L32AntWh');
  colorbox.options[colorbox.options.length] = new Option('Beach Walk','L32Beach');
  colorbox.options[colorbox.options.length] = new Option('Blue Silk','L32BlueS');
  colorbox.options[colorbox.options.length] = new Option('Bonnie Blue','L32Bonni');
  colorbox.options[colorbox.options.length] = new Option('Chestnut','L32Chest');
  colorbox.options[colorbox.options.length] = new Option('Coffee Bean','L32Coffe');
  colorbox.options[colorbox.options.length] = new Option('Copper Penny','L32Coppe');
  colorbox.options[colorbox.options.length] = new Option('Country French Chantilly','L32CouCh');
  colorbox.options[colorbox.options.length] = new Option('Country French Latte','L32CouFL');
  colorbox.options[colorbox.options.length] = new Option('Desert Sand','L32Deser');
  colorbox.options[colorbox.options.length] = new Option('Dove Gray','L32DoveG');
  colorbox.options[colorbox.options.length] = new Option('English Rose','L32Engli');
  colorbox.options[colorbox.options.length] = new Option('French Lace','L32FreLa');
  colorbox.options[colorbox.options.length] = new Option('Ivory','L32Ivory');
  colorbox.options[colorbox.options.length] = new Option('Lambswool','L32Lambs');
  colorbox.options[colorbox.options.length] = new Option('Laurel','L32Laure');
  colorbox.options[colorbox.options.length] = new Option('Natural Brown Undyed','L32NatBr');
  colorbox.options[colorbox.options.length] = new Option('Natural Light','L32NatLi');
  colorbox.options[colorbox.options.length] = new Option('Ocean Kiss','L32Ocean');
  colorbox.options[colorbox.options.length] = new Option('Pink Sand','L32PinkS');
  colorbox.options[colorbox.options.length] = new Option('Prairie Grain','L32Prair');
  colorbox.options[colorbox.options.length] = new Option('Sandstone/Tea Dyed','L32Sands');
  colorbox.options[colorbox.options.length] = new Option('Sea Lily','L32SeaLi');
  colorbox.options[colorbox.options.length] = new Option('Sea Spray','L32SeaSp');
  colorbox.options[colorbox.options.length] = new Option('Silver Blue','L32Silve');
  colorbox.options[colorbox.options.length] = new Option('Star Sapphire','L32StarS');
  colorbox.options[colorbox.options.length] = new Option('Stoney Point','L32Stony');
  colorbox.options[colorbox.options.length] = new Option('Tumbleweed','L32Tumbl');
  colorbox.options[colorbox.options.length] = new Option('Twilight Blue','L32Twili');
  colorbox.options[colorbox.options.length] = new Option('Waterlily','L32Water');
}
if (chosen == "linen36") {
// --------------------List all 36ct Linen Colors
  colorbox.options[colorbox.options.length] = new Option(' ',' ');
  colorbox.options[colorbox.options.length] = new Option('Antique White','L36AntWh');
}
if (chosen == "jobelan25") {
// --------------------List all 25ct Jobelan Colors
  colorbox.options[colorbox.options.length] = new Option(' ',' ');
  colorbox.options[colorbox.options.length] = new Option('Lambswool','J25Lambs');
}
if (chosen == "jobelan28") {

// --------------------List all 28ct Jobelan Colors
  colorbox.options[colorbox.options.length] = new Option(' ',' ');
  colorbox.options[colorbox.options.length] = new Option('Antique White','J28AntWh');
  colorbox.options[colorbox.options.length] = new Option('Ash Rose','J28AshRo');
  colorbox.options[colorbox.options.length] = new Option('Bay Leaf','J28BayLe');
  colorbox.options[colorbox.options.length] = new Option('Beige','J28Beige');
  colorbox.options[colorbox.options.length] = new Option('Black','J28Black');
  colorbox.options[colorbox.options.length] = new Option('China Pearl','J28China');
  colorbox.options[colorbox.options.length] = new Option('Denim Blue','J28Denim');
  colorbox.options[colorbox.options.length] = new Option('Dove Gray','J28DoveG');
  colorbox.options[colorbox.options.length] = new Option('Dusty Green','J28Dusty');
  colorbox.options[colorbox.options.length] = new Option('Forget-me-not/Ice Blue','J28Forge');
  colorbox.options[colorbox.options.length] = new Option('Ivory','J28Ivory');
  colorbox.options[colorbox.options.length] = new Option('Light Blue','J28LigBl');
  colorbox.options[colorbox.options.length] = new Option('Light Gray','J28LigGr');
  colorbox.options[colorbox.options.length] = new Option('Navy','J28Navy');
  colorbox.options[colorbox.options.length] = new Option('Pewter','J28Pewte');
  colorbox.options[colorbox.options.length] = new Option('Red','J28Red');
  colorbox.options[colorbox.options.length] = new Option('Twilight Blue','J28Twili');
  colorbox.options[colorbox.options.length] = new Option('White','J28White');
  colorbox.options[colorbox.options.length] = new Option('Wood Violet','J28WoodV');
}
if (chosen == "jobelan32") {
  colorbox.options[colorbox.options.length] = new Option(' ',' ');
  colorbox.options[colorbox.options.length] = new Option('Antique White','J32AntWh');
  colorbox.options[colorbox.options.length] = new Option('Queen Anne Lace','J32Queen');
  colorbox.options[colorbox.options.length] = new Option('Star Sapphire','J32StarS');
  colorbox.options[colorbox.options.length] = new Option('Summer Sky','J32Summe');
  colorbox.options[colorbox.options.length] = new Option('Waterlily','J32Water');
}
if (chosen == "lugana25") {
  colorbox.options[colorbox.options.length] = new Option(' ',' ');
  colorbox.options[colorbox.options.length] = new Option('Antique White','X25AntWh');
  colorbox.options[colorbox.options.length] = new Option('Black','X25Black');
  colorbox.options[colorbox.options.length] = new Option('Bone','X25Bone');
  colorbox.options[colorbox.options.length] = new Option('Cream','X25Cream');
  colorbox.options[colorbox.options.length] = new Option('Ivory','X25Ivory');
  colorbox.options[colorbox.options.length] = new Option('Mushroom','X25Mushr');
  colorbox.options[colorbox.options.length] = new Option('White','X25White');
}
if (chosen == "lugana28") {
  colorbox.options[colorbox.options.length] = new Option(' ',' ');
  colorbox.options[colorbox.options.length] = new Option('Bone','X28Bone');
  colorbox.options[colorbox.options.length] = new Option('Cream','X28Cream');
  colorbox.options[colorbox.options.length] = new Option('White','X28White');
}
if (chosen == "belfast32") {
  colorbox.options[colorbox.options.length] = new Option(' ',' ');
  colorbox.options[colorbox.options.length] = new Option('Amsterdam Blue','B32Amste');
  colorbox.options[colorbox.options.length] = new Option('Antique Ivory','B32AntIv');
  colorbox.options[colorbox.options.length] = new Option('Black','B32Black');
  colorbox.options[colorbox.options.length] = new Option('Blue Spruce','B32BlueS');
  colorbox.options[colorbox.options.length] = new Option('Clay','B32Clay');
  colorbox.options[colorbox.options.length] = new Option('Cobblestone','B32Cobbl');
  colorbox.options[colorbox.options.length] = new Option('Confederate Gray','B32Confe');
  colorbox.options[colorbox.options.length] = new Option('Cream','B32Cream');
  colorbox.options[colorbox.options.length] = new Option('Dirty','B32Dirty');
  colorbox.options[colorbox.options.length] = new Option('Dark Chocolate','B32DkCho');
  colorbox.options[colorbox.options.length] = new Option('Dutch Blue','B32Dutch');
  colorbox.options[colorbox.options.length] = new Option('Flax','B32Flax');
  colorbox.options[colorbox.options.length] = new Option('Light Mocha','B32LigMo');
  colorbox.options[colorbox.options.length] = new Option('Light Sand','B32LigSa');
  colorbox.options[colorbox.options.length] = new Option('Little Boy Blue','B32LitBo');
  colorbox.options[colorbox.options.length] = new Option('Miracle Mint','B32Mirac');
  colorbox.options[colorbox.options.length] = new Option('Misty Blue','B32Misty');
  colorbox.options[colorbox.options.length] = new Option('Olive Green','B32Olive');
  colorbox.options[colorbox.options.length] = new Option('Platinum/China White','B32Plati');
  colorbox.options[colorbox.options.length] = new Option('Raw','B32Raw');
  colorbox.options[colorbox.options.length] = new Option('Smoky Pearl','B32Smoky');
  colorbox.options[colorbox.options.length] = new Option('Summer Khaki','B32Summe');
  colorbox.options[colorbox.options.length] = new Option('Tobacco','B32Tobac');
  colorbox.options[colorbox.options.length] = new Option('White','B32White');
  colorbox.options[colorbox.options.length] = new Option('Willow Green','B32Willo');
}
if (chosen == "cashel28") {
  colorbox.options[colorbox.options.length] = new Option(' ',' ');
  colorbox.options[colorbox.options.length] = new Option('Antique Ivory','C28AntIv');
  colorbox.options[colorbox.options.length] = new Option('Antique White','C28AntWh');
  colorbox.options[colorbox.options.length] = new Option('Blue Dynasty','C28BlueD');
  colorbox.options[colorbox.options.length] = new Option('Confederate Gray','C28Confe');
  colorbox.options[colorbox.options.length] = new Option('Cream','C28Cream');
  colorbox.options[colorbox.options.length] = new Option('Dirty','C28Dirty');
  colorbox.options[colorbox.options.length] = new Option('Ice Blue','C28IceBl');
  colorbox.options[colorbox.options.length] = new Option('Light Mocha','C28LigMo');
  colorbox.options[colorbox.options.length] = new Option('Misty Blue','C28Misty');
  colorbox.options[colorbox.options.length] = new Option('Platinum/China White','C28Plati');
  colorbox.options[colorbox.options.length] = new Option('Raw','C28Raw');
  colorbox.options[colorbox.options.length] = new Option('Smoky Pearl','C28Smoky');
  colorbox.options[colorbox.options.length] = new Option('Summer Khaki','C28Summe');
  colorbox.options[colorbox.options.length] = new Option('White','C28White');
  colorbox.options[colorbox.options.length] = new Option('Willow Green','C28Willo');
}

}
