Friday...Areas of low clouds and fog this morning...Otherwise sunny...Except some low clouds lingering near the beaches through the afternoon. Areas of dense fog through mid morning...With visibilities one quarter mile or less. Highs from the mid 60s to lower 70s at The beaches to the mid 80s to around 90 inland...Except in the 90s to near 100 in the hills.
Saturday...Sunny except for patchy morning low clouds and fog. Highs from the 70s at The beaches to the lower to mid 90s inland...Except around 100 in the hills. Southwest winds around 15 mph in the afternoon.
Sunday...Areas of low clouds and fog in the morning...Otherwise sunny. Highs from near 70 at The beaches to the lower to mid 80s inland. West winds around 15 mph in the afternoon.
Monday...Night through morning low clouds and fog...Otherwise clear. Lows in the mid 50s to lower 60s. Highs from the mid to upper 60s at The beaches to the 70s inland.
Tuesday...Night through morning low clouds and fog...Otherwise clear. Lows in the mid 50s to lower 60s. Highs from the mid to upper 60s at The beaches to the 70s inland.
Wednesday...Night through morning low clouds and fog...Otherwise clear. Lows in the mid 50s to lower 60s. Highs from the mid to upper 60s at The beaches to the 70s inland.
Thursday...Night through morning low clouds and fog...Otherwise clear. Lows in the mid 50s to lower 60s. Highs from the mid to upper 60s at The beaches to the 70s inland.
Friday...Night through morning low clouds and fog...Otherwise clear. Lows in the mid 50s to lower 60s. Highs from the mid to upper 60s at The beaches to the 70s inland.
';
cal += month_of_year[month] + ' ' + year + '' + TD_end + TR_end;
cal += TR_start;
///////////////////////////////////
// DO NOT EDIT BELOW THIS POINT //
///////////////////////////////////
// LOOPS FOR EACH DAY OF WEEK
for(index=0; index < DAYS_OF_WEEK; index++) {
// PRINTS DAY
cal += TD_start + day_of_week[index] + TD_end;
}
cal += TD_end + TR_end;
cal += TR_start;
// FILL IN BLANK GAPS UNTIL TODAY'S DAY
for(index=0; index < dateObj.getDay(); index++) {
cal += TD_start + ' ' + TD_end;
}
// LOOPS FOR EACH DAY IN CALENDAR
for(index=0; index < DAYS_OF_MONTH; index++) {
if( dateObj.getDate() > index ) {
// RETURNS THE NEXT DAY TO PRINT
week_day =dateObj.getDay();
// START NEW ROW FOR FIRST DAY OF WEEK
if(week_day == 0) {
cal += TR_start;
}
if(week_day != DAYS_OF_WEEK) {
// SET VARIABLE INSIDE LOOP FOR INCREMENTING PURPOSES
var day = dateObj.getDate();
// PRINTS DAY
cal += TD_start + "" + day + "" + TD_end;
}
// END ROW FOR LAST DAY OF WEEK
if(week_day == DAYS_OF_WEEK) {
cal += TR_end;
}
}
// INCREMENTS UNTIL END OF THE MONTH
dateObj.setDate(dateObj.getDate()+1);
}// end for loop
cal += '