
var thisUrl = document.location.toString();
var queryDay;
var queryDayPart;

var thisDate = new Date();
var today = thisDate.getDay();
var todayDate = thisDate.getDate();
var thisHour = thisDate.getHours();
var thisMinute = thisDate.getMinutes();
var thisMonth = thisDate.getMonth();
var timeNow = thisHour + ":" + thisMinute;
var dst = true;
var homeZone;
var timeChange;

tzOffset = thisDate.getTimezoneOffset()/60

if ( (thisMonth >= 2) && (thisMonth <= 10) )

{
	
	if ( (todayDate < 8) && (thisMonth == 2) ) dst = false;
	if ( (todayDate >8) && (thisMonth == 10) ) dst = false;
}

if (dst) homeZone = 7;
if (!dst) homeZone = 8;

timeChange = homeZone - tzOffset;

//alert(dst);


var srchQry = "";

thisWeek = new Array();
thisWeek[0] ="Sunday";
thisWeek[1] ="Monday";
thisWeek[2] ="Tuesday";
thisWeek[3] ="Wednesday";
thisWeek[4] ="Thursday";
thisWeek[5] ="Friday";
thisWeek[6] ="Saturday";

today = thisWeek[today];

if ((thisUrl.indexOf("?") >0) && (thisUrl.indexOf("search") <0))
{
	tmp = thisUrl.split("?");
	temp = tmp[1];
	tmp = temp.split("&")
	queryDay = tmp[0];
	queryDayPart = tmp[1];
}

if ((thisUrl.indexOf("?") >0) && (thisUrl.indexOf("search") >=0))
{
	tmp = thisUrl.split("?");
	srchQry = tmp[1]
}

if (thisUrl.indexOf("?") <=0)		// the default views "today starting at the present time"
{

queryDay = today;
queryDayPart = "00:00+24:00";

if (thisHour>=0) queryDayPart = "00:00+06:00";
if (thisHour>=6) queryDayPart = "06:00+12:00";
if (thisHour>=12) queryDayPart = "12:00+18:00";
if (thisHour>=18) queryDayPart = "18:00+24:00";

}

//alert(parseInt(queryDayPart))

showArray = new Array();

showArray[0] = new Array()
showArray[0][0] = "Status Update"; 		// show name
showArray[0][1] = "Monday";		// broadcast day(s)
showArray[0][2] = "11:30";		// start time
showArray[0][3] = "13:00";		// end time
showArray[0][4] = "Dave & Tina";		// host(s) name
showArray[0][5] = "Status Update is a fast paced, wild and wacky light hearted talk show featuring Dave Lettinga, professional musician and Tina Kempling, professional designer and movie buff. Every week, Dave & Tina talk about the most interesting pop culture, entertainment news, and social media stories."; 		// description
showArray[0][6] ="";		// internal webpage
showArray[0][7] ="info@status-update.com";		// show email
showArray[0][8] ="";		// external website
showArray[0][9] ="images/showicons/StatusUpdateIcon.jpeg"; 		// showIcon
showArray[0][10] ="off-air" 		// status on or off and repeat


showArray[1] = new Array()
showArray[1][0] = "Nocturnal Emissions";
showArray[1][1] = "Thursday";
showArray[1][2] = "22:00";
showArray[1][3] = "24:00";
showArray[1][4] = "Dan Snakehead";
showArray[1][5] = "";
showArray[1][6] ="";
showArray[1][7] ="";
showArray[1][8] ="";
showArray[1][9] =""; // showIcon
showArray[1][10] ="on-air" 								// status on or off

showArray[2] = new Array()
showArray[2][0] = "Global Chillage"
showArray[2][1] = "Tuesday"
showArray[2][2] = "22:00"
showArray[2][3] = "24:00"
showArray[2][4] = "Andrew Ross Collins and Sean Hill"
showArray[2][5] = "Global Chillage focusses on sounds from around the world with depth in electronica, roots, all forms of dub and much in between.  Sean is a label owner, musician and selector with years of experience in Canada and also in Jamaica working with the late great Yabby You.  Andrew founded the Interchill label in 1995, continues to dj at festivals and works as a music publisher and consultant."
showArray[2][6] ="globalchillage/index.html"
showArray[2][7] ="";
showArray[2][8] ="http://www.facebook.com/home.php?ref=home#/group.php?gid=133276071983";
showArray[2][9] ="images/showicons/globalchillageicon.jpg"; // showIcon
showArray[2][10] ="on-air" 								// status on or off

showArray[3] = new Array()
showArray[3][0] = "Music For A While"
showArray[3][1] = "Thursday"
showArray[3][2] = "18:30";
showArray[3][3] = "20:00";
showArray[3][4] = "Richard Moses";
showArray[3][5] = "Enjoy an evening of musical classics.";
showArray[3][6] =""
showArray[3][7] ="";
showArray[3][8] ="";
showArray[3][9] ="images/showicons/MusicForAWhileIcon.jpg"; // showIcon
showArray[3][10] ="on-air" 								// status on or off

showArray[4] = new Array()
showArray[4][0] = "Love in the Afternoon"		
showArray[4][1] = "Monday"
showArray[4][2] = "13:00";
showArray[4][3] = "14:00";
showArray[4][4] = "Ahava Shira"
showArray[4][5] = "A show all about the lyrical and practical possibilities of love. Join Ahava Shira for an ecstatic mix of spoken word poetry, teachings from the practice of Loving Inquiry, a creative & contemplative approach to building compassionate relationships, and her favourite folk, jazz and pop music from the 70’s to today."
showArray[4][6] =""
showArray[4][7] ="ahavashira@gmail.com";
showArray[4][8] ="http://www.ahavashira.com";
showArray[4][9] ="images/showicons/AhavaIcon.jpg"; // showIcon
showArray[4][10] ="on-air" 								// status on or off

showArray[5] = new Array()
showArray[5][0] = "The Alan Moberg Show"
showArray[5][1] = "Wednesday"
showArray[5][2] = "12:00";
showArray[5][3] = "13:00";
showArray[5][4] = "Alan Moberg and produced by Bill Nash.";
showArray[5][5] = "With B.C. Country Music Hall Of Famer Alan Moberg.  The music that mainstream radio doesn't play.  Roots music sharing the traditions of country, folk, r & b and rock 'n roll.  A half hour of recordings of Alan's musical influences from early Elvis to Rodney Crowell, Stuart Hamlin to T. Texas Tyler, Gram Parsons to Stacey Earle, Guy Clarke to Emmy Lou Harris, and a half hour of Alan performing live songs from his 16 CDs and more.  Songs and stories to delight.";
showArray[5][6] ="";
showArray[5][7] ="";
showArray[5][8] ="http://alanmoberg.com";
showArray[5][9] ="images/showicons/mobergicon.jpg"; // showIcon
showArray[5][10] ="on-air"							// status on or off

showArray[6] = new Array()
showArray[6][0] = "The Exponent"
showArray[6][1] = "Wednesday"
showArray[6][2] = "22:00";
showArray[6][3] = "24:00";
showArray[6][4] = "Rod Shoolbraid";	//
showArray[6][5] = "The Exponent is a three part music show. The first part is a thematic, call THREADS & CONNECTIONS, playing music that has some thing in common. The second is a personal new music playlist with some info called NEW MUSIC OR NEW TO ME.  And the final part is a live element called WE'LL DO IT LIVE, which always remains a bit of a mystery, (could be a live dj set, a live concert, a bootleg, and in the future live musicians in the studio.";
showArray[6][6] ="";
showArray[6][7] ="theexponentradioshow@gmail.com";
showArray[6][8] ="";
showArray[6][9] ="images/showicons/THEEXPONENTicon.jpeg"; // showIcon
showArray[6][10] ="on-air"							// status on or off

showArray[7] = new Array()
showArray[7][0] = "All Things Salt Spring"; 		// show name
showArray[7][1] = "Monday, Wednesday, Thursday";		// broadcast day(s)
showArray[7][2] = "7:00";		// start time
showArray[7][3] = "9:00";		// end time
showArray[7][4] = "Li Read and Dave Gordon";		// host(s) name
showArray[7][5] = "An eclectic potpourri of music and musings to entertain."; 		// description
showArray[7][6] ="";		// internal webpage
showArray[7][7] ="";		// show email
showArray[7][8] ="";		// external website
showArray[7][9] ="images/showicons/AllThingsIcon.jpg"; 		// showIcon
showArray[7][10] ="on-air" 		// status on or off

showArray[8] = new Array()
showArray[8][0] = "Cooking with Wood" 
showArray[8][1] = "Monday"
showArray[8][2] = "10:00";
showArray[8][3] = "11:00";
showArray[8][4] = "Bruce Wood"
showArray[8][5] = "One of Salt Spring's favourite chefs shares his recipes and stories."
showArray[8][6] =""
showArray[8][7] ="";
showArray[8][8] ="";
showArray[8][9] ="images/showicons/BruceIcon.jpg"; // showIcon
showArray[8][10] ="on-air" 								// status on or off

showArray[9] = new Array()
showArray[9][0] = "Country Fried Brunch"; 		// show name
showArray[9][1] = "Monday";		// broadcast day(s)
showArray[9][2] = "10:00";		// start time
showArray[9][3] = "11:00";		// end time
showArray[9][4] = "Tracey Hogarth";		// host(s) name
showArray[9][5] = "It's not quite breakfast and it's not quite lunch but it comes with a slice of country music. You will love it, especially if you are drinking mimosas."; 		// description
showArray[9][6] ="";		// internal webpage
showArray[9][7] ="";		// show email
showArray[9][8] ="";		// external website
showArray[9][9] =""; 		// showIcon
showArray[9][10] ="off-air" 		// status on or off

