var show =  "Overnight Programming<br><i>Satellite</i>";
var GMToffset = +10.30; // Your current GMT offset, whether Standard or Daylight
var now = new Date();
var dy = now.getDay();  // day of week 0-6
var hh = now.getHours();

// Tip - for testing purposes you can put here
//dy = 6;
//hh = 9.25;
// or whatever to check that the right show appears at that day/time.

if (dy == 1) { // Monday - days in Javascript are 0 Sunday - 6 Saturday
if (hh >= 0 && hh <1) {show = "Overnight Programming<br><i>Satellite</i>"}
if (hh >= 1 && hh <6.30) {show = "The Early Bird Breakfast Show<br><i>John Spicer</i>"}
if (hh >=6.30 && hh <9) {show = "Music Magazine<br><i>Len</i>"}
if (hh >=9 && hh <12) {show = "Aussi Country<br><i>Daniel</i>"}
if (hh >=12 && hh <14) {show = "Monday Arvo<br><i>June</i>"}
if (hh >=14 && hh <16) {show = "Pepsi Drive<br><i>Tom & Oliver</i>"}
if (hh >=16 && hh <20) {show = "German Access<br><i>Helmut & Willem</i>"}
if (hh >=20 && hh <22) {show = "Independent Showcase<br><i>Slinga</i>"}
if (hh >=22 && hh <24) {show = "Overnight Programming<br><i>Satellite</i>"}
} //End Monday

if (dy == 2) { // Tuesday
if (hh >= 0 && hh <1) {show = "Overnight Programming<br><i>Satellite</i>"}
if (hh >= 1 && hh <6.30) {show = "The Early Bird Breakfast Show<br><i>John Spicer</i>"}
if (hh >= 6.30 && hh <9) {show = "Music Magazine<br><i>Paul B</i>"}
if (hh >= 9 && hh <12) {show = "Aussie Music<br><i>John M</i>"}
if (hh >=12 && hh <13) {show = "Aussie Blues<br><i>John M</i>"}
if (hh >=13 && hh <14) {show = "Mix Bowl O Blues<br><i>John M</i>"}
if (hh >=14 && hh <16) {show = "Pepsi Drive<br><i>Danni</i>"}
if (hh >=16 && hh <19) {show = "Tuesday Night Live<br><i>Denis</i>"}
if (hh >=19 && hh <21) {show = "Night Fever<br><i>Bradski</i>"}
if (hh >=21 && hh <23) {show = "Wizards of Oz<br><i>Janet</i>"}
if (hh >=23 && hh <24) {show = "Overnight Programming<br><i>Satellite</i>"}
} // End Tuesday

if (dy == 3) { // Wednesday
if (hh >= 0 && hh <1) {show = "Overnight Programming<br><i>Satellite</i>"}
if (hh >= 1 && hh <6.30) {show = "The Early Bird Breakfast Show<br><i>John Spicer</i>"}
if (hh >= 6.30 && hh <9) {show = "Music Magazine<br><i>Bob</i>"}
if (hh >= 9 && hh <12) {show = "Wednesday Lunch<br><i>Bronte</i>"}
if (hh >=12 && hh <14) {show = "Blues Plus<br><i>Doug Baker</i>"}
if (hh >=14 && hh <16) {show = "Pepsi Drive<br><i>Benji</i>"}
if (hh >=16 && hh <19) {show = "He Says She Says<br><i>Bob & Janet</i>"}
if (hh >=19 && hh <21) {show = "The Union Show<br><i>Travis, Brad & Mark O</i>"}
if (hh >=21 && hh <23) {show = "Metal Show<br><i>Michael</i>"}
if (hh >=23 && hh <24) {show = "Overnight Programming<br><i>Satellite</i>"}
} // End Wednesday

