function insertOption() {
	var BLAST_options = new Array("BLOSUM45", "BLOSUM50", "BLOSUM62", "BLOSUM80", "BLOSUM90", "PAM30", "PAM70", "PAM250");
	var FASTA_T_options = new Array("BLOSUM50", "BLOSUM62", "BLOSUM80", "PAM20", "PAM120", "PAM250", "MDM10", "MDM40");
	var FASTA_V_options = new Array("BL50", "BL62", "BL80", "P20", "P120", "P250", "M10", "M40");
	var x1 = document.getElementById("program");
	var x = document.getElementById("Matrix");
	x.options.length = 0;
	if (x1.options[x1.selectedIndex].value == "BLAST") {
		for (var hi = 0; hi < BLAST_options.length; hi++) {
			var y = document.createElement("option");
			y.text = BLAST_options[hi];
			y.value = BLAST_options[hi];
			if (y.text == "BLOSUM62") {
				y.selected = "selected";
			}
			try {
				x.add(y, null);
			} catch (ex) {
				x.add(y);
			}
		}
	} else if (x1.options[x1.selectedIndex].value == "FASTA") {
		for (var hi = 0; hi < FASTA_T_options.length; hi++) {
			var y = document.createElement("option");
			y.text = FASTA_T_options[hi];
			y.value = FASTA_V_options[hi];
			if (y.text == "BLOSUM50") {
				y.selected = "selected";
			}
			try {
				x.add(y, null);
			} catch (ex) {
				x.add(y);
			}
		}
	} else if (x1.options[x1.selectedIndex].value == "SSEARCH") {
		for (var hi = 0; hi < FASTA_T_options.length; hi++) {
			var y = document.createElement("option");
			y.value = FASTA_V_options[hi];
			y.text = FASTA_T_options[hi];
			if (y.text == "BLOSUM50") {
				y.selected = "selected";
			}
			try {
				x.add(y, null);
			} catch (ex) {
				x.add(y);
			}
		}
	}
}