showArray[10] = new Array()
showArray[10][0] = "The Two Daves Show"; 		// show name
showArray[10][1] = "Monday";		// broadcast day(s)
showArray[10][2] = "14:00";		// start time
showArray[10][3] = "17:00";		// end time
showArray[10][4] = "Dave and Dave";		// host(s) name
showArray[10][5] = "Blues and Soul are our meat and potatoes, but our gravy is constantly changing.  We Daves will play songs that reflect the mood of the day: both ours, and the world we see around us.  We will dig deep into our massive collections every week to find things to make you chuckle, scratch your head, and tap your feet: all at the same time, hopefully.  The Two Daves' Show is where you wind up unwinding. Let us be your chilly breeze at naptime";			// description
showArray[10][6] ="thetwodavesshow/index.html";		// internal webpage
showArray[10][7] ="";		// show email
showArray[10][8] ="http://www.facebook.com/pages/The-Two-Daves-Show/163955711129?v=info";		// external website
showArray[10][9] ="images/showicons/twodavesicon.jpg"; 		// showIcon
showArray[10][10] ="on-air" 		// status on or off

showArray[11] = new Array()
showArray[11][0] = "Jukebox Johnny\'s Rockin\' Record Machine"; 		// show name
showArray[11][1] = "Tuesday";		// broadcast day(s)
showArray[11][2] = "13:00";		// start time
showArray[11][3] = "13:30";		// end time
showArray[11][4] = "Johnny DeVille";		// host(s) name
showArray[11][5] = "Join Johnny for your weekly dose of classic rock and oldies."; 		// description
showArray[11][6] ="";		// internal webpage
showArray[11][7] ="";		// show email
showArray[11][8] ="";		// external website
showArray[11][9] ="images/showicons/JukeboxJohnnyIcon.jpeg"; 		// showIcon
showArray[11][10] ="on-air" 		// status on or off and repeat

showArray[12] = new Array()
showArray[12][0] = "Takin' Care of Business"; 		// show name
showArray[12][1] = "Thursday";		// broadcast day(s)
showArray[12][2] = "11:30";		// start time
showArray[12][3] = "12:00";		// end time
showArray[12][4] = "Li Read &amp; Gary Brooks";		// host(s) name
showArray[12][5] = "Profiles of local businesses and interviews with their owners"; 		// description
showArray[12][6] ="";		// internal webpage
showArray[12][7] ="";		// show email
showArray[12][8] ="";		// external website
showArray[12][9] =""; 		// showIcon
showArray[12][10] ="on-air" 		// status on or off


showArray[13] = new Array()
showArray[13][0] = "The Speakeasy"; 		// show name
showArray[13][1] = "Monday";		// broadcast day(s)
showArray[13][2] = "20:00";		// start time
showArray[13][3] = "22:00";		// end time
showArray[13][4] = "John Bateman &amp; Matt Steffich";		// host(s) name
showArray[13][5] = "A variety show constructed on a solid foundation of humour, non-scripted chat, based around loose themes. Not a news or issue-driven program. In brief: random."; 		// description
showArray[13][6] ="";		// internal webpage
showArray[13][7] ="thespeakeasy@rocketmail.com";		// show email
showArray[13][8] ="http://www.speakeasyweb.com";		// external website
showArray[13][9] ="images/showicons/SpeakeasyIcon.jpg"; 		// showIcon
showArray[13][10] ="on-air" 		// status on or off

showArray[14] = new Array()
showArray[14][0] = "Tasting Room"; 		// show name			
showArray[14][1] = "Saturday";		// broadcast day(s)
showArray[14][2] = "16:00";		// start time
showArray[14][3] = "17:00";		// end time
showArray[14][4] = "Terry David Mulligan";		// host(s) name
showArray[14][5] = "Tasting Room is the radio version of an audio blend, a Meritage for the soul, take the daily conversations between chefs, sommeliers, wine growers/owners/makers, writers, artisans and throw in the occasional celebrity and see how the mix works."; 		// description
showArray[14][6] ="";		// internal webpage
showArray[14][7] ="tdm@tastingroomradio.com";		// show email
showArray[14][8] ="http://tastingroomradio.com";		// external website
showArray[14][9] ="images/showicons/TDMIcon.jpg"; 		// showIcon
showArray[14][10] ="on-air" 		// status on or off

showArray[15] = new Array()
showArray[15][0] = "The skinny, half caf, half sweet, sugar free vanilla latte, no foam, extra hot to 175 degrees drive show"; 		// show name
showArray[15][1] = "Thursday";		// broadcast day(s)
showArray[15][2] = "17:00";		// start time
showArray[15][3] = "18:30";		// end time
showArray[15][4] = "Gary Brooks &amp; John Dolman";		// host(s) name
showArray[15][5] = ""; 		// description
showArray[15][6] ="";		// internal webpage
showArray[15][7] ="";		// show email
showArray[15][8] ="";		// external website
showArray[15][9] ="images/showicons/TuesMornIcon.jpg"; 		// showIcon
showArray[15][10] ="on-air" 		// status on or off

showArray[16] = new Array()
showArray[16][0] = "Salt Spring Real Estate"; 		// show name
showArray[16][1] = "Tuesday";		// broadcast day(s)
showArray[16][2] = "12:00";		// start time
showArray[16][3] = "13:00";		// end time
showArray[16][4] = "Scott Simmons";		// host(s) name
showArray[16][5] = ""; 		// description
showArray[16][6] ="";		// internal webpage
showArray[16][7] ="";		// show email
showArray[16][8] ="";		// external website
showArray[16][9] ="images/showicons/RealEstateIcon.jpg"; 		// showIcon
showArray[16][10] ="on-air" 		// status on or off

showArray[17] = new Array()
showArray[17][0] = "Just Jazz"; 		// show name
showArray[17][1] = "Friday";		// broadcast day(s)
showArray[17][2] = "14:00";		// start time
showArray[17][3] = "16:00";		// end time
showArray[17][4] = "John Moore";		// host(s) name
showArray[17][5] = "Mainstream jazz, from its New Orleans roots (Louis Armstrong, Sidney Bechet) to contemporary performers such as Diana Krall and Michael Buble. Big bands, bebop, cool (Gerry Mulligan, Paul Desmond) and the present-day scene on our West Coast and locally (Monik Nordine, Hugh Fraser). What the music was and how it continues to evolve. Interviews with local jazz players and fans, featuring their stories and favourite music."; 		// description
showArray[17][6] ="justjazz/index.html";		// internal webpage
showArray[17][7] ="justjazz2@shaw.ca";		// show email
showArray[17][8] ="";		// external website
showArray[17][9] ="images/showicons/justjazzicon.jpg"; 		// showIcon
showArray[17][10] ="on-air" 		// status on or off

showArray[18] = new Array()
showArray[18][0] = "Hip Hop On The Rock"; 	// show name
showArray[18][1] = "Friday";			// broadcast day(s)
showArray[18][2] = "21:30";			// start time
showArray[18][3] = "24:00";			// end time
showArray[18][4] = "Dano Hammer";	// host(s) name
showArray[18][5] = "A lively two and a half hour hip-hop dance party, jam-packed with irresistible beats."; // description
showArray[18][6] ="";	// internal webpage
showArray[18][7] ="info@danohammer.com";								// show email
showArray[18][8] ="http://danohammer.com";								// external website
showArray[18][9] ="images/showicons/dancepartyicon.jpg"; // showIcon
showArray[18][10] ="off-air" 								// status on or off

showArray[19] = new Array()
showArray[19][0] = "Home Game"; 		// show name
showArray[19][1] = "Tuesday";		// broadcast day(s)
showArray[19][2] = "20:00";		// start time
showArray[19][3] = "22:00";		// end time
showArray[19][4] = "Rob Pingle";		// host(s) name
showArray[19][5] = "The finest Canadian music from all points of the map and all styles of music, past and present, featuring interviews with artists touring to and living on Salt Spring."; 		// description
showArray[19][6] ="homegame/index.html";		// internal webpage
showArray[19][7] ="homegame@telus.net";		// show email
showArray[19][8] ="http://www.homegameradio.com/";		// external website
showArray[19][9] ="images/showicons/homegameicon.gif"; 		// showIcon
showArray[19][10] ="on-air" 		// status on or off and repeat

showArray[20] = new Array()
showArray[20][0] = "Clowns Are Scary"; 		// show name
showArray[20][1] = "Sunday";		// broadcast day(s)
showArray[20][2] = "20:00";		// start time
showArray[20][3] = "20:30";		// end time
showArray[20][4] = "The Lost Boy";		// host(s) name
showArray[20][5] = "A thematic, non-partisan, non-sectarian program presenting views around primal life issues, and art. Noise, Sound Art, Language Art, and the narrative are used to support the central argument. The position taken by your presenter is that life is fundamentally absurdist, and one must never trust anyone in disguise."; 		// description
showArray[20][6] ="";		// internal webpage
showArray[20][7] ="radio.lostboy@gmail.com";		// show email
showArray[20][8] ="";		// external website
showArray[20][9] ="images/showicons/ClownsIcon.jpg"; 		// showIcon
showArray[20][10] ="on-air" 		// status on or off and repeat

