function getShortTime(date1, showday)
{
     if (showday == null || isFlexDate) showday = false;

     var hours = date1.getUTCHours();
     if (hours >= 13) {
        hours = hours - 12;
     } else if (hours == 0) {
        hours = 12;
     }

     var minutes = date1.getUTCMinutes();
     if (minutes < 10) minutes = "0" + minutes;
     var ampm = (date1.getUTCHours() >= 12) ? 'p' : 'a';

     if (showday) {
        return dow[date1.getUTCDay()] + ' ' + hours + ':' + minutes + ampm;
     } else {
        return hours + ':' + minutes + ampm;
     }
}

 function getShortDate(date1)
 {
 	return date1.formatUTCDate("M j")
 }
 