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 >= 1 && hh <6.30) {show = "Monday Breakfast<br><i>Brad H</i>"}
if (hh >=6.30 && hh <9) {show = "Music Magazine<br><i>Len</i>"}
if (hh >=9 && hh <12) {show = "Aussi Country<br><i>Joyce & Eilene</i>"}
if (hh >=12 && hh <14) {show = "Monday Arvo<br><i>Eilene, June</i>"}
if (hh >=14 && hh <16) {show = "Pepsi Drive<br><i>Adam</i>"}
if (hh >=16 && hh <20) {show = "German Access<br><i>LHelmut & Willem</i>"}
if (hh >=20 && hh <22) {show = "Rock Files<br><i>Alan</i>"}
} //End Monday

if (dy == 2) { // Tuesday
if (hh >= 1 && hh <6.30) {show = "Tuesday Breakfast<br><i>Wombat</i>"}
if (hh >= 6.30 && hh <9) {show = "Music Magazine<br><i>Brad H</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 <17) {show = "Pepsi Drive<br><i>Amanda, Danni & Josh</i>"}
if (hh >=17 && hh <19) {show = "Tuesday Night Live<br><i>The Doctor</i>"}
if (hh >=19 && hh <21) {show = "ShhOut!<br><i>Bronte</i>"}
if (hh >=21 && hh <23) {show = "Old School Metal<br><i>Metal Guys</i>"}
} // End Tuesday

if (dy == 3) { // Wednesday
if (hh >= 1 && hh <6.30) {show = "Wednesday Breakfast<br><i>Nancy</i>"}
if (hh >= 6.30 && hh <9) {show = "Music Magazine<br><i>Helene & Anthony</i>"}
if (hh >= 9 && hh <12) {show = "Wednesday Lunch<br><i>Dogga</i>"}
if (hh >=12 && hh <14) {show = "Let My People Go<br><i>Ryan H</i>"}
if (hh >=14 && hh <16) {show = "Pepsi Drive<br><i>Benji</i>"}
if (hh >=16 && hh <18) {show = "The Round Ball<br><i>Soccer Guys</i>"}
if (hh >=18 && hh <19) {show = "The Union Show<br><i>Travis, Brad & Mark</i>"}
if (hh >=19 && hh <23) {show = "Old Guys Late Nite Music<br><i>Ian & Chris</i>"}
} // End Wednesday

if (dy == 4) { // Thursday
if (hh >= 1 && hh <6.30) {show = "Thursday Breakfast<br><i>Dogga</i>"}
if (hh >= 6.30 && hh <9) {show = "Music Magazine<br><i>Dogga</i>"}
if (hh >= 9 && hh <12) {show = "Country Classics<br><i>Joyce</i>"}
if (hh >=12 && hh <14) {show = "80s Mix<br><i>Olivia & Mark</i>"}
if (hh >=14 && hh <16) {show = "Pepsi Drive<br><i>Various</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>Alan</i>"}
} // Thursday

if (dy == 5) { // Friday
if (hh >= 1 && hh <6.30) {show = "Friday Breakfast<br><i>Various</i>"}
if (hh >= 6.30 && hh <9) {show = "Music Magazine<br><i>Six Pack 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>Annette</i>"}
if (hh >=14 && hh <16) {show = "Pepsi Drive<br><i>Shane</i>"}
if (hh >=16 && hh <19) {show = "Hip Hop<br><i>Various</i>"}
if (hh >=19 && hh <20) {show = "Cobweb Classics<br><i>Chris W</i>"}
if (hh >=20 && hh <23) {show = "Black Out Radio<br><i>Shane, Tanga & Alby</i>"}
} // End Friday

if (dy == 6) { // Saturday Note the two = signs to mean equals
if (hh >= 1 && hh <6) {show = "Great Songs of the 20th Century<br><i>Alan</i>" }
if (hh >= 6 && hh <9) {show = "TRAX<br><i>Shannon</i>"}
if (hh >= 9 && hh <12) {show = "Country Roundup<br><i>Kathy</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 <22) {show = "The AMRAP Hour<br><i>Janet</i>"}
if (hh >=22 && hh <24) {show = "Aunty Jack's Late Show<br><i>Janet</i>"}
} //End Saturday

if (dy == 0) { //Sunday
if (hh >= 0 && hh <1) {show = "Overnight Programming<br><i>Satellite</i>"}
if (hh >= 1 && hh <6) {show = "Irish Breakfast<br><i>Satellite</i>"}
if (hh >= 6 && hh <9) {show = "Sunday Brunch<br><i>Llew</i>"}
if (hh >= 9 && hh <11) {show = "Italian<br><i>Fred & Maria</i>"}
if (hh >=11 && hh <14) {show = "The Bluegrass Country<br><i>Daniel M</i>"}
if (hh >=14 && hh <16) {show = "Country Time<br><i>Joy</i>"}
if (hh >=16 && hh <18) {show = "Nunga Radio<br><i>Wombat</i>"}
if (hh >=18 && hh <21) {show = "20th Century Rock<br><i>Bruce & Jane</i>"}
if (hh >=21 && hh <23.30) {show = "TBA<br><i>Various</i>"}
} // End of Sunday

document.getElementById("djnext").innerHTML = "" + show;