showArray[21] = new Array()
showArray[21][0] = "Word on the Rock"; 		// show name
showArray[21][1] = "Wednesday";		// broadcast day(s)
showArray[21][2] = "11:30";		// start time
showArray[21][3] = "12:00";		// end time
showArray[21][4] = "Karen Hudson &amp; David Hart";		// host(s) name
showArray[21][5] = "Your Salt Spring Public Library connection with interviews of local authors and conversation about books and more."; 		// description
showArray[21][6] ="";		// internal webpage
showArray[21][7] ="";		// show email
showArray[21][8] ="http://saltspring.bclibrary.ca/";		// external website
showArray[21][9] ="images/showicons/WordOnTheRockIcon.jpg"; 		// showIcon
showArray[21][10] ="on-air" 		// status on or off and repeat

showArray[22] = new Array()
showArray[22][0] = "Island to Island"; 		// show name
showArray[22][1] = "Friday";		// broadcast day(s)
showArray[22][2] = "22:00";		// start time
showArray[22][3] = "23:00";		// end time
showArray[22][4] = "Jose Sanchez";		// host(s) name
showArray[22][5] = "Jose Sanchez is a Percussionist from Cuba. He began learning purcussion at Manuel Saumell School of Music from age 11 and graduated as a Musician and Teacher from the Amadeo Roldan Conservatory in Havana. He has toured extensively through South America, North America and Europe with big Cuban names such as Adalberto Alvarez y su Son, Rojitas y su Orquesta, Amaury Perez and others. Jose moved to Vancouver in 1997, where he joined the music scene with Puentes Brothers, Juno award winner Alex Cuba and Canadian pop singer Amanda Marshall. He now lives on Salt Spring and when he isn't playing music live he is sharing his love for Latin music here."; 		// description
showArray[22][6] ="";		// internal webpage
showArray[22][7] ="";		// show email
showArray[22][8] ="";		// external website
showArray[22][9] ="images/showicons/IslandToIslandIcon.jpg"; 		// showIcon
showArray[22][10] ="on-air" 		// status on or off and repeat

showArray[23] = new Array()
showArray[23][0] = "The Beanstalk"; 		// show name
showArray[23][1] = "Friday";		// broadcast day(s)
showArray[23][2] = "10:00";		// start time
showArray[23][3] = "10:30";		// end time
showArray[23][4] = "Janine Fernandes-Hayden";		// host(s) name
showArray[23][5] = "If you are a parent or caregiver of young children, then this is the show for you.  Planting seeds for thought with current research and information, personal reflections and practical strategies for the daily travails of childrearing.  Plus, songs and story time for kids to enjoy."; 		// description
showArray[23][6] ="";		// internal webpage
showArray[23][7] ="thebeanstalk.cfsi@gmail.com";		// show email
showArray[23][8] ="";		// external website
showArray[23][9] ="images/showicons/beanstockicon.jpg"; 		// showIcon
showArray[23][10] ="on-air" 		// status on or off and repeat

showArray[24] = new Array()
showArray[24][0] = "The Latisha Show"; 		// show name
showArray[24][1] = "Tuesday";		// broadcast day(s)
showArray[24][2] = "7:30";		// start time
showArray[24][3] = "9:30";		// end time
showArray[24][4] = "Latisha &amp; Scott";		// host(s) name
showArray[24][5] = ""; 		// description
showArray[24][6] ="";		// internal webpage
showArray[24][7] ="";		// show email
showArray[24][8] ="";		// external website
showArray[24][9] =""; 		// showIcon
showArray[24][10] ="on-air" 		// status on or off and repeat

showArray[25] = new Array()
showArray[25][0] = "Sounds Classical"; 		// show name
showArray[25][1] = "Sunday";		// broadcast day(s)
showArray[25][2] = "18:00";		// start time
showArray[25][3] = "20:00";		// end time
showArray[25][4] = "George Ehring";		// host(s) name
showArray[25][5] = "Featuring a wide range of classical music with biographical and other commentary that will place composers and their works in their historical context. This show provides listeners with a little bit of music-appreciation along with the music."; 		// description
showArray[25][6] ="";		// internal webpage
showArray[25][7] ="";		// show email
showArray[25][8] ="";		// external website
showArray[25][9] ="images/showicons/SoundsClassicalIcon.jpg"; 		// showIcon
showArray[25][10] ="on-air" 		// status on or off and repeat

showArray[26] = new Array()
showArray[26][0] = "Valdy's Radio Hour | l'Heure de Valdy"; 		// show name
showArray[26][1] = "Wednesday";		// broadcast day(s)
showArray[26][2] = "20:00";		// start time
showArray[26][3] = "21:00";		// end time
showArray[26][4] = "Valdy or guest host Jose Sanchez";		// host(s) name
showArray[26][5] = "Weekly musical elements include Songs of the Salish Sea, the Generation Wheel, and Musicians that Rocked my World."; 		// description
showArray[26][6] ="";		// internal webpage
showArray[26][7] ="";		// show email
showArray[26][8] ="";		// external website
showArray[26][9] ="images/showicons/valdyshowicon.jpg"; 		// showIcon
showArray[26][10] ="on-air" 		// status on or off and repeat

showArray[27] = new Array()
showArray[27][0] = "Out With It"; 		// show name
showArray[27][1] = "Wednesday";		// broadcast day(s)
showArray[27][2] = "21:00";		// start time
showArray[27][3] = "22:00";		// end time
showArray[27][4] = "Ken Rouleau &amp; Dave Campbell";		// host(s) name
showArray[27][5] = "This is an information forum that typically deals with the news behind the news- the truth behind the mainstream lies. Explored with wit and wisdom by two of Salt Spring's well known activists, come along for a thrilling info ride that you won't forget."; 		// description
showArray[27][6] ="";		// internal webpage
showArray[27][7] ="outwithit@rocketmail.com";		// show email
showArray[27][8] ="http://outwithit.ca/";		// external website
showArray[27][9] ="images/showicons/OutWithItIcon.jpg"; 		// showIcon
showArray[27][10] ="on-air" 		// status on or off and repeat

showArray[28] = new Array()
showArray[28][0] = "The Troublemakers"; 		// show name
showArray[28][1] = "Thursday";		// broadcast day(s)
showArray[28][2] = "15:30";		// start time
showArray[28][3] = "17:00";		// end time
showArray[28][4] = "Eric Booth &amp; Drew Clark";		// host(s) name
showArray[28][5] = "political talk, music and ferries,weather and drive-time info"; 		// description
showArray[28][6] ="";		// internal webpage
showArray[28][7] ="";		// show email
showArray[28][8] ="";		// external website
showArray[28][9] =""; 		// showIcon
showArray[28][10] ="on-air" 		// status on or off and repeat

showArray[29] = new Array()
showArray[29][0] = "Stayin' Alive and Well"; 		// show name
showArray[29][1] = "Thursday";		// broadcast day(s)
showArray[29][2] = "13:00";		// start time
showArray[29][3] = "13:30";		// end time
showArray[29][4] = "Darlene Steele";		// host(s) name
showArray[29][5] = "A focus on health and fitness issues with short presentations of current health topics, interviews with professionals and answers to questions from listeners."; 		// description
showArray[29][6] ="";		// internal webpage
showArray[29][7] ="";		// show email
showArray[29][8] ="";		// external website
showArray[29][9] ="images/showicons/DarleneSteeleIcon.jpg"; 		// showIcon
showArray[29][10] ="on-air" 		// status on or off and repeat

showArray[30] = new Array()
showArray[30][0] = "Paul Marcano : Self-Portrait of a Famous Unknown"; 		// show name
showArray[30][1] = "Thursday";		// broadcast day(s)
showArray[30][2] = "20:30";		// start time
showArray[30][3] = "22:00";		// end time
showArray[30][4] = "Paul Marcano";		// host(s) name
showArray[30][5] = "Spanning an entire life’s work of home recordings and the evolution of the technology that has allowed it, Paul Marcano shares his songs and compositions here for the very first time on-air. A virtual reality architect by trade he shares his thoughts on where the technology is taking us and how it is shaping the way artists can effectively interact with the new potential of our times."; 		// description
showArray[30][6] ="";		// internal webpage
showArray[30][7] ="";		// show email
showArray[30][8] ="";		// external website
showArray[30][9] ="images/showicons/marcanoicon.jpg"; 		// showIcon
showArray[30][10] ="on-air" 		// status on or off and repeat

showArray[31] = new Array()
showArray[31][0] = "CFSI Morning Magazine"; 		// show name
showArray[31][1] = "Monday, Tuesday, Wednesday, Thursday, Friday";		// broadcast day(s)
showArray[31][2] = "9:00";		// start time
showArray[31][3] = "10:00";		// end time
showArray[31][4] = "";		// host(s) name
showArray[31][5] = "Featuring 'In The First Person' with Patricia Lockie - If you have a story to tell and have always been meaning to get it down on paper, now's the time; 'Starstruck Astrology' with commentaries by Gwenyth Luptak on current patterns in the sky and what that means for us. Topics vary from Mayan astrology to the current lunar cycle and v/c times; The Saltspring Volunteer Fire Department Report with Chief Tom Bremner; The CRD Director's Report with Garth Hendron and the 'Community Calendar'."; 		// description
showArray[31][6] ="";		// internal webpage
showArray[31][7] ="";		// show email
showArray[31][8] ="";		// external website
showArray[31][9] =""; 		// showIcon
showArray[31][10] ="on-air" 		// status on or off and repeat

