// CREATE THE SCHEDULE ARRAYS
var xShow = new Array(7);
for (x=1; x<8; x++) {xShow[x] = new Array(23)}
// SUNDAY SCHEDULE [1]
xShow[1][0] = "Non-stop music to ease you through the night";
xShow[1][1] = xShow[1][0];
xShow[1][2] = xShow[1][0];
xShow[1][3] = xShow[1][0];
xShow[1][4] = xShow[1][0];
xShow[1][5] = xShow[1][0];
xShow[1][6] = "Breakfast Show";
xShow[1][7] = xShow[1][6];
xShow[1][8] = xShow[1][6];
xShow[1][9] = "Breakfast on Broadway with Sarah Collins";
xShow[1][10] = xShow[1][6];
xShow[1][11] = "Sounds of the 60's with Malcolm";
xShow[1][12] = "Time Tunnel with Malcolm";
xShow[1][13] = xShow[1][12];
xShow[1][14] = "The Red Thread";
xShow[1][15] = "Whats on the Jukebox?";
xShow[1][16] = "Best of British Classics";
xShow[1][17] = "Afternoon Music";
xShow[1][18] = "The A to Z of Pop with Richard Smith";
xShow[1][19] = "Evening Music";
xShow[1][20] = xShow[1][19];
xShow[1][21] = "The Music Box with Gordon Lowe";
xShow[1][22] = "Tall Tales at the Hospital with Lynette Hill";
xShow[1][23] = "Late night music";
// MONDAY SCHEDULE [2]
xShow[2][0] = "Non-stop music to ease you through the night";
xShow[2][1] = xShow[2][0];
xShow[2][2] = xShow[2][0];
xShow[2][3] = xShow[2][0];
xShow[2][4] = xShow[2][0];
xShow[2][5] = xShow[2][0];
xShow[2][6] = "Breakfast show";
xShow[2][7] = xShow[2][6];
xShow[2][8] = xShow[2][6];
xShow[2][9] = "Morning Music";
xShow[2][10] = xShow[2][9];
xShow[2][11] = "Something Soulful with Claudette Brooker";
xShow[2][12] = "The Lunchtime Show";
xShow[2][13] = "Tracks and Chats with Sophie";
xShow[2][14] = "Tracks and Chats with Sophie";
xShow[3][15] = "What's on the Jukebox?";
xShow[2][16] = "Best of British Classics";
xShow[2][17] = "Afternoon Music";
xShow[2][18] = "Toe Tappers with Donna Edgell";
xShow[2][19] = "Harry's Happy Hour";
xShow[2][20] = "The Monday Night Request Show";
xShow[2][21] = "Electric City";
xShow[2][22] = "The Golden Years";
xShow[2][23] = "Late night music";
// TUESDAY SCHEDULE [3]
xShow[3][0] = "Non-stop music to ease you through the night";
xShow[3][1] = xShow[3][0];
xShow[3][2] = xShow[3][0];
xShow[3][3] = xShow[3][0];
xShow[3][4] = xShow[3][0];
xShow[3][5] = xShow[3][0];
xShow[3][6] = "Breakfast Show";
xShow[3][7] = xShow[3][6];
xShow[3][8] = xShow[3][6];
xShow[3][9] = "Morning Music";
xShow[3][10] = "The Jeff Drake Magazine Show";
xShow[3][11] = xShow[3][10];
xShow[3][12] = "The Lunchtime Show";
xShow[3][13] = "Afternoon Music";
xShow[3][14] = "Tall Tales at the Hospital with Lynette Hill";
xShow[3][15] = "Whats on the Jukebox?";
xShow[3][16] = "Afternoon Music";
xShow[3][17] = "No.1's of the 70's";
xShow[3][18] = "Evening Music";
xShow[3][19] = "Evening Music";
xShow[3][20] = "The Tuesday Night Request Show";
xShow[3][21] = "In Concert";
xShow[3][22] = "Ladies of Letters";
xShow[3][23] = "Late Night Music";
// WEDNESDAY SCHEDULE [4]
xShow[4][0] = "Non-stop music to ease you through the night";
xShow[4][1] = xShow[4][0];
xShow[4][2] = xShow[4][0];
xShow[4][3] = xShow[4][0];
xShow[4][4] = xShow[4][0];
xShow[4][5] = xShow[4][0];
xShow[4][6] = "Breakfast Show";
xShow[4][7] = xShow[4][6];
xShow[4][8] = xShow[4][6];
xShow[4][9] = "Morning Music";
xShow[4][10] = "Daytime Music";
xShow[4][11] = xShow[4][10];
xShow[4][12] = "The Red Thread";
xShow[4][13] = "Afternoon Music";
xShow[4][14] = "The Golden Years";
xShow[4][15] = "No.1's of the 80's";
xShow[4][16] = "Sunnyside of the street";
xShow[4][17] = "Place prints";
xShow[4][18] = "The A to Z of pop with Richard Smith";
xShow[4][19] = "The Retro Show with Tina Collins";
xShow[4][20] = "The Wednesday Night Request Show";
xShow[4][21] = "Evening Music";
xShow[4][22] = "Evening Music";
xShow[4][23] = "Late Night Music";
// THURSDAY SCHEDULE [5]
xShow[5][0] = "Non-stop music to ease you through the night";
xShow[5][1] = xShow[5][0];
xShow[5][2] = xShow[5][0];
xShow[5][3] = xShow[5][0];
xShow[5][4] = xShow[5][0];
xShow[5][5] = xShow[5][0];
xShow[5][6] = "Breakfast Show";
xShow[5][7] = xShow[5][6];
xShow[5][8] = xShow[5][6];
xShow[5][9] = "Morning Music";
xShow[5][10] = "Morning Music";
xShow[5][11] = "Morning music";
xShow[5][12] = "The Lunchtime Show";
xShow[5][13] = "Radio Therapy";
xShow[5][14] = "Sunnyside of the Street";
xShow[5][15] = "Daytime Afternoon";
xShow[5][16] = "The Jeff Carter Afternoon Show";
xShow[5][17] = "The Jeff Carter Afternoon Show";
xShow[5][18] = "Music Box with Alan Clarke";
xShow[5][19] = "Charles Classic Soundtracks";
xShow[5][20] = "The Thursday Night Request Show";
xShow[5][21] = "Anything Goes with Malcolm";
xShow[5][22] = "Best of British Classics";
xShow[5][23] = "Late Night music";
// FRIDAY SCHEDULE [6]
xShow[6][0] = "Non-stop music to ease you through the night";
xShow[6][1] = xShow[6][0];
xShow[6][2] = xShow[6][0];
xShow[6][3] = xShow[6][0];
xShow[6][4] = xShow[6][0];
xShow[6][5] = xShow[6][0];
xShow[6][6] = "Breakfast Show";
xShow[6][7] = xShow[6][6];
xShow[6][8] = xShow[6][6];
xShow[6][9] = "Morning Music";
xShow[6][10] = "Morning Music";
xShow[6][11] = "Morning Music";
xShow[6][12] = "Morning Music";
xShow[6][13] = "A to Z of Stage Names";
xShow[6][14] = "Afternoon Music";
xShow[6][15] = "Whats on the Jukebox?";
xShow[6][16] = "No.1's of the 90's";
xShow[6][17] = "Afternoon Music";
xShow[6][18] = "The Music Bus with Tina Collins";
xShow[6][19] = "The Weekend Warm Up with Martin Thorpe";
xShow[6][20] = "The Friday Night Request Show";
xShow[6][21] = "the Rock Show with Tina Collins";
xShow[6][22] = "Electric City";
xShow[6][23] = "Late Night music";
// SATURDAY SCHEDULE [7]
xShow[7][0] = "Non-stop music to ease you through the night";
xShow[7][1] = xShow[7][0];
xShow[7][2] = xShow[7][0];
xShow[7][3] = xShow[7][0];
xShow[7][4] = xShow[7][0];
xShow[7][5] = xShow[7][0];
xShow[7][6] = "Breakfast Show";
xShow[7][7] = xShow[6][6];
xShow[7][8] = xShow[7][6];
xShow[7][9] = "Breakfast on Broadway with Sarah Jayne Collins";
xShow[7][10] = "Morning Music";
xShow[7][11] = "Morning music";
xShow[7][12] = "The Lunchtime Show";
xShow[7][13] = "Early Afternoon Music";
xShow[7][14] = "Saturday Sport";
xShow[7][15] = xShow[7][14];
xShow[7][16] = xShow[7][14];
xShow[7][17] = xShow[7][14];
xShow[7][18] = "The Country Show with Tina Collins";
xShow[7][19] = "The A to Z of pop with Richard Smith";
xShow[7][20] = "Evening Music";
xShow[7][21] = "Evening music";
xShow[7][22] = "The Late Show with Jeff Carter";
xShow[7][23] = "The Late Show with Jeff Carter";
// TOP LINE OF OUR DISPLAY
var xTopline = "";
// SETUP A 1-MINUTE UPDATE TIMER
var xThishour;
self.setTimeout('xUpdate()', 60000);
// DISPLAY THE OPENING SCHEDULE
function forYourPleasure() {
xToday = new Date();
xWeekday = 1 + xToday.getDay();
xHour = xToday.getHours();
xThishour = xHour;
return xShow[xWeekday][xHour];
}
// UPDATE THE SCHEDULE DISPLAY
function xUpdate() {
xToday = new Date();
xHour = xToday.getHours();
if (xThishour != xHour) {
xThishour = xHour;
xWeekday = 1 + xToday.getDay();
wrDiv("xProgram", xTopline + "
" + xShow[xWeekday][xHour] + "");
}
self.setTimeout('xUpdate()', 60000);
}
// DISPLAY UPDATE MECHANISM
function wrDiv(dv, newC) {
eval ('document.getElementById("' + dv + '").innerHTML = newC');
}