////
document.write()
var today = new Date();
var day = today.getDay();
var hour = today.getHours();
var minutes = today.getMinutes();

// Monday
if (day ==1)
{
	if ((hour >=00) & (hour <=18)) {
		document.write('<center><img src="Images/NextUp.png"></center><hr><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Monday 19:30-20:30<br><b>The Goldmine</b><br>presented by<br><b>Terry McKenna</b></span><hr>') 
		}
	if (hour==19) {
		if ((minutes >=00) & (minutes <=29)) {
			document.write('<center><img src="Images/NextUp.png"></center><hr><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Monday 19:30-20:30<br><b>The Goldmine</b><br>presented by<br><b>Terry McKenna</b></span><hr>') 
		}
		else {
			document.write('<center><img src="Images/OnNow.png"></center><hr><br><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Monday 19:30-20:30<br><b>The Goldmine</b><br>presented by<br><b>Terry McKenna</b></span><hr>')
		}
	}
	if (hour==20) {
			if ((minutes >=00) & (minutes <=29)) {
				document.write('<center><img src="Images/OnNow.png"></center><hr><br><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Monday 19:30-20:30<br><b>The Goldmine</b><br>presented by<br><b>Terry McKenna</b></span><hr>') 
			}
			else {
				document.write('<center><img src="Images/OnNow.png"></center><hr><br><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Monday 20:30-22:00<br><b>The Monday Mix</b><br>presented by<br><b>Alfonso Iannone</b> and <b>Emma Fey</b></span><hr>')
			}
	}
	if (hour ==21) {
		document.write('<center><img src="Images/OnNow.png"></center><hr><br><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Monday 20:30-22:00<br><b>The Monday Mix</b><br>presented by<br><b>Alfonso Iannone</b> and <b>Emma Fey</b></span><hr>') 
	}
	if ((hour >=22) & (hour <=23)) {
		document.write('<center><img src="Images/NextUp.png"></center><hr><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Tuesday 19:30-20:30<br><b>The Biography Show</b><br>presented by<br>MRU presenters past and present</span><hr>')  
	}
}

// Tuesday
if (day ==2)
{
	if ((hour >=00) & (hour <=18)) {
		document.write('<center><img src="Images/NextUp.png"></center><hr><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Tuesday 19:30-20:30<br><b>The Biography Show</b><br>presented by<br>MRU presenters past and present</span><hr>') 
		}
	if (hour==19) {
		if ((minutes >=00) & (minutes <=29)) {
			document.write('<center><img src="Images/NextUp.png"></center><hr><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Tuesday 19:30-20:30<br><b>The Biography Show</b><br>presented by<br>MRU presenters past and present</span><hr>')
		}
		else {
			document.write('<center><img src="Images/OnNow.png"></center><hr><br><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Tuesday 19:30-20:30<br><b>The Biography Show</b><br>presented by<br>MRU presenters past and present</span><hr>')
		}
	}
	if (hour==20) {
			if ((minutes >=00) & (minutes <=29)) {
				document.write('<center><img src="Images/OnNow.png"></center><hr><br><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Tuesday 19:30-20:30<br><b>The Biography Show</b><br>presented by<br>MRU presenters past and present</span><hr>')
			}
			else {
				document.write('<center><img src="Images/OnNow.png"></center><hr><br><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Tuesday 20:30-22:00<br><b>Mayfield Allsorts</b><br>presented by<br><b>Sue Marshall</b> and <b>Ken Robertson</b></span><hr>')
			}
	}
	if (hour ==21) {
		document.write('<center><img src="Images/OnNow.png"></center><hr><br><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Tuesday 20:30-22:00<br><b>Mayfield Allsorts</b><br>presented by<br><b>Sue Marshall</b> and <b>Ken Robertson</b></span><hr>')
	}
	if ((hour >=22) & (hour <=23)) {
		document.write('<center><img src="Images/NextUp.png"></center><hr><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Wednesday 19:30-20:30<br><b>Swing n Jazz</b><br>presented by<br><b>Dilys Mack</b></span><hr>')
	}
}

