// JavaScript Document
// fills the entire "Discovering Great Towns" list
function fillDGT(listID,season){
     var mySection;
	 mySection=document.getElementById(listID); // identify DIV to store the list in
	 var arrowID; // identify arrow for each individual title
	 var k;
	 var newContent='<p>'+dgt_summary[season]; // summarize general description for DGT set
	 newContent=newContent+'</p><ul>'; // end general description, begin list of episodes
	 // repeat for each individual special
	 var startCount;
	 var endCount;
	 if (season==1) { startCount = 1; endCount = 11; }
	 if (season==2) { startCount = 11; endCount = 17; }
	 for (i=startCount; i<endCount; i++) {
		 k = 'dgt_item'+i; // indicate which episode is being moused over
		 arrowID = 'dgt_arrow'+i; // identify arrow to the left of each title		 
	     function1 = "showDGT("+i+",'"+k+"','"+arrowID+"')"; // display each special description on mouseover
	     function2 = "hideDescription('"+k+"')"; // hide on mouseout
		 // indicate functions in link description
         newContent=newContent+'<li><a href="#" onMouseOver="'+function1+'" onMouseOut="'+function2+'">';
		 newContent=newContent+'<img name="'+arrowID+'" border="0" src="images/arrow.jpg"> '; // print arrow
		 newContent=newContent+dgt_title[i]; // print title of one-hour special
		 newContent=newContent+'</a><span id="'+k+'"></span><br>&nbsp;</li>';
		 // end link, assign cell for episode description
	 }
	 newContent=newContent+'</ul>'; // end list of episodes
	 newContent=newContent+'<p>'+dgt_price+'</p>'; // price description for DGT
	 // "Close List" & "Buy Now" buttons
	 closeFunction="txtRestore('"+listID+"')";
	 buyFunction="return gotoStore('"+listID+"')";
	 newContent=newContent+'<p align="center"><a class="closeBtn" href="#seasons" onClick="'+closeFunction+'">Close List</a>';
	 newContent=newContent+'&nbsp;&nbsp;&nbsp;&nbsp;<a class="closeBtn" href="javascript: void();" onClick="'+buyFunction+'">Buy Now</a></p>';
	 newContent=newContent+'<p>&nbsp;</p>'; // space at bottom
	 mySection.innerHTML=newContent; // finalize content
}
// gets the individual description for each DGT episode
function showDGT(episode,textID,arrowID){
     var myText;
	 var newString;
	 myText=document.getElementById(textID); // identify which text field is being filled
	 MM_swapImage(arrowID,'','images/redArrow.jpg',1); // arrow turns red on mouseover
	 newString='<br>'+dgt[episode]; // get description of episode by number
	 if (episode==16) { newString=newString+dgt[episode+1]; }
	 myText.innerHTML=newString; // assign content to text field
}

var dgt_summary = new Array();
dgt_summary[0]='';
dgt_summary[1]='<img align="right" src="images/store/other_shows/DGTcover.jpg"> The entire first season of <em>Discovering Great Towns</em> has been digitally mastered and is now available on DVD. This box set is a must-have travelers&acute guide to rural destinations throughout North America.';
dgt_summary[2]='<img align="right" src="images/store/other_shows/DGTcover2.jpg"> Season 2 saw a complete revamp of the series with a brand new host. Join Chelsey Reist as she takes you on an amazing personal journey along the road less travelled to locations across North America and beyond in <em>Discovering Great Towns</em>. From big cities and bright lights to remote communities and spectacular natural settings, you’ll see it all. You’ll meet the locals, see the sights and learn about some of the secrets that make each town unique. But destination isn’t everything, half the fun is getting there. Chelsey experiences all the ups and downs, the twists and turns, the unexpected breaks and the occasional setbacks that mark any great trip into the unknown.';
var dgt_price='Order the entire season for <span class="price">$39.95</span> or individual episodes for <span class="price">$9.95</span> each<br>plus shipping &amp; handling (+ GST in Canada)';
// episode title array for DGT
var dgt_title = new Array();
dgt_title[0]=''; // leave item 0 blank, so that each item number corresponds with the episode number
dgt_title[1]='Episode 1-01 - A Look at Season One';
dgt_title[2]='Episode 1-02 - Kuujjuaq, Nunavik';
dgt_title[3]='Episode 1-03 - Molaka&acute;i, Hawaii';
dgt_title[4]='Episode 1-04 - Whitehorse';
dgt_title[5]='Episode 1-05 - Mont Tremblant';
dgt_title[6]='Episode 1-06 - Sunshine Coast, BC';
dgt_title[7]='Episode 1-07 - Kailua Kona, Hawaii';
dgt_title[8]='Episode 1-08 - Baddeck, Nova Scotia';
dgt_title[9]='Episode 1-09 - Prince Edward Island';
dgt_title[10]='Episode 1-10 - Yellowknife';
dgt_title[11]='Episode 2-01 - The Road Ahead';
dgt_title[12]='Episode 2-02 - Life in Banff';
dgt_title[13]='Episode 2-03 - Peak to Peak';
dgt_title[14]='Episode 2-04 - Gateway to the Past';
dgt_title[15]='Episode 2-05 - Adventure at Every Corner';
dgt_title[16]='Episode 2-06 - Finding Haida Guaii';