showArray[32] = new Array()
showArray[32][0] = "CFSI Community Calendar"; 		// show name
showArray[32][1] = "Monday, Tuesday, Wednesday, Thursday, Friday, Sunday";		// broadcast day(s)
showArray[32][2] = "18:00";		// start time
showArray[32][3] = "18:30";		// end time
showArray[32][4] = "Mike Cherry";		// host(s) name
showArray[32][5] = "Find out what is happening in the community everyday of the week as part of the Morning Magazine, throughout the day and at 6pm."; 		// description
showArray[32][6] ="";		// internal webpage
showArray[32][7] ="communitycalendar@cfsi-fm.com";		// show email
showArray[32][8] ="";		// external website
showArray[32][9] ="images/showicons/solarheaticon.jpg"; 		// showIcon
showArray[32][10] ="on-air" 		// status on or off and repeat


showArray[33] = new Array()
showArray[33][0] = "Solar Heat"; 		// show name
showArray[33][1] = "Friday";		// broadcast day(s)
showArray[33][2] = "12:00";		// start time
showArray[33][3] = "14:00";		// end time
showArray[33][4] = "Mike Cherry";		// host(s) name
showArray[33][5] = "Euro style program of jazz, acid-jazz, soul, neo-soul &amp; lounge, both current and vintage with an emphasis on indie artists; exclusive UK soul pre-releases and plenty of in-house custom jazz remixes too! Lunch never sounded so tasty!"; 		// description
showArray[33][6] ="";		// internal webpage
showArray[33][7] ="";		// show email
showArray[33][8] ="";		// external website
showArray[33][9] ="images/showicons/solarheaticon.jpg"; 		// showIcon
showArray[33][10] ="on-air" 		// status on or off and repeat

showArray[34] = new Array()
showArray[34][0] = "Starstruck Astrology"; 		// show name
showArray[34][1] = "Wednesday";		// broadcast day(s)
showArray[34][2] = "17:00";		// start time
showArray[34][3] = "17:30";		// end time
showArray[34][4] = "Gwenyth Luptak";		// host(s) name
showArray[34][5] = "A three times weekly Astrology series, with commentaries by Gwenyth Luptak on current patterns in the sky and what that means for us. Topics vary from Mayan astrology to the current lunar cycle and v/c times. Monday, Wednesday and Friday's during the 9 am CFSI Magazine and again at 5:00 pm."; 		// description
showArray[34][6] ="";		// internal webpage
showArray[34][7] ="";		// show email
showArray[34][8] ="";		// external website
showArray[34][9] ="images/showicons/StarstruckAstrologyIcon.jpg"; 		// showIcon
showArray[34][10] ="off-air" 		// status on or off and repeat

showArray[35] = new Array()
showArray[35][0] = "Saturday Night Rock"; 		// show name
showArray[35][1] = "Sunday";		// broadcast day(s)
showArray[35][2] = "0:00";		// start time
showArray[35][3] = "2:00";		// end time
showArray[35][4] = "Brad White";		// host(s) name
showArray[35][5] = "Keep your Saturdays going right until Sunday morning as Brad White brings you every possible genre of music, with some shows featuring specific artists or a particular genre of music (jazz, soul etc), and some celebrating special occasions and holidays."; 		// description
showArray[35][6] ="";		// internal webpage
showArray[35][7] ="";		// show email
showArray[35][8] ="";		// external website
showArray[35][9] ="images/showicons/IllogicallyYoursIcon.jpg"; 		// showIcon
showArray[35][10] ="on-air" 		// status on or off and repeat

showArray[36] = new Array()
showArray[36][0] = "The Zone"; 	// show name
showArray[36][1] = "Tuesday";			// broadcast day(s)
showArray[36][2] = "15:30";			// start time
showArray[36][3] = "17:30";			// end time
showArray[36][4] = "Dave Roland";	// host(s) name
showArray[36][5] = "Dave Roland brings his favourite music to CFSI every Tuesday afternoon.  Expect a hoppin' juke-joint full of tunes."; // description
showArray[36][6] ="";	// internal webpage
showArray[36][7] ="";								// show email
showArray[36][8] ="";								// external website
showArray[36][9] =""; // showIcon
showArray[36][10] ="on-air" 								// status on-air or off-air

showArray[37] = new Array()
showArray[37][0] = "Rollin' Down The Road"; 		// show name
showArray[37][1] = "Tuesday";		// broadcast day(s)
showArray[37][2] = "14:00";		// start time
showArray[37][3] = "15:30";		// end time
showArray[37][4] = "DJ Lugnutt";		// host(s) name
showArray[37][5] = "Join DJ Lugnutt for your weekly dose of classic rock and oldies."; 		// description
showArray[37][6] ="";		// internal webpage
showArray[37][7] ="";		// show email
showArray[37][8] ="";		// external website
showArray[37][9] =""; 		// showIcon
showArray[37][10] ="on-air, cont" 		// status on or off and repeat

showArray[38] = new Array()
showArray[38][0] = "Heart of the Islands Satsang"; 		// show name			
showArray[38][1] = "Sunday";		// broadcast day(s)
showArray[38][2] = "10:30";		// start time
showArray[38][3] = "12:00";		// end time
showArray[38][4] = "Radha Fournier";		// host(s) name
showArray[38][5] = "Celebrate the world's spiritual heartbeat through music where we find the common ground of all spiritual beliefs.  Enjoy an international mix of music interspersed with spiritual reflections.  A full range of music from Baroque to Indian to Celtic to Middle Eastern to Gregorian Chants with some Big Band, Gospel and Blues thrown in to liven things up."; 		// description
showArray[38][6] ="";		// internal webpage
showArray[38][7] ="radha@heartoftheislandssatsang.com";		// show email
showArray[38][8] ="http://www.heartoftheislandssatsang.com";		// external website
showArray[38][9] ="images/showicons/RadhaIcon.jpg"; 		// showIcon
showArray[38][10] ="on-air" 		// status on or off and repeat

showArray[39] = new Array()
showArray[39][0] = "Heart of the Islands Satsang"; 		// show name
showArray[39][1] = "Sunday";		// broadcast day(s)
showArray[39][2] = "12:00";		// start time
showArray[39][3] = "12:30";		// end time
showArray[39][4] = "Radha Fournier";		// host(s) name
showArray[39][5] = "Celebrate the world's spiritual heartbeat through music where we find the common ground of all spiritual beliefs.  Enjoy an international mix of music interspersed with spiritual reflections.  A full range of music from Baroque to Indian to Celtic to Middle Eastern to Gregorian Chants with some Big Band, Gospel and Blues thrown in to liven things up."; 		// description
showArray[39][6] ="";		// internal webpage
showArray[39][7] ="radha@heartoftheislandssatsang.com";		// show email
showArray[39][8] ="http://www.heartoftheislandssatsang.com";		// external website
showArray[39][9] ="images/showicons/RadhaIcon.jpg"; 		// showIcon
showArray[39][10] ="on-air, cont" 		// status on or off and repeat

showArray[40] = new Array()
showArray[40][0] = "At The Crossroads"; 		// show name
showArray[40][1] = "Saturday";		// broadcast day(s)
showArray[40][2] = "18:00";		// start time
showArray[40][3] = "19:00";		// end time
showArray[40][4] = "Brant Zwicker";		// host(s) name
showArray[40][5] = "Focusing on the many genres that fit under the umbrella of <i>the blues</i>. This mainly contemporary music-intensive program features a classic cut or artist, plus a two-song spotlight on a new blues release. "; 		// description
showArray[40][6] ="atthecrossroads/index.html";		// internal webpage
showArray[40][7] ="";		// show email
showArray[40][8] ="http://www.atcblues.ca";		// external website
showArray[40][9] ="images/showicons/athecrossroadsicon.jpg"; 		// showIcon
showArray[40][10] ="on-air" 		// status on or off and repeat

showArray[41] = new Array()
showArray[41][0] = "Illogically Yours"; 		// show name
showArray[41][1] = "Friday";		// broadcast day(s)
showArray[41][2] = "20:00";		// start time
showArray[41][3] = "21:30";		// end time
showArray[41][4] = "Brad White";		// host(s) name
showArray[41][5] = "Every Friday, Brad White and his spiritual advisor, Rocky the wonder pug, welcome the start of the weekend. Every possible genre of music is covered, with some shows featuring specific artists or a particular genre of music (jazz, soul etc), and some celebrating special occasions and holidays."; 		// description
showArray[41][6] ="";		// internal webpage
showArray[41][7] ="";		// show email
showArray[41][8] ="";		// external website
showArray[41][9] ="images/showicons/IllogicallyYoursIcon.jpg"; 		// showIcon
showArray[41][10] ="on-air" 		// status on or off and repeat

showArray[42] = new Array()
showArray[42][0] = "Elevator Club"; 		// show name
showArray[42][1] = "Sunday";		// broadcast day(s)
showArray[42][2] = "6:00";		// start time
showArray[42][3] = "10:00";		// end time
showArray[42][4] = "Gord Bibby";		// host(s) name
showArray[42][5] = "<i>\"The most beautiful music in the world.\"</i> Elevator Club is a little jazzy and a little classy featuring lush instrumentals and soothing vocals from the golden age of easy listening &amp; MOR radio including performances by contemporary artists such as Burnaby's Michael Buble and Nanaimo's Diana Krall. If you missed a show you can download previous episodes at the Elevator Club website."; 		// description
showArray[42][6] ="";		// internal webpage
showArray[42][7] ="";		// show email
showArray[42][8] ="http://elevatorclubradio.com/";		// external website
showArray[42][9] ="images/showicons/elevatorclubicon.gif"; 		// showIcon
showArray[42][10] ="on-air" 		// status on or off and repeat

