// TopMark Products Directory->Category->Subcategory Dynamic Selection .js
var store = new Array();
// Search Arrays
store['empty'] = new Array(
'-- Category --',''
)
store['MSDS'] = new Array(
'-- Category --','',
'Resins','Resins',
'Other Products','Other Products',
'Foams','Foams',
'Pigments','Pigments',
'Silicones','Silicones',
'Release Agents','Release Agents',
'Coatings','Coatings',
'Sculpting Supplies','Sculpting Supplies',
'Special FX','Special FX',
'Body Casting Materials','Body Casting Materials',
'Plasters','Plasters',
'Pigments ','Pigments ',
'Latex Liquid','Latex Liquid'
)
store['TDS'] = new Array(
'-- Category --','',
'Other Products','Other Products',
'Pigments','Pigments',
'Resins','Resins',
'Silicones','Silicones',
'Urethane Foam','Urethane Foam',
'Coatings','Coatings',
'Sculpting Supplies','Sculpting Supplies',
'Release Agents','Release Agents',
'Plasters','Plasters',
'Latex Liquid','Latex Liquid'
)
store['Guides'] = new Array(
'-- Category --','',
'Guide','Guide',
'How To','How To',
'Reference','Reference'
)
var storetwo = new Array();
storetwo['empty'] = new Array(
'-- Subcategory --',''
)
storetwo['Resins'] = new Array(
'-- Subcategory --','',
'Water Clear Urethanes','Water Clear Urethanes',
'Forton','Forton',
'Rigid Urethanes','Rigid Urethanes',
'Flexible Urethanes','Flexible Urethanes',
'Epoxy Doming Resin','Epoxy Doming Resin',
'Polyester Resin','Polyester Resin'
)
storetwo['Other Products'] = new Array(
'-- Subcategory --','',
'ZAP Products','ZAP Products',
'Casting Accessories','Casting Accessories',
'Other Products','Other Products',
'Zap Products','Zap Products',
'Wax Sheets','Wax Sheets'
)
storetwo['Foams'] = new Array(
'-- Subcategory --','',
'Urethane Foam','Urethane Foam'
)
storetwo['Pigments'] = new Array(
'-- Subcategory --','',
'Silicone Pigments','Silicone Pigments',
'Pearlex Pigments','Pearlex Pigments',
'Urethane Pigments','Urethane Pigments',
'Fillers','Fillers',
'Polyester','Polyester',
'Urethane pigments','Urethane pigments',
'PSTF Dyes','PSTF Dyes'
)
storetwo['Silicones'] = new Array(
'-- Subcategory --','',
'Addition Cured','Addition Cured',
'Condensation Cured','Condensation Cured',
'Silicone Accessories','Silicone Accessories'
)
storetwo['Release Agents'] = new Array(
'-- Subcategory --','',
'Release Agents','Release Agents'
)
storetwo['Coatings'] = new Array(
'-- Subcategory --','',
'Surface Effects','Surface Effects',
'Accessories','Accessories'
)
storetwo['Sculpting Supplies'] = new Array(
'-- Subcategory --','',
'Modelling Clays','Modelling Clays',
'ModellingClays','ModellingClays'
)
storetwo['Special FX'] = new Array(
'-- Subcategory --','',
'Makeup','Makeup',
'Foam Latex Accessories','Foam Latex Accessories',
'Latex Pigments','Latex Pigments',
'Latex Pigments ','Latex Pigments ',
'Foam Latex','Foam Latex'
)
storetwo['Body Casting Materials'] = new Array(
'-- Subcategory --','',
'Alginates','Alginates'
)
storetwo['Plasters'] = new Array(
'-- Subcategory --','',
'Plasters','Plasters',
' Plasters',' Plasters'
)
storetwo['Pigments '] = new Array(
'-- Subcategory --','',
'Fillers','Fillers'
)
storetwo['Latex Liquid'] = new Array(
'-- Subcategory --','',
'Latex Liquid','Latex Liquid',
'Flocking','Flocking'
)
storetwo['Other Products'] = new Array(
'-- Subcategory --','',
'Waxes','Waxes',
'Casting Accessories','Casting Accessories',
'Wax Sheets','Wax Sheets',
'Dry Air Blanket','Dry Air Blanket',
'Other Products','Other Products',
'Alloys','Alloys'
)
storetwo['Pigments'] = new Array(
'-- Subcategory --','',
'Urethane Pigments','Urethane Pigments'
)
storetwo['Resins'] = new Array(
'-- Subcategory --','',
'Urethane Paints','Urethane Paints',
'Flexible Urethanes','Flexible Urethanes',
'Rigid Urethanes','Rigid Urethanes',
'WaterClear Urethanes','WaterClear Urethanes',
'Forton','Forton',
'Polyester','Polyester',
'Doming Resin','Doming Resin',
'Waterclear Urethanes','Waterclear Urethanes'
)
storetwo['Silicones'] = new Array(
'-- Subcategory --','',
'Condensation Cured','Condensation Cured',
'Addition Cured','Addition Cured',
'Silicone Accessories','Silicone Accessories'
)
storetwo['Urethane Foam'] = new Array(
'-- Subcategory --','',
'Urethane Foam','Urethane Foam',
'Urethane Foam ','Urethane Foam '
)
storetwo['Coatings'] = new Array(
'-- Subcategory --','',
'Surface Effects','Surface Effects',
'Urethane Paints','Urethane Paints'
)
storetwo['Sculpting Supplies'] = new Array(
'-- Subcategory --','',
'Modelling Clays','Modelling Clays',
'Modelling Board','Modelling Board'
)
storetwo['Release Agents'] = new Array(
'-- Subcategory --','',
'Release Agents','Release Agents'
)
storetwo['Plasters'] = new Array(
'-- Subcategory --','',
'Plasters','Plasters'
)
storetwo['Latex Liquid'] = new Array(
'-- Subcategory --','',
'Latex Liquid','Latex Liquid'
)
storetwo['Guide'] = new Array(
'-- Subcategory --','',
'Patinas','Patinas',
'Products','Products',
'Resins','Resins',
'Special FX','Special FX',
'Liquid Latex','Liquid Latex',
'Plasters','Plasters',
'Polyester','Polyester',
'Surface Coatings','Surface Coatings',
'Foams','Foams',
'Silicones','Silicones',
'Body Casting','Body Casting'
)
storetwo['How To'] = new Array(
'-- Subcategory --','',
'Silicone','Silicone',
'Apoxy Sculpt','Apoxy Sculpt',
'Doming Resin','Doming Resin',
'Urethane','Urethane',
'Silicone ','Silicone '
)
storetwo['Reference'] = new Array(
'-- Subcategory --','',
'Products','Products'
)
function populatefirst()
{
var directory = 'Guides';
var category = '';
if(!directory) { category = 'empty' };
if(!category) { category = 'empty' };
var list = store[directory];
var list2 = storetwo[category];
var box = document.forms['reference_form'].category;
var box2 = document.forms['reference_form'].subcategory;
box.options.length = 0;
box2.options.length = 0;
if(list != undefined) {
for(i=0;i