Widget:CourseSchedule

/* <![CDATA[ */ $(function { var session,      today = new Date,      schedule = [new Date("22 May 2013"), new Date("24 May 2013"), new Date("28 May 2013"),                  new Date("30 May 2013"), new Date("04 Jun 2013"), new Date("06 Jun 2013")],      schlen = schedule.length,      $dl = $('div#bodyContent > dl');  for (session = 0; session < schlen; session++) {    if (today < schedule[session]) {      break;    }  }  if ((session > 0) && (session < schlen)) {    session--;    $dl.find("dt:eq(" + session + "),dd:eq(" + session + ")").css('background', 'lightblue');  } }); /* ]]> */

Usage
Expands a specified collapsed table (which is indexed from 0).