// episode description array for DGT
var dgt = new Array();
dgt[0]=''; // leave item 0 blank, so that each item number corresponds with the episode number
dgt[1]='Our premier episode takes viewers inside for a sneak peak in this fast-paced journey on Season One of <em>Discovering Great Towns</em>. Rural lifestyles, real estate, golfing, snorkeling, fishing, horse back riding, Inuit throat singing, aerial adventure and more await you in this series of adventure and discovery of small towns in a modern world.';
dgt[2]='A mix of traditional and modern practices makes Kuujjuaq a dynamic land of excitement, beauty and innovation. Discover traditional practices with dog sledding, ice fishing, throat singing and more as you join us in the sub-Arctic region of Quebec, Canada and discover the Inuit way of life.';
dgt[3]='If you think rural lifestyles, culture and tradition in the Hawaiian Islands have been completely commercialized by the tourism trade, think again. This week, <em>Discovering Great Towns</em> showcases the laid back island of Moloka&acute;i.';
dgt[4]='In this episode, <em>Discovering Great Towns</em> goes on a northern adventure to the land where the Klondike Gold Rush began back in 1897. The Yukon is famous for its pristine wilderness, northern hospitality and scenic vistas; don&acute;t miss this must-see episode.';
dgt[5]='This episode is packed with exciting outdoor recreation including horseback riding, four wheeling, golf and more. Don&acute;t miss this inside look at the most popular modern day ski village in Eastern Canada.';
dgt[6]='Discover this well-kept secret on British Columbia’s mainland, the Sunshine Coast. Accessible only by water or air, this remote coastline is both refreshing and surprising with an abundance of creativity, characters and adventure.';
dgt[7]='Join us as we uncover an off-the-beaten-track destination 2,400 miles from the nearest continental land mass. Watch as Lisa submerges herself in the culture, intrigue and fun of the big island known as Kailua Kona.';
dgt[8]='This is a maritime adventure in the birth place of the telegraph and the first flight in Canadian aviation history – Baddeck, Nova Scotia. This town is bursting with small town charm, adventure, beauty and fresh sea air.';
dgt[9]='Prince Edward Island (PEI) is rich with agriculture, music and red sand coastlines and is built for scenic drives. This episode discovers the smallest province in Canada where you are never more than 10 miles from the ocean.';
dgt[10]='Shot underneath the midnight sun, Yellowknife is a natural splendor in this high definition look at life in what almost became a modern day ghost town. Instead, it is a modern day boom town as the diamond capital of North America. Yellowknife is located on the Great Slave Lake and is home to renaissance characters, a floating home community, a girl&acute;s best friend, great fishing and much, much more.';
dgt[11]='The journey begins as Chelsey, the DGT crew and Debbie the RV begin their road trip throughout British Columbia and Alberta. Along the way they begin to discover all the great towns that make up these two Western Canadian Provinces. We meet up with Chelsey on the road to Kamloops where she finds out that a town is not just about the place and buildings, it is really about the community. Welcomed by the Kamloops Indian Band, Chelsey takes in her first Pow Wow and gets to learn a little about the history of the Kamloops area. Next, it’s off to Field to meet the owners of the world famous Truffle Pig Bistro, but before the crew arrives, Chelsey can’t resist a pit stop at the adrenaline pumping Sky Trek Adventure just outside of Revelstoke.';
dgt[12]='Chelsey arrives in the picturesque town of Banff, Alberta and spends the day with long time resident Stephanie Andrews. Wanting to learn about the true lifestyle of a Banffite, the girls go on a whirlwind day of activities. After canoeing on the Vermillion Lakes, shopping in the village and taking in the local eateries, Chelsey finds herself saying goodbye to her new friend at the Red Earth Spa where she rejuvenates before a wild night out on the town. Yes indeed, the Banffites know how to work hard and play even harder!';
dgt[13]='On the spectacular slopes of the Athabasca Glacier, Chelsey meets up with veteran glacier climber Peter Lemieux and his faithful dog companion George. Along with the DGT crew they discover the beauty of the glacier and how it is quickly receding due to climate change. As Chelsey continues on the highway, wildlife sightings, waterfalls, green glacier lakes and stunning mountain peaks make it apparent that she is now in the heart of the Canadian Rockies. Chelsey also gets to explore the peak of the Rockies via the Jasper Tramway, takes a boat tour to see Spirit Island and talks with local Jasper resident Mike Day, owner of Evil Dave’s Restaurant, to learn more about the Jasper lifestyle.';
dgt[14]='Chelsey hits the road once more heading West back into BC and discovers an ancient forest on the way to Prince George and Barkerville. In Barkerville, Chelsey gets the royal tour with James Douglas, a long time resident of Wells and past street actor at the historical town. From gold panning to attending Judge Beggbie’s court, Chelsey is transported to the past and experiences some of British Columbia’s frontier beginnings.';
dgt[15]='It’s time for Chelsey and the DGT Crew to say goodbye to ‘Debbie the RV’ as they get on board the Via Rail Skeena Line and head to the town of Prince Rupert. Great stretches of wilderness whisk by as the train meanders through settlements, farms and sawmills. Once in Prince Rupert, Chelsey meets up with Monika from Tourism Prince Rupert and is shown the petroglyphs and ancient Tsimshian village site on Pike Island. After learning a little about the First Nations history of the area, Chelsey is introduced to Gladys Blyth, historian and author of the children’s book, Summer at the Cannery  and the definitive history, Salmon Canneries: British Columbia North Coast. Chelsey learns about the salmon cannery industry that helped build the town of Prince Rupert. They end the day at the cosmopolitan Rain Dining Lounge.';
dgt[16]='Day two of Prince Rupert finds Chelsey taking in some Whale Watching. Once back on shore, she takes a final tour of the town before saying goodbye to her Prince Rupert friends and heading to Haida Gwaii, also known as the Queen Charlotte Islands. Once off the eight-hour ferry, Chelsey does some site seeing in the town of Queen Charlotte before visiting the Haida Heritage Museum and learning the history of the Haida people, and how we must respect and help preserve the land of the Gwaii Haanas National Park Reserve. From there, Chelsey jumps aboard with the Moresby Explorer, a local adventure company that makes their first boat stop at the ancient Haida village of Skedans, located on the northeast shore of Louise Island. Next stop is Hot Spring Island, where Chelsey treks through the forest to find the hot springs, where she relaxes and enjoys the beautiful ocean view the islands have to offer.';
dgt[17]=' From there, it’s a hectic boat ride back to the ferry where she climbs aboard and takes in all the amazing wildlife and adventures she was able to experience during her journey and heads home for Vancouver, BC.';

