rem: var dateToMatch = new Date(  ); 
add: var dateToMatch = new Date( ); 
context: function isAlreadyException( dateObj ){   //check to make sure that the date is not already added.   var listbox = document.getElementById( "exception-dates-listbox" );   for( i = 0; i < listbox.childNodes.length; i++ )   {      var dateToMatch = new Date(  );            dateToMatch.setTime( listbox.childNodes[i].value );            dump( "\n\nCOMPARE-> "+dateToMatch +" "+dateObj.getTime() );      if( dateToMatch.getMonth() == dateObj.getMonth() && dateToMatch.getFullYear() == dateObj.getFullYear() && dateToMatch.getDate() == dateObj.getDate() )         return true;   }   return false;}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/ba7d7f8d2aef11bd352a0ab0094b15e508c4fa16/eventDialog.js/clean/calendar/resources/content/eventDialog.js