// JavaScript Document                    
function classselected(elem){                   
for (var i = document.form.class_2.options.length; i >= 0; i--){                   
document.form.class_2.options[i] = null;                   
}                   
if (elem.options[elem.selectedIndex].value=='Tiles and Slabs')               
{                   
document.form.class_2.options[document.form.class_2.options.length] = new Option('Chinese Granite','Chinese Granite');                   
document.form.class_2.options[document.form.class_2.options.length] = new Option('Foreign Granite','Foreign Granite');         
document.form.class_2.options[document.form.class_2.options.length] = new Option('Chinese Marble','Chinese Marble');    
}   
if (elem.options[elem.selectedIndex].value=='Countertop and Vanity Tops'){        
document.form.class_2.options[document.form.class_2.options.length] = new Option('Countertop','Countertop');        
document.form.class_2.options[document.form.class_2.options.length] = new Option('Vanity Top','Vanity Top'); 
document.form.class_2.options[document.form.class_2.options.length] = new Option('Wash Basin','Wash Basin');     
}    
if (elem.options[elem.selectedIndex].value=='Tombstone and Monuments'){        
document.form.class_2.options[document.form.class_2.options.length] = new Option('European Style','European Style');        
document.form.class_2.options[document.form.class_2.options.length] = new Option('American Style','American Style');    
}        
if (elem.options[elem.selectedIndex].value=='Building Material'){        
document.form.class_2.options[document.form.class_2.options.length] = new Option('Cube Stone','Cube Stone');        
document.form.class_2.options[document.form.class_2.options.length] = new Option('Kerbstone','Kerbstone');        
document.form.class_2.options[document.form.class_2.options.length] = new Option('Paving Stone','Paving Stone');        
document.form.class_2.options[document.form.class_2.options.length] = new Option('Palisades','Palisades');     
document.form.class_2.options[document.form.class_2.options.length] = new Option('Stairs','Stairs');     
document.form.class_2.options[document.form.class_2.options.length] = new Option('Banister','Banister');  
document.form.class_2.options[document.form.class_2.options.length] = new Option('Cut to Size','Cut to Size');  
document.form.class_2.options[document.form.class_2.options.length] = new Option('Other Products','Other Products');  
}   
if (elem.options[elem.selectedIndex].value=='Stone Carvings'){        
document.form.class_2.options[document.form.class_2.options.length] = new Option('Fountain','Fountain');        
document.form.class_2.options[document.form.class_2.options.length] = new Option('Flower Pot','Flower Pot'); 
document.form.class_2.options[document.form.class_2.options.length] = new Option('Lantern','Lantern'); 
document.form.class_2.options[document.form.class_2.options.length] = new Option('Ball','Ball'); 
document.form.class_2.options[document.form.class_2.options.length] = new Option('Fireplace','Fireplace'); 
document.form.class_2.options[document.form.class_2.options.length] = new Option('Human Carving','Human Carving'); 
document.form.class_2.options[document.form.class_2.options.length] = new Option('Animal Carving','Animal Carving'); 
document.form.class_2.options[document.form.class_2.options.length] = new Option('Lucky Ball','Lucky Ball'); 
document.form.class_2.options[document.form.class_2.options.length] = new Option('Table and Bench','Table and Bench');  
document.form.class_2.options[document.form.class_2.options.length] = new Option('Mail Box','Mail Box');
document.form.class_2.options[document.form.class_2.options.length] = new Option('Other Carvings','Other Carvings');        
}        
if (elem.options[elem.selectedIndex].value=='Chinese Slate'){        
document.form.class_2.options[document.form.class_2.options.length] = new Option('Slate Tiles','Slate Tiles');        
document.form.class_2.options[document.form.class_2.options.length] = new Option('Roofing Slate','Roofing Slate');      
document.form.class_2.options[document.form.class_2.options.length] = new Option('Culture Slate','Culture Slate');    
document.form.class_2.options[document.form.class_2.options.length] = new Option('Mushroom Slate','Mushroom Slate');  
document.form.class_2.options[document.form.class_2.options.length] = new Option('Other Slates','Other Slates');    
} 
if (elem.options[elem.selectedIndex].value=='Other Products'){        
document.form.class_2.options[document.form.class_2.options.length] = new Option('Marble Mosaic','Marble Mosaic');        
document.form.class_2.options[document.form.class_2.options.length] = new Option('Sandstone','Sandstone');      
document.form.class_2.options[document.form.class_2.options.length] = new Option('Cobblestone','Cobblestone');    
}     
}                
