function showScheduleForDay(day) {
    //Set everything to active and hide all schedule rows
    var dayNames = new Array("sunday","monday","tuesday","wednesday",
                             "thursday","friday","saturday");
    var index;
    
    for (index = 0; index < dayNames.length; index += 1) {
        var thisDayHeaderId = dayNames[index] + 'ScheduleHeader';
        var thisDayRowId = dayNames[index] + 'ScheduleRow';
        var thisDayHeaderElem = document.getElementById(thisDayHeaderId);
        var thisDayRowElem = document.getElementById(thisDayRowId);
        
        if (dayNames[index] == day) {

            // make the 'day of week' link current display-wise
            thisDayHeaderElem.className = "currentItem";

            // show the day's schedule
            // thisDayRowElem.className = "currentItem";
            thisDayRowElem.style.display = "block";
        }
        else {
            // set the 'day of week' link to not be current display-wise
            thisDayHeaderElem.className = "activeItem";

            // hide the day's schedule
            thisDayRowElem.style.display = "none";
        }
    }
}