showArray[43] = new Array()
showArray[43][0] = "Hold Fast Thy Word"; 		// show name
showArray[43][1] = "Sunday";		// broadcast day(s)
showArray[43][2] = "10:00";		// start time
showArray[43][3] = "10:30";		// end time
showArray[43][4] = "Stephen &amp; Nicole";		// host(s) name
showArray[43][5] = "Bible verses selected and read with appropriate music and thoughtful and knowledgeable commentary."; 		// description
showArray[43][6] ="";		// internal webpage
showArray[43][7] ="holdfastthyword@gmail.com";		// show email
showArray[43][8] ="http://www.holdfastthyword.com";		// external website
showArray[43][9] ="images/showicons/HFTWIcon.jpg"; 		// showIcon
showArray[43][10] ="on-air" 		// status on or off and repeat

showArray[44] = new Array()
showArray[44][0] = "Politics Be Damned"; 		// show name		UP FOR GRABS
showArray[44][1] = "Wednesday";		// broadcast day(s)
showArray[44][2] = "16:00";		// start time
showArray[44][3] = "17:00";		// end time
showArray[44][4] = "Darlene Steele";		// host(s) name
showArray[44][5] = "Darlene Stirs the pot with political news, views and interviews, whether local, provincial or federal."; 		// description
showArray[44][6] ="";		// internal webpage
showArray[44][7] ="";		// show email
showArray[44][8] ="";		// external website
showArray[44][9] ="images/showicons/DarleneSteeleIcon.jpg"; 		// showIcon
showArray[44][10] ="on-air" 		// status on or off and repeat

showArray[45] = new Array()
showArray[45][0] = "Themes and Variations"; 		// show name
showArray[45][1] = "Sunday";		// broadcast day(s)
showArray[45][2] = "14:00";		// start time
showArray[45][3] = "15:00";		// end time
showArray[45][4] = "Murray Shoolbraid";		// host(s) name
showArray[45][5] = "Murray introduces music on a different theme each week, playing an eclectic mix of classical (heavy to light), popular music, folk songs, etc. etc.; and also examines what composers have done with other people's music."; 		// description
showArray[45][6] ="";		// internal webpage
showArray[45][7] ="";		// show email
showArray[45][8] ="";		// external website
showArray[45][9] ="images/showicons/MurrayShoolbraidIcon.jpg"; 		// showIcon
showArray[45][10] ="on-air" 		// status on or off and repeat

showArray[46] = new Array()
showArray[46][0] = "Bubbe's Blues"; 		// show name
showArray[46][1] = "Sunday";		// broadcast day(s)
showArray[46][2] = "15:00";		// start time
showArray[46][3] = "16:00";		// end time
showArray[46][4] = "Hannah Brown";		// host(s) name
showArray[46][5] = "Bubbe, aka Hannah Brown, will spin the turntable and elicit those wonderful old songs of the Blues Queens from the 1920's into the 1940's. Some of Bubbe's favourite philosophy might be thrown into the mix...what could be bad!"; 		// description
showArray[46][6] ="bubbesblues/index.html";		// internal webpage
showArray[46][7] ="bubbesblues@gmail.com";		// show email
showArray[46][8] ="";		// external website
showArray[46][9] ="images/showicons/bubbes-blues-hannah-icon.jpg"; 		// showIcon
showArray[46][10] ="on-air" 		// status on or off and repeat

showArray[47] = new Array()
showArray[47][0] = "Sounds Like Salt Spring"; 		// show name
showArray[47][1] = "Sunday";		// broadcast day(s)
showArray[47][2] = "16:00";		// start time
showArray[47][3] = "18:00";		// end time
showArray[47][4] = "Bill Nash";		// host(s) name
showArray[47][5] = "A variety show in every sense of the word with in studio and on location, live and recorded, call-in and discussion about everything Salt Spring. It will be quite an eclectic mix. We'll be showcasing the best, brightest and most unusual that Salt Spring Island has to offer in live music, interviews, discussion, information, news. Sponsored by The Tree House Cafe."; 		// description
showArray[47][6] ="soundslikesaltspring/index.html";		// internal webpage
showArray[47][7] ="";		// show email
showArray[47][8] ="http://www.saltspring-island.com/salt-spring-island-radio.html";		// external website
showArray[47][9] ="images/showicons/soundslikesaltspringicon.jpg"; 		// showIcon
showArray[47][10] ="on-air" 		// status on or off and repeat

showArray[48] = new Array()
showArray[48][0] = "Grow Your Own"; 		// show name
showArray[48][1] = "Wednesday";		// broadcast day(s)
showArray[48][2] = "15:00";		// start time
showArray[48][3] = "16:00";		// end time
showArray[48][4] = "Dennis Lucarelli and Belinda Schroeder";		// host(s) name
showArray[48][5] = "Interviews with Islanders about their farms and gardens. Focusing on local organic growing methods and heritage/heirloom varieties"; 		// description
showArray[48][6] ="";		// internal webpage
showArray[48][7] ="growyourowncfsi@gmail.com";		// show email
showArray[48][8] ="http://www.GrowYourOwnCFSI.ca";		// external website
showArray[48][9] ="images/showicons/growyourownicon.jpg"; 		// showIcon
showArray[48][10] ="on-air" 		// status on or off and repeat	

showArray[49] = new Array()
showArray[49][0] = "Hear and Now"; 		// show name
showArray[49][1] = "Monday";		// broadcast day(s)
showArray[49][2] = "18:30";		// start time
showArray[49][3] = "20:00";		// end time
showArray[49][4] = "Sue Walker";		// host(s) name
showArray[49][5] = "An evening of classical music"; 		// description
showArray[49][6] ="";		// internal webpage
showArray[49][7] ="";		// show email
showArray[49][8] ="";		// external website
showArray[49][9] =""; 		// showIcon
showArray[49][10] ="on-air" 		// status on or off and repeat

showArray[50] = new Array()
showArray[50][0] = "Funkology 101"; 		// show name
showArray[50][1] = "Sunday";		// broadcast day(s)
showArray[50][2] = "21:00";		// start time
showArray[50][3] = "24:00";		// end time
showArray[50][4] = "CJ The DJ";		// host(s) name
showArray[50][5] = "A funk-filled journey into Acid Jazz, Hip-Hop and all things funky and cool."; 		// description
showArray[50][6] ="";		// internal webpage
showArray[50][7] ="";		// show email
showArray[50][8] ="";		// external website
showArray[50][9] =""; 		// showIcon
showArray[50][10] ="on-air" 		// status on or off and repeat

showArray[51] = new Array()
showArray[51][0] = "Vocalise"; 		// show name
showArray[51][1] = "Wednesday";		// broadcast day(s)
showArray[51][2] = "18:30";		// start time
showArray[51][3] = "20:00";		// end time
showArray[51][4] = "Rasma Bertz";		// host(s) name
showArray[51][5] = "A classical musical history tour of famous events, birthdays, obituaries and holidays, with an emphasis on choral and vocal music of all centuries, presented by local singer and musicologist."; 		// description
showArray[51][6] ="";		// internal webpage
showArray[51][7] ="rasma@ssisland.com";		// show email
showArray[51][8] ="http://www.rasmabertzvoice.com/";		// external website
showArray[51][9] ="images/showicons/VocaliseIcon.jpg"; 		// showIcon
showArray[51][10] ="on-air" 		// status on or off and repeat

showArray[52] = new Array()
showArray[52][0] = "CFSI Morning Magazine"; 		// show name
showArray[52][1] = "Friday";		// broadcast day(s)
showArray[52][2] = "9:00";		// start time
showArray[52][3] = "9:30";		// end time
showArray[52][4] = "";		// host(s) name
showArray[52][5] = "Featuring 'In The First Person' with Patricia Lockie - If you have a story to tell and have always been meaning to get it down on paper, now's the time; 'Starstruck Astrology' with commentaries by Gwenyth Luptak on current patterns in the sky and what that means for us. Topics vary from Mayan astrology to the current lunar cycle and v/c times; The Saltspring Volunteer Fire Department Report with Chief Tom Bremner; The CRD Director's Report with Garth Hendron and the 'Community Calendar'."; 		// description
showArray[52][6] ="";		// internal webpage
showArray[52][7] ="";		// show email
showArray[52][8] ="";		// external website
showArray[52][9] =""; 		// showIcon
showArray[52][10] ="off-air" 		// status on or off and repeat

showArray[53] = new Array()
showArray[53][0] = "The Not-So-Late Show"; 		// show name
showArray[53][1] = "Saturday";		// broadcast day(s)
showArray[53][2] = "21:00";		// start time
showArray[53][3] = "24:00";		// end time
showArray[53][4] = "Doctor D-rail";		// host(s) name
showArray[53][5] = "The good doctor's prescription calls for solid rockin' on a Saturday night! Set your volume to maximum!"; 		// description
showArray[53][6] ="";		// internal webpage
showArray[53][7] ="";		// show email
showArray[53][8] ="";		// external website
showArray[53][9] ="images/showicons/DoctorDrailIcon.jpg"; 		// showIcon
showArray[53][10] ="on-air" 		// status on or off and repeat

