function select_add(frm,text,value) {
	frm.options[frm.length] = new Option(text,value);
}

function select_clear(frm) {
	len = frm.length;
	for (i=0;i<len;i++) {
		frm.options[0] = null;
	}
}

function select_selected(frm,index) {
	frm.options[index].selected = true;
}

