rem: componentMenu.selectedIndex = 1; 
add: menuListSelectItem("component-type", "todo"); 
context: function processComponentType(componentType){    var componentMenu = document.getElementById("component-type");    debug("processComponentType: " + componentType );    switch( componentType ) {    case "event":         // Hide and show the appropriate fields and widgets        changeMenuState("todo", "event");         // Set the menu properly if it isn't already        componentMenu.selectedIndex = 0;         // calling just enableElement _should_ work here, but it doesn't        document.getElementById("start-datetime").setAttribute( "disabled", "false" );        enableElement("start-datetime");        enableElement("end-datetime");         // Set menubar title correctly        changeTitleBar("event");        break;    case "todo":         // Hide and show the appropriate fields and widgets        changeMenuState("event", "todo");         // Set the menu properly if it isn't already        componentMenu.selectedIndex = 1;         // Enable/disable date/time pickers as need be        onDateTimeCheckbox("start-checkbox", "start-datetime");        onDateTimeCheckbox("due-checkbox", "due-datetime");        // Set menubar title correctly        changeTitleBar("todo");        break;    //case "journal":    default:        // We were passed an invalid value:        dump("processComponentType: ERROR! Tried to select invalid component type: "+componentType+"\n");        break;    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/cc16beece2ec24c8045da6cb5d801616852dd68f/eventDialog.js/clean/calendar/resources/content/eventDialog.js