showArray[54] = new Array()
showArray[54][0] = "Jukebox Johnny\'s Rockin\' Record Machine"; 		// show name
showArray[54][1] = "Friday, Saturday";		// broadcast day(s)
showArray[54][2] = "0:00";		// start time
showArray[54][3] = "2:00";		// end time
showArray[54][4] = "Johnny DeVille";		// host(s) name
showArray[54][5] = "It's hard to keep a good man down or an insomniac off the airwaves in the early morning. Lucky for us Johnny DeVille is both and he's got a whole treasure trove of rock 'n' roll to keep you moving at the midnight hour."; 		// description
showArray[54][6] ="";		// internal webpage
showArray[54][7] ="";		// show email
showArray[54][8] ="";		// external website
showArray[54][9] ="images/showicons/JukeboxJohnnyIcon.jpeg"; 		// showIcon
showArray[54][10] ="off-air" 		// status on-air or off-air and repeat

showArray[55] = new Array()
showArray[55][0] = "Friday Wine And Cheese";
showArray[55][1] = "Friday";
showArray[55][2] = "18:30";
showArray[55][3] = "20:00";
showArray[55][4] = "Larry Woods";
showArray[55][5] = "Tune in to hear a selection of classical music with local connections.";
showArray[55][6] =""
showArray[55][7] ="";
showArray[55][8] ="";
showArray[55][9] ="images/showicons/LarryWoodsIcon.jpg"; // showIcon
showArray[55][10] ="on-air" 								// status on or off


showArray[56] = new Array()
showArray[56][0] = "Music For A While"
showArray[56][1] = "Tuesday"
showArray[56][2] = "18:30";
showArray[56][3] = "20:00";
showArray[56][4] = "Richard Moses";
showArray[56][5] = "Enjoy an evening of musical classics.";
showArray[56][6] =""
showArray[56][7] ="";
showArray[56][8] ="";
showArray[56][9] ="images/showicons/MusicForAWhileIcon.jpg"; // showIcon
showArray[56][10] ="on-air" 								// status on or off


showArray[57] = new Array()
showArray[57][0] = "Infoburst"; 		// show name
showArray[57][1] = "Monday, Tuesday, Wednesday, Thursday, Friday";		// broadcast day(s)
showArray[57][2] = "11:00";		// start time
showArray[57][3] = "11:30";		// end time
showArray[57][4] = "Mike Cherry";		// host(s) name
showArray[57][5] = "News you can use: weather forecast & conditions, BC Ferries current conditions & travel bulletins, today's tides and Driftwood news. Breaking news when it happens from Rebecca Shannon-Sharpe, CFSI News."; 		// description
showArray[57][6] ="";		// internal webpage
showArray[57][7] ="";		// show email
showArray[57][8] ="";		// external website
showArray[57][9] ="images/showicons/InfoburstIcon.jpg"; 		// showIcon
showArray[57][10] ="on-air" 		// status on or off and repeat


showArray[58] = new Array()
showArray[58][0] = "Punk On The Rock"; 		// show name
showArray[58][1] = "Sunday";		// broadcast day(s)
showArray[58][2] = "0:00";		// start time
showArray[58][3] = "1:30";		// end time
showArray[58][4] = "Jeff Hopkins";		// host(s) name
showArray[58][5] = "Learn about it, listen to it, explore more of it, find the edges of it. If you remember <b>punk</b> and like it, if you don't know anything about punk at all, or if you are more than minorly threatened by just the thought of punk, tune in for Punk on the Rock. WARNING: This show is not hosted by Ben Mulroney."; 		// description
showArray[58][6] ="";		// internal webpage
showArray[58][7] ="";		// show email
showArray[58][8] ="";		// external website
showArray[58][9] ="images/showicons/punkontherockicon.png"; 		// showIcon
showArray[58][10] ="off-air, repeat" 		// status on or off and repeat

showArray[59] = new Array()
showArray[59][0] = "Phillipside"; 		// show name
showArray[59][1] = "Saturday";		// broadcast day(s)
showArray[59][2] = "17:00";		// start time
showArray[59][3] = "18:00";		// end time
showArray[59][4] = "Phillip du Preez";		// host(s) name
showArray[59][5] = "Phillip will be playing music that he finds inspiring and groundbreaking, with an emphasis on new releases."; 		// description
showArray[59][6] ="";		// internal webpage
showArray[59][7] ="";		// email
showArray[59][8] ="";		// external website
showArray[59][9] ="images/showicons/PhillipsideIcon.jpg"; 		// showIcon
showArray[59][10] ="on-air" 		// status on or off and repeat

showArray[60] = new Array()
showArray[60][0] = "Off The Beaten Track"; 		// show name
showArray[60][1] = "Sunday";		// broadcast day(s)
showArray[60][2] = "12:30";		// start time
showArray[60][3] = "13:00";		// end time
showArray[60][4] = "Dr. Jason Cressey";		// host(s) name
showArray[60][5] = "Jason is a travel writer and motivational trainer who has roamed the world, visiting more than 100 countries to date. Each week, Off the Beaten Track introduces you to unusual destinations – from just up the road to the other side of the planet. Whether a small town or an entire nation, the show focuses on some of the highlights of the region, mixing useful travel information with quirky facts and – of course – a taste of the local music. So sit back, fasten your safety belts and prepare for a departure well off the beaten track…"; 		// description
showArray[60][6] ="";		// internal webpage
showArray[60][7] ="";		// show email
showArray[60][8] ="";		// external website
showArray[60][9] ="images/showicons/OffTheBeatenTrackIcon.jpg"; 		// showIcon
showArray[60][10] ="on-air, repeat" 		// status on or off and repeat

showArray[61] = new Array()
showArray[61][0] = "Good Morning Salt Spring"; 		// show name
showArray[61][1] = "Friday";		// broadcast day(s)
showArray[61][2] = "7:00";		// start time
showArray[61][3] = "9:00";		// end time
showArray[61][4] = "Radha Fournier & Hannah Brown";		// host(s) name
showArray[61][5] = "Join us at the breakfast table on Good Morning Salt Spring.  Bring your favourite cuppa and enjoy our glimpses into the music and cultural scene on paradise island.  It's a great way to start the day."; 		// description
showArray[61][6] ="";		// internal webpage
showArray[61][7] ="";		// show email
showArray[61][8] ="";		// external website
showArray[61][9] =""; 		// showIcon
showArray[61][10] ="on-air" 		// status on or off and repeat

showArray[62] = new Array()
showArray[62][0] = "Evening Side"; 		// show name
showArray[62][1] = "Monday";		// broadcast day(s)
showArray[62][2] = "17:00";		// start time
showArray[62][3] = "18:30";		// end time
showArray[62][4] = "Bobby Magee";		// host(s) name
showArray[62][5] = ""; 		// description
showArray[62][6] ="";		// internal webpage
showArray[62][7] ="";		// show email
showArray[62][8] ="";		// external website
showArray[62][9] ="images/showicons/bobbysicon.jpg"; 		// showIcon
showArray[62][10] ="on-air" 		// status on or off and repeat

showArray[63] = new Array()
showArray[63][0] = "Heal Thyself"; 		// show name
showArray[63][1] = "Sunday";		// broadcast day(s)
showArray[63][2] = "13:00";		// start time
showArray[63][3] = "14:00";		// end time
showArray[63][4] = "Shaughn Jenson";		// host(s) name
showArray[63][5] = ""; 		// description
showArray[63][6] ="";		// internal webpage
showArray[63][7] ="";		// show email
showArray[63][8] ="";		// external website
showArray[63][9] ="images/showicons/HealThyselfIcon.jpg"; 		// showIcon
showArray[63][10] ="off-air" 		// status on or off and repeat

showArray[64] = new Array()
showArray[64][0] = "Infoburst"; 		// show name
showArray[64][1] = "Tuesday";		// broadcast day(s)
showArray[64][2] = "13:30";		// start time
showArray[64][3] = "14:00";		// end time
showArray[64][4] = "Mike Cherry";		// host(s) name
showArray[64][5] = "News you can use: weather forecast & conditions, BC Ferries current conditions & travel bulletins, today's tides and Driftwood news."; 		// description
showArray[64][6] ="";		// internal webpage
showArray[64][7] ="";		// show email
showArray[64][8] ="";		// external website
showArray[64][9] ="images/showicons/InfoburstIcon.jpg"; 		// showIcon
showArray[64][10] ="off-air, repeat" 		// status on or off and repeat

showArray[65] = new Array()
showArray[65][0] = "Country Doctor"; 		// show name
showArray[65][1] = "Tuesday";		// broadcast day(s)
showArray[65][2] = "17:30";		// start time
showArray[65][3] = "18:30";		// end time
showArray[65][4] = "Dr. Ron Reznick";		// host(s) name
showArray[65][5] = ""; 		// description
showArray[65][6] ="";		// internal webpage
showArray[65][7] ="";		// show email
showArray[65][8] ="";		// external website
showArray[65][9] ="images/showicons/CountryDoctorIcon.jpg"; 		// showIcon
showArray[65][10] ="on-air" 		// status on or off and repeat

