   a=new Array(6);



   var catsIndex = -1;

   var itemsIndex;



   function newCat(){

      catsIndex++;

      a[catsIndex] = new Array();

      itemsIndex = 0;

   }



   function O(url, txt) {

      a[catsIndex][itemsIndex]=new myOptions(txt,url);

      itemsIndex++;

   }



   function myOptions(text,value){

      this.text = text;

      this.value = value;

   }



   // fill array



   newCat();

   //index=0

   O("",  "Violin all sizes");

   O("1", "4/4 violin");

   O("2", "3/4 violin");

   O("3", "1/2 violin");

   O("4", "1/4 violin");

   O("5", "1/8 violin");



   newCat();

   //index=1

   O("",  "Viola all sizes");

   O("1", "16 inches and larger");

   O("2", "smaller than 16 inches");

   newCat();

   //index=2

   O("",  "Cello all sizes");

   O("1", "4/4 cello");

   O("2", "3/4 cello");

   O("3", "1/2 cello");

   O("4", "1/4 cello");

   O("5", "1/8 cello");
   
  newCat();

   //index=3

   O("",  "Bass all sizes");

   O("1", "4/4 bass");

   O("2", "3/4 bass");

   O("3", "1/2 bass");

   O("4", "1/4 bass");

   O("5", "1/8 bass");



   newCat();

   //index=4

   O("","Violin Bow All Sizes");

   O("1", "4/4 violin");

   O("2", "3/4 violin");

   O("3", "1/2 violin");

   O("4", "1/4 violin");

   O("5", "1/8 violin");



   newCat();

   //index=5

   O("","Viola Bow All Sizes");



   newCat();

   //index=6

   O("","Cello Bow All Sizes");
   
   
   newCat();

   //index=7

   O("","French Bass Bows all sizes");

   O("1", "4/4 bass");

   O("2", "3/4 bass");

   O("3", "1/2 bass");

   O("4", "1/4 bass");

   O("5", "1/8 bass");
   
  newCat();

   //index=8

   O("","German Bass Bows all sizes");

   O("1", "4/4 bass");

   O("2", "3/4 bass");

   O("3", "1/2 bass");

   O("4", "1/4 bass");

   O("5", "1/8 bass");



function CrtSelect(arr_indx) {
	
	//for(i=options.length-1;i>0;i--) options[i] = null;	    	
	var i = 0;
	
	// empty out the current size array
	for(i=0; i<document.instr.instrumentsize.length;i++) {
		document.instr.instrumentsize.options[i]	= null;
	}
	
	// Build th enew size array
	document.instr.instrumentsize.options[0] = new Option(a[arr_indx][0].text,a[arr_indx][0].value);
	for(i=1;i<a[arr_indx].length;i++){
	   document.instr.instrumentsize.options[i] = new Option(a[arr_indx][i].text,a[arr_indx][i].value);
	}
	document.instr.instrumentsize.options[0].selected = true;
	
}



function Setup(){
   if(!document.all) return;
   for (i=0;i<document.forms.length;i++) {

      document.forms[i].reset();

   }
}



window.onload = Setup;



   //-->
