// Put the date information into variables. The client info is set // elsewhere. TimeOut() selectedMonth = client.monthChoice selectedDay = client.dateChoice selectedYear = client.yearChoice // One is added to the month info since the Date object sets the // month in zero based numbers and SQL does not. // GetDayInfo is the function that gets the day information. currDay = GetDayInfo(selectedYear, eval(selectedMonth)+1, selectedDay) // The short descriptions are printed out and hot links established. write("
Short Description
") for ( var i = 0 ; i < currDay.count ; i++ ) { var eventId = currDay.item[i].eventId var loginName = currDay.item[i].loginName var groupDescription = currDay.item[i].groupDescription var eventDay = currDay.item[i].day var eventMonth = currDay.item[i].month var eventYear = currDay.item[i].year var startDate = currDay.item[i].startDate var endDay = currDay.item[i].endDay var endMonth = currDay.item[i].endMonth var endYear = currDay.item[i].endYear var shortDescription = currDay.item[i].shortDescription var longOne = currDay.item[i].longDescription var time = currDay.item[i].time var longDescriptionUrl = "
"; write(time + " " + longDescriptionUrl + shortDescription + "
") }