here what i'm using to populate an selectbox

Code:
function populate(index){
	document.frm.subCat.options.length = 0;
	for(x=0;x<subArray[index].length;x++){
		var newOption = document.createElement("OPTION");
		newOption.value = subArray[index][x][0];
  		newOption.text = subArray[index][x][1];
		document.frm.subCat.add (newOption);
		}
	}

works perfect in MSIE, but not netscape!!

what netscape syntax

tx