showArray[66] = new Array()
showArray[66][0] = "Just Standing Here, Smiling"; 		// show name
showArray[66][1] = "Thursday";		// broadcast day(s)
showArray[66][2] = "15:00";		// start time
showArray[66][3] = "17:00";		// end time
showArray[66][4] = "Richard Hayden";		// host(s) name
showArray[66][5] = "Interesting music and inconsequential conversations."; 		// description
showArray[66][6] ="";		// internal webpage
showArray[66][7] ="";		// show email
showArray[66][8] ="";		// external website
showArray[66][9] ="images/showicons/richardicon.jpg"; 		// showIcon
showArray[66][10] ="off-air" 		// status on or off and repeat

showArray[67] = new Array()
showArray[67][0] = "History of Salt Spring"; 		// show name
showArray[67][1] = "Friday";		// broadcast day(s)
showArray[67][2] = "16:00";		// start time
showArray[67][3] = "17:00";		// end time
showArray[67][4] = "Henry Baade &amp; Dave Phillips";		// host(s) name
showArray[67][5] = "Long time residents Dave & Henry examine our island's history through interviews, recollections...and a few tall tales!"; 		// description
showArray[67][6] ="";		// internal webpage
showArray[67][7] ="";		// show email
showArray[67][8] ="";		// external website
showArray[67][9] ="images/showicons/HistorySSIcon.jpg"; 		// showIcon
showArray[67][10] ="on-air" 		// status on or off and repeat


showArray[68] = new Array()	
showArray[68][0] = "Saturday Showcase"; 		// show name
showArray[68][1] = "Saturday";		// broadcast day(s)
showArray[68][2] = "19:00";		// start time
showArray[68][3] = "21:00";		// end time
showArray[68][4] = "Various";		// host(s) name
showArray[68][5] = "Every Saturday night CFSI features a variety program where our hosts and DJ's can perform for a different crowd.  There will be comedy bits and drama, as well as other spoken-word presentations.  There will be all-request shows presented by the likes of Johnny Deville, and sometimes we will have live shows from local venues, or recorded performances, presented by well-known producers like our very own Greg Pauker.  Once in a while we will have emerging musicians visit the studio who are passing through Saltspring Island for chat and performance. Other times we will have some of our many amazing, yet familiar, local performing artists for in-studio sessions.  We are planning talent contests, radio plays, and seasonal specials as well.  Saltspring Saturday Night Showcase is a marvelous mixed-bag and a cosmic cross-section of what CFSI 107.9 Fm is all about!"; 		// description
showArray[68][6] ="";		// internal webpage
showArray[68][7] ="";		// show email
showArray[68][8] ="";		// external website
showArray[68][9] =""; 		// showIcon
showArray[68][10] ="on-air" 		// status on or off

showArray[69] = new Array()
showArray[69][0] = "Rock &amp; Roll High"; 		// show name
showArray[69][1] = "Monday";		// broadcast day(s)
showArray[69][2] = "22:00";		// start time
showArray[69][3] = "24:00";		// end time
showArray[69][4] = "Bill Nash";		// host(s) name
showArray[69][5] = "Rock And Roll High is all about the music of my high school years (1967 - 1973), when FM was young and experimental. Every Monday night, these classic albums are heard, in their entirety, without commercial interruption. Come back in time to those classic years of 60's rock and Motown! One classic Canadian album every night, plus two more of the best albums in rock music."; 		// description
showArray[69][6] ="";		// internal webpage
showArray[69][7] ="";		// show email
showArray[69][8] ="";		// external website
showArray[69][9] ="images/showicons/BillNashIcon.jpg"; 		// showIcon
showArray[69][10] ="on-air" 		// status on or off and repeat

showArray[70] = new Array()
showArray[70][0] = "Guitar Jamboree"; 		// show name
showArray[70][1] = "Saturday";		// broadcast day(s)
showArray[70][2] = "14:00";		// start time
showArray[70][3] = "16:00";		// end time
showArray[70][4] = "Jamie Alexander";		// host(s) name
showArray[70][5] = "GUITAR JAMBOREE is a 2 hour live program dedicated to the worship of guitarists and guitar music - Rock, Blues, Jazz, Bluegrass, Folk, Classical, World and more! Each week, a local guest Guitarist will join host Guitarologist Jamie Alexander to share their favourite Heroes, Gods & Jimi!"; 		// description
showArray[70][6] ="";		// internal webpage
showArray[70][7] ="";		// show email
showArray[70][8] ="";		// external website
showArray[70][9] ="images/showicons/GuitarIcon.jpg"; 		// showIcon
showArray[70][10] ="on-air" 		// status on or off and repeat


showArray[71] = new Array()
showArray[71][0] = "At The Crossroads"; 		// show name
showArray[71][1] = "Thursday";		// broadcast day(s)
showArray[71][2] = "10:00";		// start time
showArray[71][3] = "11:00";		// end time
showArray[71][4] = "Brant Zwicker";		// host(s) name
showArray[71][5] = "Focusing on the many genres that fit under the umbrella of <i>the blues</i>. This mainly contemporary music-intensive program features a classic cut or artist, plus a two-song spotlight on a new blues release. "; 		// description
showArray[71][6] ="atthecrossroads/index.html";		// internal webpage
showArray[71][7] ="";		// show email
showArray[71][8] ="http://www.atcblues.ca";		// external website
showArray[71][9] =""; 		// showIcon
showArray[71][10] ="on-air, repeat" 		// status on or off and repeat

showArray[72] = new Array()
showArray[72][0] = "Off The Beaten Track"; 		// show name
showArray[72][1] = "Thursday";		// broadcast day(s)
showArray[72][2] = "20:00";		// start time
showArray[72][3] = "20:30";		// end time
showArray[72][4] = "Dr. Jason Cressey";		// host(s) name
showArray[72][5] = "Jason is a travel writer and motivational trainer who has roamed the world, visiting more than 100 countries to date. Each week, Off the Beaten Track introduces you to unusual destinations – from just up the road to the other side of the planet. Whether a small town or an entire nation, the show focuses on some of the highlights of the region, mixing useful travel information with quirky facts and – of course – a taste of the local music. So sit back, fasten your safety belts and prepare for a departure well off the beaten track…"; 		// description
showArray[72][6] ="";		// internal webpage
showArray[72][7] ="";		// show email
showArray[72][8] ="";		// external website
showArray[72][9] ="images/showicons/OffTheBeatenTrackIcon.jpg"; 		// showIcon
showArray[72][10] ="on-air" 		// status on or off and repeat


showArray[73] = new Array()
showArray[73][0] = "Grow Your Own"; 		// show name
showArray[73][1] = "Saturday";		// broadcast day(s)
showArray[73][2] = "6:00";		// start time
showArray[73][3] = "7:00";		// end time
showArray[73][4] = "Dennis Lucarelli and Belinda Schroeder";		// host(s) name
showArray[73][5] = "Interviews with Islanders about their farms and gardens. Focusing on local organic growing methods and heritage/heirloom varieties"; 		// description
showArray[73][6] ="";		// internal webpage
showArray[73][7] ="growyourowncfsi@gmail.com";		// show email
showArray[73][8] ="http://www.GrowYourOwnCFSI.ca";		// external website
showArray[73][9] ="images/showicons/growyourownicon.jpg"; 		// showIcon
showArray[73][10] ="on-air, repeat" 		// status on or off and repeat

showArray[74] = new Array()
showArray[74][0] = "Fishbowl Fridays"; 		// show name
showArray[74][1] = "Friday";		// broadcast day(s)
showArray[74][2] = "17:00";		// start time
showArray[74][3] = "18:30";		// end time
showArray[74][4] = "Heather Wilton";		// host(s) name
showArray[74][5] = "Rev up after work with the best rocking weekend tunes and all the up to date info on what’s happenin on Salt Spring!"; 		// description
showArray[74][6] ="";		// internal webpage
showArray[74][7] ="";		// show email
showArray[74][8] ="http://www.saltyfishbowl.com";		// external website
showArray[74][9] ="images/showicons/fishbowlicon.jpg"; 		// showIcon
showArray[74][10] ="on-air" 		// status on or off and repeat


/* BLANK arrary to copy and paste

showArray[] = new Array()
showArray[][0] = ""; 		// show name
showArray[][1] = "";		// broadcast day(s)
showArray[][2] = "";		// start time
showArray[][3] = "";		// end time
showArray[][4] = "";		// host(s) name
showArray[][5] = ""; 		// description
showArray[][6] ="";		// internal webpage
showArray[][7] ="";		// show email
showArray[][8] ="";		// external website
showArray[][9] =""; 		// showIcon
showArray[][10] ="on-air" 		// status on or off and repeat


*/
// off-air 



showArray.sort();

var hitArray = new Array();
var h=0;

for (s=0; s <= showArray.length-1; s++)
{
	//if (thisUrl.indexOf("admin") <0)
	//{
	
	stat = showArray[s][10];
	if ((showArray[s][1] == queryDay) && (stat.indexOf("on-air") >=0))
	{
	 	hitArray[h] = showArray[s];
	 	h++;
	}
	if (showArray[s][1] != queryDay)
	{
		str = showArray[s][1];
		if ((str.indexOf(queryDay) >=0) && (stat.indexOf("on-air") >=0))
		{
		 	hitArray[h] = showArray[s];
		 	h++;
		 }
	}
	
	//}
	
}