// fills one of the "Bio Moments" list
function fillBios(listID){
     var mySection;
	 mySection=document.getElementById(listID); // identify DIV to store the list in
	 var arrowID; // identify arrow for each individual title
	 var k;
	 var start;
	 // summarize general description for biography collection
	 if (listID=='canadianBios'){
		 var newContent='<p>'+bio_summary[0];
		 start = 1; } // Canadian Bio Moments
	 if (listID=='southAsian'){
		 var newContent='<p>'+bio_summary[1];
		 start = 6; } // South Asian Bio Moments
	 newContent=newContent+'</p><ul>'; // end general description, begin list of episodes
	 var finish = start + 5; // tell counter when to stop
	 // repeat for each individual episode
	 for (i=start; i<finish; i++) {
		 k = 'bio_item'+i; // indicate which special is being moused over
		 arrowID = 'bio_arrow'+i; // identify arrow to the left of each title		 
	     function1 = "showBios("+i+",'"+k+"','"+arrowID+"')"; // display each special description on mouseover
	     function2 = "hideDescription('"+k+"')"; // hide on mouseout
		 // indicate functions in link description
         newContent=newContent+'<li><a href="#" onMouseOver="'+function1+'" onMouseOut="'+function2+'">';
		 newContent=newContent+'<img name="'+arrowID+'" border="0" src="images/arrow.jpg"> '; // print arrow
		 newContent=newContent+bio_title[i]; // print title of one-hour special
		 newContent=newContent+'</a><span id="'+k+'"></span><br>&nbsp;</li>';
		 // end link, assign cell for episode description
	 }
	 newContent=newContent+'</ul>'; // end list of episodes
	 newContent=newContent+'<p>'+bio_price+'</p>'; // price description for DGT
	 // "Close List" & "Buy Now" buttons
	 closeFunction="txtRestore('"+listID+"')";
	 buyFunction="return gotoStore('"+listID+"')";
	 newContent=newContent+'<p align="center"><a class="closeBtn" href="#CBM" onClick="'+closeFunction+'">Close List</a>';
	 newContent=newContent+'&nbsp;&nbsp;&nbsp;&nbsp;<a class="closeBtn" href="javascript: void();" onClick="'+buyFunction+'">Buy Now</a></p>';
	 newContent=newContent+'<p>&nbsp;</p>'; // space at bottom
	 mySection.innerHTML=newContent; // finalize content
}
// gets the individual description for each Bio Moments episode
function showBios(episode,textID,arrowID){
     var myText;
	 var newString;
	 myText=document.getElementById(textID); // identify which text field is being filled
	 MM_swapImage(arrowID,'','images/redArrow.jpg',1); // arrow turns red on mouseover
	 newString='<br>'+bios[episode]; // get description of episode by number
	 myText.innerHTML=newString; // assign content to text field
}

