
 var arrDanger = 
    new Array("", "T-Steel", "Durapress", "Duraflex", "Duraplaz .64 GA", "Duratuff", "Magnetic", "Plastron", "Polycoated", "Safetylite", "Press-on", "Reflective Press-on", "G-I-D Press-on", "G-I-D Aluminum");
 var arrCaution = 
    new Array("", "T-Steel", "Durapress", "Duraflex", "Duratuff", "Magnetic", "Plastron", "Safetylite", "G-I-D Aluminum", "G-I-D Plastic", "G-I-D Press-on");
 var arrNotice = 
    new Array("", "T-Steel", "Durapress", "Duraflex", "Duratuff", "Magnetic", "Plastron", "Safetylite", "G-I-D Aluminum", "G-I-D Press-on", "Press-on");
 var arrWarning = 
    new Array("", "T-Steel", "Durapress", "Duraflex", "Duratuff", "Magnetic", "Plastron", "Safetylite", "G-I-D Aluminum", "G-I-D Press-on");
 var arrParking = 
    new Array("", "T-Steel", "Durapress", "Duraflex", "Duratuff", "Magnetic", "Plastron", "Safetylite", "G-I-D Aluminum");
 var arrExit = 
    new Array("", "Architectural", "Braille", "T-Steel", "Durapress", "Duraflex", "Duratuff", "Magnetic", "Plastron", "Safetylite", "Reflective Press-on", "G-I-D Press-on", "G-I-D Aluminum", "Glow-in Dark Flange", "3-Way Glow-in-the-Dark");
 var arrAllsigns = 
    new Array("", "Architectural", "Braille", "T-Steel", "Durapress", "Duraflex", "Duraplaz .64 GA", "Duratuff", "Magnetic", "Plastron", "Polycoated", "Safetylite", "Press-on", "Reflective Press-on", "G-I-D Press-on", "G-I-D Plastic", "G-I-D Aluminum", "Glow-in Dark Flange", "3-Way Glow-in-the-Dark");



 function setMaterial() {
  var selectType = document.theForm.signtype;
  var selectMaterial = document.theForm.pother3;
  var theType = selectType.options[selectType.selectedIndex].value;
//  var theType = selectType.options.selectedIndex;

  
  if (theType == "danger"){
     selectMaterial.options.length = 0;
     for(var i=0; i<arrDanger.length; i++)
       selectMaterial.options[selectMaterial.options.length] 
          = new Option(arrDanger[i]);
       selectMaterial.options[0].selected = true;
     }

  if (theType == "caution"){
     var selectMaterial = document.theForm.pother3;
     selectMaterial.options.length = 0;
     for(var i=0; i<arrCaution.length; i++)
       selectMaterial.options[selectMaterial.options.length] 
          = new Option(arrCaution[i]);
       selectMaterial.options[0].selected = true;
     }
  if (theType == "blank"){
     var selectMaterial = document.theForm.pother3;
     selectMaterial.options.length = 0;
     for(var i=0; i<arrWarning.length; i++)
       selectMaterial.options[selectMaterial.options.length] 
          = new Option(arrWarning[i]);
       selectMaterial.options[0].selected = true;
     }
  if (theType == "notice"){
     var selectMaterial = document.theForm.pother3;
     selectMaterial.options.length = 0;
     for(var i=0; i<arrNotice.length; i++)
       selectMaterial.options[selectMaterial.options.length] 
          = new Option(arrNotice[i]);
       selectMaterial.options[0].selected = true;
     }
  if (theType == "warning"){
     var selectMaterial = document.theForm.pother3;
     selectMaterial.options.length = 0;
     for(var i=0; i<arrWarning.length; i++)
       selectMaterial.options[selectMaterial.options.length] 
          = new Option(arrWarning[i]);
       selectMaterial.options[0].selected = true;
     }
  if (theType == "careful"){
     var selectMaterial = document.theForm.pother3;
     selectMaterial.options.length = 0;
     for(var i=0; i<arrWarning.length; i++)
       selectMaterial.options[selectMaterial.options.length] 
          = new Option(arrWarning[i]);
       selectMaterial.options[0].selected = true;
     }
  if (theType == "exit"){
     var selectMaterial = document.theForm.pother3;
     selectMaterial.options.length = 0;
     for(var i=0; i<arrExit.length; i++)
       selectMaterial.options[selectMaterial.options.length] 
          = new Option(arrExit[i]);
       selectMaterial.options[0].selected = true;
     }
  if (theType == "parking"){
     var selectMaterial = document.theForm.pother3;
     selectMaterial.options.length = 0;
     for(var i=0; i<arrParking.length; i++)
       selectMaterial.options[selectMaterial.options.length] 
          = new Option(arrParking[i]);
       selectMaterial.options[0].selected = true;
     }
  if (theType == "allsigns"){
     var selectMaterial = document.theForm.pother3;
     selectMaterial.options.length = 0;
     for(var i=0; i<arrAllsigns.length; i++)
       selectMaterial.options[selectMaterial.options.length] 
          = new Option(arrAllsigns[i]);
       selectMaterial.options[0].selected = true;
     }

}
  

   function clearIt() {
  var selectType = document.theForm.main;
  var selectMaterial = document.theForm.pother3;
     selectType.options.length = 6;
     selectMaterial.options.length = 0;
 }

