rem:  doSetOKCancel( onOKCommand, 0 );  
context: function loadCalendarServerDialog(){   // Get arguments, see description at top of file      var args = window.arguments[0];      gMode = args.mode;      gOnOkFunction = args.onOk;   gCalendarObject = args.CalendarObject;      // mode is "new or "edit" - show proper header   var titleDataItem = null;   if( "new" == args.mode )   {      titleDataItem = document.getElementById( "data-event-title-new" );   }   else   {      titleDataItem = document.getElementById( "data-event-title-edit" );   }      // set up OK, Cancel   doSetOKCancel( onOKCommand, 0 );      // start focus on title      var firstFocus = document.getElementById( "server-name-textbox" );   firstFocus.focus();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/a3655360e93b686f1b3111dcf87e75d6bc976f44/serverDialog.js/clean/calendar/resources/content/serverDialog.js