// ************* Current Day and Hour *********
var day = 5;
var hour = 17;

// ******************* Schedules **************
var prog = new Array(

/*"Sunday"*/
new Array(
/*12AM - 01AM*/"Off the air", 
/*01AM - 02AM*/"Off the air", 
/*02AM - 03AM*/"Off the air", 
/*03AM - 04AM*/"Off the air", 
/*04AM - 05AM*/"BBC World Service", 
/*05AM - 06AM*/"BBC World Service", 
/*06AM - 07AM*/"NPR's Performance Today", 
/*07AM - 08AM*/"NPR's Weekend Edition", 
/*08AM - 09AM*/"NPR's Weekend Edition", 
/*09AM - 10AM*/"St. Paul Sunday", 
/*10AM - 11AM*/"People's Pharmacy", 
/*11AM - 12PM*/"(11-11:30)The Parent's Journal (11:30-12)News, Weather, Features", 
/*12PM - 01PM*/"News, Weather and Features", 
/*01PM - 02PM*/"News, Weather and Features", 
/*02PM - 03PM*/"Prevailing Winds w/Bob Madeson", 
/*03PM - 04PM*/"AK", 
/*04PM - 05PM*/"NPR's All Things Considered", 
/*05PM - 06PM*/"NPR'S Performance Today", 
/*06PM - 07PM*/"This American Life", 
/*07PM - 08PM*/"Mongrel Mix w/Andy deValpine", 
/*08PM - 09PM*/"Something Different w/Pat Owens", 
/*09PM - 10PM*/"Bay Whalin' Hour w/Wendy Hladick", 
/*10PM - 11PM*/"Echoes", 
/*11PM - 12AM*/"Echoes"
),

/*Monday*/
new Array(
/*12AM - 01AM*/"Off the air", 
/*01AM - 02AM*/"Off the air", 
/*02AM - 03AM*/"Off the air", 
/*03AM - 04AM*/"Off the air",  
/*04AM - 05AM*/"BBC World Service", 
/*05AM - 06AM*/"BBC World Service", 
/*06AM - 07AM*/"NPR's Morning Edition", 
/*07AM - 08AM*/"KDLG News & Weather / NPR's Morning Edition", 
/*08AM - 09AM*/"News, Weather and Features", 
/*09AM - 10AM*/"National Native News & Native America Calling", 
/*10AM - 11AM*/"News, Weather and Features", 
/*11AM - 12PM*/"Open Line", 
/*12PM - 01PM*/"News, Weather and Features", 
/*01PM - 02PM*/"NPR's All Things Considered",  
/*02PM - 03PM*/"News, Weather and Features",  
/*03PM - 04PM*/"News, Weather and Features",  
/*04PM - 05PM*/"NPR's All Things Considered", 
/*05PM - 06PM*/"(5-5:30)Alaska News Nightly (5:30-6)News, Weather, Features", 
/*06PM - 07PM*/"World Cafe", 
/*07PM - 08PM*/"World Cafe", 
/*08PM - 09PM*/"Fresh Air", 
/*09PM - 10PM*/"Free Form Music w/News, Weather, Features", 
/*10PM - 11PM*/"(10-10:30)Radio Reader w/Dick Estell (10:30-11)Weather/Music", 
/*11PM - 12AM*/"Listen Here! The Jazz Review"
),

/*Tuesday*/
new Array(
/*12AM - 01AM*/"Off the air", 
/*01AM - 02AM*/"Off the air", 
/*02AM - 03AM*/"Off the air", 
/*03AM - 04AM*/"Off the air",  
/*04AM - 05AM*/"BBC World Service", 
/*05AM - 06AM*/"BBC World Service", 
/*06AM - 07AM*/"NPR's Morning Edition", 
/*07AM - 08AM*/"KDLG News & Weather / NPR's Morning Edition", 
/*08AM - 09AM*/"News, Weather and Features", 
/*09AM - 10AM*/"BBC News, Contemporary Music", 
/*10AM - 11AM*/"Talk of Alaska", 
/*11AM - 12PM*/"Open Line", 
/*12PM - 01PM*/"News, Weather and Features", 
/*01PM - 02PM*/"NPR's All Things Considered",  
/*02PM - 03PM*/"News, Weather and Features",  
/*03PM - 04PM*/"News, Weather and Features",  
/*04PM - 05PM*/"NPR's All Things Considered", 
/*05PM - 06PM*/"(5-5:30)Alaska News Nightly (5:30-6)News, Weather, Features", 
/*06PM - 07PM*/"World Cafe", 
/*07PM - 08PM*/"World Cafe", 
/*08PM - 09PM*/"Fresh Air", 
/*09PM - 10PM*/"Free Form Music w/News, Weather, Features", 
/*10PM - 11PM*/"(10-10:30)Radio Reader w/Dick Estell (10:30-11)Weather/Music", 
/*11PM - 12AM*/"Marian McPartland's Piano Jazz"
),

/*Wednesday*/
new Array(
/*12AM - 01AM*/"Off the air", 
/*01AM - 02AM*/"Off the air", 
/*02AM - 03AM*/"Off the air", 
/*03AM - 04AM*/"Off the air",  
/*04AM - 05AM*/"BBC World Service", 
/*05AM - 06AM*/"BBC World Service", 
/*06AM - 07AM*/"NPR's Morning Edition", 
/*07AM - 08AM*/"KDLG News & Weather / NPR's Morning Edition", 
/*08AM - 09AM*/"News, Weather and Features", 
/*09AM - 10AM*/"National Native News & Native America Calling", 
/*10AM - 11AM*/"News, Weather & Features <i>OR</i> Alaska Voices Live", 
/*11AM - 12PM*/"Open Line", 
/*12PM - 01PM*/"News, Weather and Features", 
/*01PM - 02PM*/"NPR's All Things Considered",  
/*02PM - 03PM*/"News, Weather and Features",  
/*03PM - 04PM*/"News, Weather and Features",  
/*04PM - 05PM*/"NPR's All Things Considered", 
/*05PM - 06PM*/"(5-5:30)Alaska News Nightly (5:30-6)News, Weather, Features", 
/*06PM - 07PM*/"World Cafe", 
/*07PM - 08PM*/"World Cafe", 
/*08PM - 09PM*/"Fresh Air", 
/*09PM - 10PM*/"Free Form Music w/News, Weather, Features", 
/*10PM - 11PM*/"(10-10:30)Radio Reader w/Dick Estell (10:30-11)Weather/Music", 
/*11PM - 12AM*/"Beale Street Caravan"
),

/*Thursday*/
new Array(
/*12AM - 01AM*/"Off the air", 
/*01AM - 02AM*/"Off the air", 
/*02AM - 03AM*/"Off the air", 
/*03AM - 04AM*/"Off the air",  
/*04AM - 05AM*/"BBC World Service", 
/*05AM - 06AM*/"BBC World Service", 
/*06AM - 07AM*/"NPR's Morning Edition", 
/*07AM - 08AM*/"KDLG News & Weather / NPR's Morning Edition", 
/*08AM - 09AM*/"News, Weather and Features", 
/*09AM - 10AM*/"BBC News, Contemporary Music", 
/*10AM - 11AM*/"NPR News, Messenger, Weather, Music", 
/*11AM - 12PM*/"Open Line", 
/*12PM - 01PM*/"News, Weather and Features", 
/*01PM - 02PM*/"NPR's All Things Considered",  
/*02PM - 03PM*/"News, Weather, Features",  
/*03PM - 04PM*/"News, Weather and Features",  
/*04PM - 05PM*/"NPR's All Things Considered", 
/*05PM - 06PM*/"(5-5:30)Alaska News Nightly (5:30-6)News, Weather, Features", 
/*06PM - 07PM*/"World Cafe", 
/*07PM - 08PM*/"World Cafe", 
/*08PM - 09PM*/"Fresh Air", 
/*09PM - 10PM*/"Free Form Music w/News, Weather, Features", 
/*10PM - 11PM*/"(10-10:30)Radio Reader w/Dick Estell (10:30-11)Weather/Music", 
/*11PM - 12AM*/"Jazz Profiles w/Nancy Wilson"
),

/*Friday*/
new Array(
/*12AM - 01AM*/"Off the air", 
/*01AM - 02AM*/"Off the air", 
/*02AM - 03AM*/"Off the air", 
/*03AM - 04AM*/"Off the air",  
/*04AM - 05AM*/"BBC World Service", 
/*05AM - 06AM*/"BBC World Service", 
/*06AM - 07AM*/"NPR's Morning Edition", 
/*07AM - 08AM*/"KDLG News & Weather / NPR's Morning Edition", 
/*08AM - 09AM*/"News, Weather and Features", 
/*09AM - 10AM*/"BBC News, Oldies", 
/*10AM - 11AM*/"News, Weather, Features, Fisheries Report", 
/*11AM - 12PM*/"Open Line", 
/*12PM - 01PM*/"News, Weather and Features", 
/*01PM - 02PM*/"NPR's All Things Considered",  
/*02PM - 03PM*/"News, Weather and Features",  
/*03PM - 04PM*/"News, Weather and Features",  
/*04PM - 05PM*/"NPR's All Things Considered", 
/*05PM - 06PM*/"(5-5:30)Alaska News Nightly (5:30-6)News, Weather, Features", 
/*06PM - 07PM*/"World Cafe", 
/*07PM - 08PM*/"World Cafe", 
/*08PM - 09PM*/"NPR News, Weather, Music", 
/*09PM - 10PM*/"NPR News, Weather, Music", 
/*10PM - 11PM*/"(10-10:30)Radio Reader w/Dick Estell (10:30-11)Weather/Music", 
/*11PM - 12AM*/"NPR News, Weather, Music"
),

/*Saturday*/
new Array(
/*12AM - 01AM*/"Off the air", 
/*01AM - 02AM*/"Off the air", 
/*02AM - 03AM*/"Off the air", 
/*03AM - 04AM*/"Off the air", 
/*04AM - 05AM*/"BBC World Service", 
/*05AM - 06AM*/"BBC World Service", 
/*06AM - 07AM*/"Zorba Paster On Your Health", 
/*07AM - 08AM*/"NPR's Weekend Edition", 
/*08AM - 09AM*/"NPR's Weekend Edition", 
/*09AM - 10AM*/"West Coast Live", 
/*10AM - 11AM*/"West Coast Live", 
/*11AM - 12PM*/"News, Weather, Features, Fisheries Report", 
/*12PM - 01PM*/"News, Weather, Features, Fisheries Report", 
/*01PM - 02PM*/"NPR News, Weather, Bulletin Board & Music", 
/*02PM - 03PM*/"A Prairie Home Companion", 
/*03PM - 04PM*/"A Prairie Home Companion", 
/*04PM - 05PM*/"Fresh Air Weekend", 
/*05PM - 06PM*/"Car Talk", 
/*06PM - 07PM*/"Bluesville w/Nathan Grambau", 
/*07PM - 08PM*/"NPR News, Weather, Music", 
/*08PM - 09PM*/"NPR News, Weather, Music", 
/*09PM - 10PM*/"NPR News, Weather, Music", 
/*10PM - 11PM*/"Sounds Eclectic", 
/*11PM - 12AM*/"Sounds Eclectic"
));

// *******************

/*
if (day == 1) {
		prog = Monday[hour]
		};
if (day == 2) {
		prog = Tuesday[hour]
		};
if (day == 3) {
		prog = Wednesday[hour]
		};
if (day == 4) {
		prog = Thursday[hour]
		};
if (day == 5) {
		prog = Friday[hour]
		};
if (day == 6) {
		prog = Saturday[hour]
		};
if (day == 0) {
		prog = Sunday[hour]
		};

if (day == 4 && hour == 19 && (date >= 1 && date <= 7 )) {
		prog = "Readers and Writers on the Air"
		};
if (day == 4 && hour == 19 && ((date >= 8 && date <= 21 ))) {
		prog = "Documentaries and Call-ins"
		};
if (day == 4 && hour == 19 && (date >= 22 && date <= 28 )) {
		prog = "Documentaries and Call-ins"
		};
*/
		
// **************** Output results

document.write(prog[day][hour]);