rem: menuList.selectedIndex = args.categoriesIndex; 
add: if ("categoriesIndex" in args) menuList.selectedIndex = args.categoriesIndex; 
context: function loadOutlookImportDialog(){    args = window.arguments[0];    var oldList;  var menuList;    //fill all menupopups  menuList = document.getElementById( "title-list" );  for( var k = 0; k < args.fieldList.length; k++ )    menuList.appendItem( args.fieldList[k] );  menuList.selectedIndex = args.titleIndex;  menuList.focus();    menuList = document.getElementById( "startdate-list" );  for( var k = 0; k < args.fieldList.length; k++ )    menuList.appendItem( args.fieldList[k] );  menuList.selectedIndex = args.startDateIndex;    menuList = document.getElementById( "starttime-list" );  for( var k = 0; k < args.fieldList.length; k++ )    menuList.appendItem( args.fieldList[k] );  menuList.selectedIndex = args.startTimeIndex;  menuList = document.getElementById( "enddate-list" );  for( var k = 0; k < args.fieldList.length; k++ )    menuList.appendItem( args.fieldList[k] );  menuList.selectedIndex = args.endDateIndex;  menuList = document.getElementById( "endtime-list" );  for( var k = 0; k < args.fieldList.length; k++ )    menuList.appendItem( args.fieldList[k] );  menuList.selectedIndex = args.endTimeIndex;  menuList = document.getElementById( "location-list" );  for( var k = 0; k < args.fieldList.length; k++ )    menuList.appendItem( args.fieldList[k] );  menuList.selectedIndex = args.locationIndex;    menuList = document.getElementById( "description-list" );  for( var k = 0; k < args.fieldList.length; k++ )    menuList.appendItem( args.fieldList[k] );  menuList.selectedIndex = args.descriptionIndex;  menuList = document.getElementById( "allday-list" );  for( var k = 0; k < args.fieldList.length; k++ )    menuList.appendItem( args.fieldList[k] );  menuList.selectedIndex = args.allDayIndex;  menuList = document.getElementById( "private-list" );  for( var k = 0; k < args.fieldList.length; k++ )    menuList.appendItem( args.fieldList[k] );  menuList.selectedIndex = args.privateIndex;  menuList = document.getElementById( "alarm-list" );  for( var k = 0; k < args.fieldList.length; k++ )    menuList.appendItem( args.fieldList[k] );  menuList.selectedIndex = args.alarmIndex;  menuList = document.getElementById( "alarmdate-list" );  for( var k = 0; k < args.fieldList.length; k++ )    menuList.appendItem( args.fieldList[k] );  menuList.selectedIndex = args.alarmDateIndex;  menuList = document.getElementById( "alarmtime-list" );  for( var k = 0; k < args.fieldList.length; k++ )    menuList.appendItem( args.fieldList[k] );  menuList.selectedIndex = args.alarmTimeIndex;  menuList = document.getElementById( "categories-list" );  for( var k = 0; k < args.fieldList.length; k++ )    menuList.appendItem( args.fieldList[k] );  menuList.selectedIndex = args.categoriesIndex;  boolLabel = document.getElementById( "bool-label" );    boolLabel.setAttribute ( "value", args.boolStr + "  =" );    opener.setCursor( "auto" );}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/3e7e381fae0a878351e9a19f9633fb88b71aa4db/outlookImportDialog.js/buggy/calendar/resources/content/outlookImportDialog.js