// Wednesday
if (day ==3)
{
	if ((hour >=00) & (hour <=18)) {
		document.write('<center><img src="Images/NextUp.png"></center><hr><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Wednesday 19:30-20:30<br><b>Swing n Jazz</b><br>presented by<br><b>Dilys Mack</b></span><hr>')
		}
	if (hour==19) {
		if ((minutes >=00) & (minutes <=29)) {
			document.write('<center><img src="Images/NextUp.png"></center><hr><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Wednesday 19:30-20:30<br><b>Swing n Jazz</b><br>presented by<br><b>Dilys Mack</b></span><hr>')
		}
		else {
			document.write('<center><img src="Images/OnNow.png"></center><hr><br><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Wednesday 19:30-20:30<br><b>Swing n Jazz</b><br>presented by<br><b>Dilys Mack</b></span><hr>')
		}
	}
	if (hour==20) {
			if ((minutes >=00) & (minutes <=29)) {
				document.write('<center><img src="Images/OnNow.png"></center><hr><br><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Wednesday 19:30-20:30<br><b>Swing n Jazz</b><br>presented by<br><b>Dilys Mack</b></span><hr>')
			}
			else {
				document.write('<center><img src="Images/OnNow.png"></center><hr><br><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Wednesday 20:30-22:00<br><b>Treasure Chest</b><br>presented by<br><b>David Rodgers</b> and <b>Cat Howson</b></span><hr>')
			}
	}
	if (hour ==21) {
		document.write('<center><img src="Images/OnNow.png"></center><hr><br><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Wednesday 20:30-22:00<br><b>Treasure Chest</b><br>presented by<br><b>David Rodgers</b> and <b>Cat Howson</b></span><hr>')
	}
	if ((hour >=22) & (hour <=23)) {
		document.write('<center><img src="Images/NextUp.png"></center><hr><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Thursday 19:30-20:30<br><b>Scotch Corner</b><br>presented by<br><b>Jim Ritchie</b></span><hr>')
	}
}

// Thursday
if (day ==4)
{
	if ((hour >=00) & (hour <=18)) {
		document.write('<center><img src="Images/NextUp.png"></center><hr><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Thursday 19:30-20:30<br><b>Scotch Corner</b><br>presented by<br><b>Jim Ritchie</b></span><hr>')
		}
	if (hour==19) {
		if ((minutes >=00) & (minutes <=29)) {
			document.write('<center><img src="Images/NextUp.png"></center><hr><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Thursday 19:30-20:30<br><b>Scotch Corner</b><br>presented by<br><b>Jim Ritchie</b></span><hr>')
		}
		else {
			document.write('<center><img src="Images/OnNow.png"></center><hr><br><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Thursday 19:30-20:30<br><b>Scotch Corner</b><br>presented by<br><b>Jim Ritchie</b></span><hr>')
		}
	}
	if (hour==20) {
			if ((minutes >=00) & (minutes <=29)) {
				document.write('<center><img src="Images/OnNow.png"></center><hr><br><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Thursday 19:30-20:30<br><b>Scotch Corner</b><br>presented by<br><b>Jim Ritchie</b></span><hr>')
			}
			else {
				document.write('<center><img src="Images/OnNow.png"></center><hr><br><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Thursday 20:30-22:00<br><b>The Night Line</b><br>presented by<br><b>Euan Gordon</b></span><hr>')
			}
	}
	if (hour ==21) {
		document.write('<center><img src="Images/OnNow.png"></center><hr><br><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Thursday 20:30-22:00<br><b>The Night Line</b><br>presented by<br><b>Euan Gordon</b></span><hr>')
	}
	if ((hour >=22) & (hour <=23)) {
		document.write('<center><img src="Images/NextUp.png"></center><hr><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Friday 19:30-20:30<br><b>Flashback Friday</b><br>presented by<br><b>Jim Manson</b></span><hr>')
	}
}

// Friday
if (day ==5)
{
		if ((hour >=00) & (hour <=18)) {
		document.write('<center><img src="Images/NextUp.png"></center><hr><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Friday 19:30-20:30<br><b>Flashback Friday</b><br>presented by<br><b>Jim Manson</b></span><hr>')
		}
	if (hour==19) {
		if ((minutes >=00) & (minutes <=29)) {
			document.write('<center><img src="Images/NextUp.png"></center><hr><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Friday 19:30-20:30<br><b>Flashback Friday</b><br>presented by<br><b>Jim Manson</b></span><hr>')
		}
		else {
			document.write('<center><img src="Images/OnNow.png"></center><hr><br><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Friday 19:30-20:30<br><b>Flashback Friday</b><br>presented by<br><b>Jim Manson</b></span><hr>')
		}
	}
	if (hour==20) {
			if ((minutes >=00) & (minutes <=29)) {
				document.write('<center><img src="Images/OnNow.png"></center><hr><br><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Friday 19:30-20:30<br><b>Flashback Friday</b><br>presented by<br><b>Jim Manson</b></span><hr>')
			}
			else {
				document.write('<center><img src="Images/OnNow.png"></center><hr><br><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Friday 20:30-22:00<br><b>TGI Friday</b><br>presented by<br><b>Boyd McAdam</b>, <b>Anne McKerchar</b>, and <b>Alan Dudley</b></span><hr>')
			}
	}
	if (hour ==21) {
		document.write('<center><img src="Images/OnNow.png"></center><hr><br><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Friday 20:30-22:00<br><b>TGI Friday</b><br>presented by<br><b>Boyd McAdam</b>, <b>Anne McKerchar</b>, and <b>Alan Dudley</b></span><hr>')
	}
	if ((hour >=22) & (hour <=23)) {
		document.write('<center><img src="Images/NextUp.png"></center><hr><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Saturday 19:30-20:30<br><b>The Comedy Hour</b></span><hr>')
	}
}