function randomShow()
{
	var randShows = new Array();
	r = 0;
	
	for (s=0; s<=showArray.length-1; s++)
	{
		stats = showArray[s][10];
		if ( (stats.indexOf("on-air") >=0) && (stats.indexOf("repeat") <0) )
		{
			randShows[r] = showArray[s];
			r = r+1;
		}
	
	}


	noShows = randShows.length;
	x = parseInt((Math.random() * noShows))

	tmp = randShows[x][2];
	temp = tmp.split(":");
	hr = temp[0];
	mn = temp[1];
	per = "am";
	
	// 		handle TimeZones here.... ?
	
	if (hr >=12)
	{
		if (hr==12) per ="pm";
		if (hr>12)
		{
			hr = hr-12;
			per = "pm"
		}
	}
	time = hr + ":" + mn + " " + per;


	//alert(x)
	document.write("<p>")

	if (randShows[x][9] != "")
	{
		if (randShows[x][6] != "") document.write("<a href='" + randShows[x][6] + "'>");
		document.write("<img src='" + randShows[x][9] + "' border='0' style='margin:4px;'></br>");
		if (randShows[x][6] != "") document.write("</a>");

	}
		if (randShows[x][6] != "") document.write("<p><a href='" + randShows[x][6] + "'>");
		document.write("<b>" + randShows[x][0] + "</b>");
		if (randShows[x][6] != "") document.write("</a>");
	
	if (randShows[x][4] != "") document.write(" with <b>" + randShows[x][4] + "</b><br>")

	if (randShows[x][5] != "") document.write("<br>" + randShows[x][5] + "<br>")
	document.write("<br><b>" + randShows[x][1] + " starting at " + time)
	document.write("</b>")
	document.write("")
	
} // end function randomSHow

var nowScheduled = "";


function currentShow(req)
{for (s=0; s<= hitArray.length-1; s++)
	{
		tmp = hitArray[s][2];
		temp = tmp.split(":");
		startHr = temp[0];
		startMin = temp[1];
		tmp = hitArray[s][3];
		temp = tmp.split(":");
		endHr = temp[0];
		endMin = temp[1];

		if ( (today==queryDay) && (startHr <= thisHour) && (startMin <= thisMinute) )
		{
			if (endHr == thisHour)
			{if (endMin >= thisMinute) nowScheduled = hitArray[s];}
			if (endHr > thisHour)
			{nowScheduled = hitArray[s];}
		}
	}

	if (req == "main")
	{
		if (nowScheduled != "")
		{		
			document.write("<p class='cite' align='center'><h2>ON AIR NOW</h2>");
			if (nowScheduled[9] != "")
				{document.write("<img src='" + nowScheduled[9] + "' border='0' style='margin:4px;'></br>");}
			document.write("<h3>" + nowScheduled[0] + "</h3>");
			if (nowScheduled[4] != "") document.write("<h3> with " + nowScheduled[4] + "</h3>");
			if (nowScheduled[5] != "") document.write("<i>" + nowScheduled[5] + "</i>")
		}
		
		if (nowScheduled == "")
		{		
			document.write("<p class='cite' align='center'><h3>CFSI Music Mix ");
			document.write("<a href='http://87.117.250.5:9148/listen.pls'>Listen Live Online</a></h3>");
		}
	}
}

tmp = queryDayPart.split("+")
DPstart = parseInt(tmp[0]);
DPend = parseInt(tmp[1]);
dur = DPend-DPstart;
hourGrid = new Array();
var hg = 0;
var act;
var cellBG= "e0e0f0";
var	prog = "CFSI Music";
var rsrvTill = 0;

//alert(queryDayPart)

function dynaSked()
{

document.writeln("<table border='0' width='100%' cellpadding='4' cellspacing='4'>");	
document.writeln("<tr><td valign='top' width='33%' align='left'>")

if (DPstart >= 6) document.write("<input type='button' value='Earlier' onClick='changeQuery(\"\", \"prevPart\")'>");
if (DPstart < 6) document.write("<input type='button' value='Day Before' onClick='changeQuery(\"prevDay\", \"prevPart\")'>");

document.writeln("</td><td width='34%' valign='top' align='center'>");

document.writeln("<nobr><input type=\"button\" value=\"<-\" onClick=\"changeQuery('prevDay','')\">");
document.writeln("<select name = \"day\" onChange=\"changeQuery()\">");
document.writeln("	<option value=\"Monday\">Monday");
document.writeln("	<option value=\"Tuesday\">Tuesday");
document.writeln("	<option value=\"Wednesday\">Wednesday");
document.writeln("	<option value=\"Thursday\">Thursday");
document.writeln("	<option value=\"Friday\">Friday");
document.writeln("	<option value=\"Saturday\">Saturday");
document.writeln("	<option value=\"Sunday\">Sunday");
document.writeln("</select>");
document.writeln("<input type=\"button\" value=\"->\" onClick=\"changeQuery('nextDay','')\">");
document.writeln("</nobr>");

document.writeln("</td><td width='33%' valign='top' align='right'>");

document.writeln("<p class='table'><i>Day-part:</i> <select name = \"dayPart\" onChange=\"changeQuery()\">");
	document.writeln("<option value=\"00:00+24:00\">All Day");
	document.writeln("<option value=\"00:00+06:00\">Midnight - 6am");
	document.writeln("<option value=\"06:00+12:00\">6am - Noon");
	document.writeln("<option value=\"12:00+18:00\">Noon - 6pm");
	document.writeln("<option value=\"18:00+24:00\">6pm - Midnight");
document.writeln("</select>");




document.writeln("</td></tr></table>");
document.writeln("<table border='0' width='100%' cellpadding='4' cellspacing='4'>");	


	for (d=DPstart; d<= DPend-.5; d = d + 0.5)
	{
		
		var ap = "am";
		var tm = d;
		var tm24 = tm;
		
		if (d >=12)
		{
			ap = "pm";
			if (d>=13) tm = (d-12);
		}
		
		t = tm.toString();
		if (t.indexOf(".5") >= 0)
		{
			tm = parseInt(t) + ":30"
			tm24 = parseInt(d) + ":30"
		}
		if (t.indexOf(".5") < 0 ) 
		{
			tm = t + ":00";
			tm24 = parseInt(d) + ":00"
		}
		showHit = "";
		hourGrid[hg] = new Array(tm24, tm, ap, showHit)
		hg = hg+1;

	}
	
		
	for (g=0; g<=hourGrid.length-1; g++)
	{
			
			for (sh =0; sh<= hitArray.length-1; sh++)
			{
				if (hitArray[sh][2] == hourGrid[g][0])
				{
					
					hourGrid[g][3] = new Array();
					hourGrid[g][3] = hitArray[sh];
					var tamp;
					tmp = hitArray[sh][3];
					if (tmp.indexOf(":30") >=0) 
					{
						temp = tmp.split(":");
						tamp = (parseInt(temp[0])*2) + 1;
					}
					if (tmp.indexOf(":00") >=0) 
					{
						temp = tmp.split(":");
						tamp = (parseInt(temp[0])*2);
					}
					rsrvTill = tamp;
					prog = "Program";
				}
				
				if ( (hitArray[sh][2] != hourGrid[g][0]) && ( g < (parseFloat(rsrvTill)-(parseInt(queryDayPart)*2) ) ) )
				{
					prog = "<font size='-2'><i>continued...</i></font>"
					cellBG = "f0e0e0";
				}
				if ((hitArray[sh][2] != hourGrid[g][0]) && ( g >= (parseFloat(rsrvTill)-(parseInt(queryDayPart)*2)) ) )
				{
					prog = "CFSI Music";
					cellBG = "e0e0f0";
				}
	
	
			} // ends for (sh =0; sh<= hitArray.length-1; sh++)
			
						
		
		
		document.writeln("<tr><td valign='top' width='10%' align='left'><p class='table'>")
		
		if (thisHour == parseInt(hourGrid[g][0]) && (today == queryDay)) document.write("<b>");
		document.writeln(hourGrid[g][1] + " " +  hourGrid[g][2] + "</td>");
		if (thisHour == parseInt(hourGrid[g][0]) && (today == queryDay)) document.write("</b>");
		
		document.writeln("</td><td width='90%' valign='top' bgcolor='" + cellBG + "'>");
		document.write("<p class='table'>");
		
		if (hourGrid[g][3] != "")
		{ 
							if (hourGrid[g][3][6] != "") document.write("<a href='" + hourGrid[g][3][6] + "'>");
							document.write("<b>" + hourGrid[g][3][0] + "</b>");
							if (hourGrid[g][3][6] != "") document.write("</a>");
							if (hourGrid[g][3][4] != "") document.write(" with " + hourGrid[g][3][4]);
							if (hourGrid[g][3][5] != "") document.write("<p class='cite'><i>" + hourGrid[g][3][5] + "</i>");
							
							if (hourGrid[g][3] == nowScheduled) document.write(" <b><a href='http://87.117.250.5:9148/listen.pls'>ON AIR NOW</a></b>")
							
		}
		
		
		if (hourGrid[g][3] == "") document.write(prog);
		
		document.writeln("</td></tr>");
		
	
	}  // ends for (g=0; g<=hourGrid.length-1; g++)
	
	document.writeln("<tr><td valign='top' width='10%' align='left'>")
	
	if ((DPstart < 18) && (DPend <24)) document.write("<input type='button' value='Later' onClick='changeQuery(\"\", \"nextPart\")'>");
	if ((DPend == 24) || (DPstart >= 18)) document.write("<input type='button' value='Next Day' onClick='changeQuery(\"nextDay\", \"nextPart\")'>");
	
	document.writeln("</td><td width='90%' valign='top'></td></tr>");

	document.write("</table>");


} // end function