if (dy == 4) { // Thursday
if (hh >= 0 && hh <1) {show = "Overnight Programming<br><i>Satellite</i>"}
if (hh >= 1 && hh <6.30) {show = "The Early Bird Breakfast Show<br><i>John Spicer</i>"}
if (hh >= 6.30 && hh <9) {show = "Music Magazine<br><i>John C</i>"}
if (hh >= 9 && hh <12) {show = "Country Classics<br><i>Joyce</i>"}
if (hh >=12 && hh <14) {show = "Eighties Mix<br><i>Mark & Olivia</i>"}
if (hh >=14 && hh <16) {show = "Pepsi Drive<br><i>Amanda & Josh</i>"}
if (hh >=16 && hh <19) {show = "The Dog On Lino Show<br><i>Guy</i>"}
if (hh >=19 && hh <22) {show = "Rock Nostalgia<br><i>Chris W</i>"}
if (hh >=22 && hh <24) {show = "Overnight Programming<br><i>Satellite</i>"}
} // Thursday

if (dy == 5) { // Friday
if (hh >= 0 && hh <1) {show = "Overnight Programming<br><i>Satellite</i>"}
if (hh >= 1 && hh <6.30) {show = "The Early Bird Breakfast Show<br><i>Nancy</i>"}
if (hh >= 6.30 && hh <9) {show = "Music Magazine<br><i>Pat</i>"}
if (hh >= 9 && hh <12) {show = "Friday Lunch<br><i>Big Bad John</i>"}
if (hh >=12 && hh <14) {show = "Friday Arvo<br><i>Janet</i>"}
if (hh >=14 && hh <16) {show = "Pepsi Drive<br><i>Adam</i>"}
if (hh >=16 && hh <19) {show = "Rubbish Radio<br><i>Isaac & John</i>"}
if (hh >=19 && hh <21) {show = "Cobweb Classics<br><i>Chris W</i>"}
if (hh >=21 && hh <23) {show = "The Mixtures<br><i>Ian B</i>"}
if (hh >=23 && hh <24) {show = "Overnight Programming<br><i>Satellite</i>"}
} // End Friday

if (dy == 6) { // Saturday Note the two = signs to mean equals
if (hh >= 0 && hh <1) {show = "Overnight Programming<br><i>Satellite</i>"}
if (hh >= 1 && hh <6.30) {show = "Great Songs of the 20th and 21st Century<br><i> Brad H</i>" }
if (hh >= 6.30 && hh <9) {show = "TRAX<br><i>Shannon</i>"}
if (hh >= 9 && hh <12) {show = "Independent Showcase Country<br><i>Slinga</i>"}
if (hh >=12 && hh <15) {show = "Timeless Classics<br><i>Wendy</i>"}
if (hh >=15 && hh <18) {show = "Saturday Night Shuffle<br><i>Graham & Heather</i>"}
if (hh >=18 && hh <21.30) {show = "AMRAP & AirIt Charts Show<br><i>Janet</i>"}
if (hh >=21.30 && hh <23) {show = "Aunty Jack's Late Show<br><i>Aunty Jack</i>"}
if (hh >=23 && hh <24) {show = "Overnight Programming<br><i>Satellite</i>"}
} //End Saturday

if (dy == 0) { //Sunday
if (hh >= 0 && hh <6.30) {show = "Overnight Programming<br><i>Satellite</i>"}
if (hh >= 6.30 && hh <8.30) {show = "Sunday Brunch<br><i>Llew</i>"}
if (hh >= 8.30 && hh <11) {show = "Italian<br><i>Fred & Sergio</i>"}
if (hh >=11 && hh <14) {show = "Bluegrass Country Homestead<br><i>Danno</i>"}
if (hh >=14 && hh <16) {show = "Country Time<br><i>Joy</i>"}
if (hh >=16 && hh <18) {show = "Nunga Radio<br><i></i>"}
if (hh >=18 && hh <21) {show = "20th Century Rock<br><i>Bruce & Jane</i>"}
if (hh >=21 && hh <23.30) {show = "Metal Mashup<br><i>Adam</i>"}
if (hh >=23.30 && hh <24) {show = "Overnight Programming<br><i>Satellite</i>"}
} // End of Sunday

document.getElementById("djnext").innerHTML = "" + show;