var bio_summary=new Array();
bio_summary[0]='<img align="right" src="images/store/other_shows/fortsmith.jpg" width="100" height="75"> Over a seven-year period, our television crews have traveled throughout Canada to capture the profiles of the men and women who represent the spirit of the country. Released as a five one-hour set of 60 vignettes, this is the largest set of contemporary profiles of Canadians available today.';
bio_summary[1]='<img align="right" src="images/store/other_shows/arch.jpg" width="100" height="75"> Best Entertainment also assembled this collection of biographies on members of Canada&acute;s South Asian community. In this series we profile artists, performers, religious leaders, business entrepreneurs and many other South Asian immigrants that are making a difference here in the West. Like the original <em>Canadian Biography Moments</em>, this too was released as a five one-hour set.';
var bio_price='Order the entire collection for <span class="price">$39.95</span> or individual sets for <span class="price">$14.95</span> each<br>plus shipping &amp; handling (+ GST in Canada)';
// episode title array for Bio Moments sets
var bio_title = new Array();
bio_title[0]=''; // leave item 0 blank, so that each item number corresponds with the episode number
bio_title[1]='Set #1 - The New Pioneers';
bio_title[2]='Set #2 - The Women of Canada';
bio_title[3]='Set #3 - The Artists of Canada';
bio_title[4]='Set #4 - The Builders';
bio_title[5]='Set #5 - The Aviators';
bio_title[6]='Set #1 - The Musicians';
bio_title[7]='Set #2 - The Artists';
bio_title[8]='Set #3 - The Leaders';
bio_title[9]='Set #4 - The Role Models';
bio_title[10]='Set #5 - The Innovators';
// episode description array for Bio Moments sets
var bios = new Array();
bios[0]=''; // leave item 0 blank, so that each item number corresponds with the episode number
bios[1]='Learn about men and women of today who are still &quot;living off the land&quot; like the pioneers from centuries earlier.';
bios[2]='A special chapter dedicated to modern independent women who have built their lives out of the Canadian wilderness.';
bios[3]='Members of Canada’s artistic community, from glass blowers to painters and folk musicians, tell their own stories.';
bios[4]='Modern Canada would not be the same without these builders and entrepreneurs.';
bios[5]='This chapter is dedicated to the pilot in everyone’s life, featuring such famous aviators as businessman Max Ward (founder of Ward Air), bush pilot George Greening and former <em>Wings over Canada</em> co-host Raeline Ranger.';
bios[6]='Explore the contributions South Asians have made to Canada’s musical pop culture.';
bios[7]='Learn more about South Asian Canada&acute;s creative elements, from writers and designers to dance instructors, plus a special interview with pop singer Juggy D.';
bios[8]='Meet the leaders of Canada’s South Asian community including political activists, filmmakers and motivational speaker Azeem Jamal';
bios[9]='Among the celebrities we all look up to are actress Veena Soud, DJ Nira Arora and athletic heroes like B.C. Lion Bobby Singh and rising basketball player Pasha Bains, all of them Canadians with South Asian roots.';
bios[10]='Last, but not least, we interview the most successful business entrepreneurs in Canada’s South Asian communities including multi-millionaire Krish Suthanthiran, a magazine publisher and a woman who invented her own baby food.';

