/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Script Name: 			ON AIR NOW SCRIPT
// Current Version:  		2.3
// Version Information:		Updated to a text only version for licencee.
//
// Licenced to:				NEIL BAILEY, ROOKWOOD SOUND HOSPITAL RADIO
//
// Author:    		 		Robert Pobjoy
// email:     				robert.pobjoy@hexwebs.co.uk
//	
// License:    				Permission is hereby granted to use and this code only by the Licencee listed above, with 
//							modifications, provided that this copyright notice is retained. You may not
// 							distribute, or sell this code for any purposes without prior notice from the Author.
//  						This script is provided *as is* and comes with no warranty of any kind, either expressed
//  						or implied. In no event will the copyright holder be liable for any damamges resulting from
//  						the use of this script.
//
// Usage Information: 		With the hours, the closing hour needs to be 1 below the next event.
// 							so for an item to run from 6am to 9 am you need to say: "if ((hour >=6) & (hour <=8)"
// 							the next hour would begin at "if ((hour >=9)" and so forth.
// 							This script uses the 24 hour clock!
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

// LETS DEFINE THE VARIABLES

			today = new Date();
			day = today.getDay();
			hour = today.getHours();
			
// ACTION TO TAKE

document.write("THE BIGGEST HITS NON-STOP")

/*
// MONDAY
			if (day ==1)  {
			if ((hour >=0) & (hour <=5) ) {document.write("NON STOP MUSIC") }
			if ((hour >=6) & (hour <=8) ) {document.write("TOM WEBBER") }
			if ((hour >=9) & (hour <=11) ) {document.write("MARK ATHERTON") }
			if ((hour >=12) & (hour <=15) ) {document.write("HELEN MASON") }
                        if ((hour >=16) & (hour <=19) ) {document.write("JORDAN HEMINGWAY") }
			if ((hour >=20) & (hour <=20) ) {document.write("IN DEMAND") }
			if ((hour >=21) & (hour <=23) ) {document.write("CRAIG PATTISON") }
			}
			
// TUESDAY
			if (day ==2)  {
			if ((hour >=0) & (hour <=5) ) {document.write("NON STOP MUSIC") }
			if ((hour >=6) & (hour <=8) ) {document.write("TOM WEBBER") }
			if ((hour >=9) & (hour <=11) ) {document.write("MARK ATHERTON") }
			if ((hour >=12) & (hour <=15) ) {document.write("HELEN MASON") }
                        if ((hour >=16) & (hour <=19) ) {document.write("JORDAN HEMINGWAY") }
			if ((hour >=20) & (hour <=20) ) {document.write("IN DEMAND") }
			if ((hour >=21) & (hour <=23) ) {document.write("CRAIG PATTISON") }
			}
// WEDNESDAY
			if (day ==3)  {
			if ((hour >=0) & (hour <=5) ) {document.write("NON STOP MUSIC") }
			if ((hour >=6) & (hour <=8) ) {document.write("TOM WEBBER") }
			if ((hour >=9) & (hour <=11) ) {document.write("MARK ATHERTON") }
			if ((hour >=12) & (hour <=15) ) {document.write("HELEN MASON") }
                        if ((hour >=16) & (hour <=19) ) {document.write("JORDAN HEMINGWAY") }
			if ((hour >=20) & (hour <=20) ) {document.write("IN DEMAND") }
			if ((hour >=21) & (hour <=21) ) {document.write("UK UNDISCOVERED CHART") }
			if ((hour >=21) & (hour <=23) ) {document.write("CRAIG PATTISON") }
			}		
				
			
// THURSDAY
			if (day ==4)  {
			if ((hour >=0) & (hour <=5) ) {document.write("NON STOP MUSIC") }
			if ((hour >=6) & (hour <=8) ) {document.write("TOM WEBBER") }
			if ((hour >=9) & (hour <=11) ) {document.write("MARK ATHERTON") }
			if ((hour >=12) & (hour <=15) ) {document.write("HELEN MASON") }
                        if ((hour >=16) & (hour <=19) ) {document.write("JORDAN HEMINGWAY") }
			if ((hour >=20) & (hour <=20) ) {document.write("IN DEMAND") }
			if ((hour >=21) & (hour <=23) ) {document.write("CRAIG PATTISON") }
			}
			
// FRIDAY
			if (day ==5)  {
			if ((hour >=0) & (hour <=5) ) {document.write("NON STOP MUSIC") }
			if ((hour >=6) & (hour <=8) ) {document.write("TOM WEBBER") }
			if ((hour >=9) & (hour <=11) ) {document.write("MARK ATHERTON") }
			if ((hour >=12) & (hour <=15) ) {document.write("HELEN MASON") }
			if ((hour >=16) & (hour <=20) ) {document.write("SIMON PAUL") }
                        if ((hour >=21) & (hour <=21) ) {document.write("NON STOP MUSIC") }
			if ((hour >=22) & (hour <=23) ) {document.write("NON STOP MUSIC") }
			}		


// SATURDAY
			if (day ==6)  {
			if ((hour >=0) & (hour <=5) ) {document.write("NON STOP MUSIC") }
			if ((hour >=6) & (hour <=11) ) {document.write("THE LIE IN") }
			if ((hour >=12) & (hour <=15) ) {document.write("JONNY & NAT") }
			if ((hour >=16) & (hour <=17) ) {document.write("LIVE AND UNSIGNED") }
			if ((hour >=18) & (hour <=20) ) {document.write("CRAIG PATTISON") }
			if ((hour >=21) & (hour <=21) ) {document.write("Beat Box") }
			if ((hour >=20) & (hour <=23) ) {document.write("NON STOP MUSIC") }
			}					

// SUNDAY
			if (day ==0)  {
			if ((hour >=0) & (hour <=11) ) {document.write("NON STOP MUSIC") }
			if ((hour >=6) & (hour <=11) ) {document.write("THE LIE IN") }
			if ((hour >=12) & (hour <=15) ) {document.write("CRAIG PATTISON") }
			if ((hour >=16) & (hour <=18) ) {document.write("JORDAN HEMINGWAY") }
			if ((hour >=19) & (hour <=20) ) {document.write("CAMERON WARD") }
			if ((hour >=21) & (hour <=21) ) {document.write("TIM SMITH") }
			if ((hour >=22) & (hour <=23) ) {document.write("NON-STOP MUSIC") }
			}
			
// END OF SCRIPT
*/
