context: function setAdvancedWeekRepeat(){   var checked = false;   if( gEvent.recurWeekdays > 0 )   {      for( var i = 0; i < 7; i++ )      {         checked = ( ( gEvent.recurWeekdays | eval( "kRepeatDay_"+i ) ) == eval( gEvent.recurWeekdays ) );                  setFieldValue( "advanced-repeat-week-"+i, checked, "checked" );         setFieldValue( "advanced-repeat-week-"+i, false, "today" );      }   }     //get the day number for today.   var dayNumber = document.getElementById( "start-datetime" ).value.getDay();      setFieldValue( "advanced-repeat-week-"+dayNumber, "true", "checked" );   setFieldValue( "advanced-repeat-week-"+dayNumber, "true", "disabled" );   setFieldValue( "advanced-repeat-week-"+dayNumber, "true", "today" );   }
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/7cf8f4a5a133269c8abdbc4d7ed791799ba534d2/eventDialog.js/buggy/calendar/resources/content/eventDialog.js