// Saturday
if (day ==6)
{
	if ((hour >=00) & (hour <=18)) {
		document.write('<center><img src="Images/NextUp.png"></center><hr><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Saturday 19:30-20:30<br><b>The Comedy Hour</b></span><hr>')
		}
	if (hour==19) {
		if ((minutes >=00) & (minutes <=29)) {
			document.write('<center><img src="Images/NextUp.png"></center><hr><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Saturday 19:30-20:30<br><b>The Comedy Hour</b></span><hr>')
		}
		else {
			document.write('<center><img src="Images/OnNow.png"></center><hr><br><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Saturday 19:30-20:30<br><b>The Comedy Hour</b></span><hr>')
		}
	}
	if (hour==20) {
			if ((minutes >=00) & (minutes <=29)) {
				document.write('<center><img src="Images/OnNow.png"></center><hr><br><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Saturday 19:30-20:30<br><b>The Comedy Hour</b></span><hr>')
			}
			else {
				document.write('<center><img src="Images/OnNow.png"></center><hr><br><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Saturday 20:30-22:00<br><b>Lucky Dip</b><br>presented by<br><b>Dilys Mack</b></span><hr>')
			}
	}
	if (hour ==21) {
		document.write('<center><img src="Images/OnNow.png"></center><hr><br><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Saturday 20:30-22:00<br><b>Lucky Dip</b><br>presented by<br><b>Dilys Mack</b></span><hr>')

	}
	if ((hour >=22) & (hour <=23)) {
		document.write('<center><img src="Images/NextUp.png"></center><hr><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Sunday 19:30-20:30<br><b>Classical Concert</b><br>presented by<br><b>Carole Conyngham</b></span><hr>')
	}
}

// Sunday
if (day ==0)
{
	if ((hour >=00) & (hour <=18)) {
		document.write('<center><img src="Images/NextUp.png"></center><hr><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Sunday 19:30-20:30<br><b>Classical Concert</b><br>presented by<br><b>Carole Conyngham</b></span><hr>')
		}
	if (hour==19) {
		if ((minutes >=00) & (minutes <=29)) {
			document.write('<center><img src="Images/NextUp.png"></center><hr><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Sunday 19:30-20:30<br><b>Classical Concert</b><br>presented by<br><b>Carole Conyngham</b></span><hr>')
		}
		else {
			document.write('<center><img src="Images/OnNow.png"></center><hr><br><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Sunday 19:30-20:30<br><b>Classical Concert</b><br>presented by<br><b>Carole Conyngham</b></span><hr>')
		}
	}
	if (hour==20) {
			if ((minutes >=00) & (minutes <=29)) {
				document.write('<center><img src="Images/OnNow.png"></center><hr><br><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Sunday 19:30-20:30<br><b>Classical Concert</b><br>presented by<br><b>Carole Conyngham</b></span><hr>')
			}
			else {
				document.write('<center><img src="Images/OnNow.png"></center><hr><br><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Sunday 20:30-22:00<br><b>Sunday Supplement</b><br>presented by<br><b>Margaret Farish</b> and <b>Laura McTaggart</b></span><hr>')
			}
	}
	if (hour ==21) {
		document.write('<center><img src="Images/OnNow.png"></center><hr><br><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Sunday 20:30-22:00<br><b>Sunday Supplement</b><br>presented by<br><b>Margaret Farish</b> and <b>Laura McTaggart</b></span><hr>')

	}
	if ((hour >=22) & (hour <=23)) {
		document.write('<center><img src="Images/NextUp.png"></center><hr><span style="font-size: 12px;font-weight: normal;color: #5e5e5f;font-family: helvetica;line-height: 150%;">Monday 19:30-20:30<br><b>The Goldmine</b><br>presented by<br><b>Terry McKenna</b></span><hr>') 
	}
}

// -->
