recuperare valori picklist
var ofield = crmform.all.some_picklist_field_id;
// determine how many items there are in the picklist.
alert(ofield.options.length);
// set the value to 1.
ofield.datavalue = 1;
// show the the text for option #1.
alert(ofield.SelectedText);