function hoverShow(obj,obj2,obj3) { var obj = document.getElementById(obj); obj.style.display="inline"; var obj2 = document.getElementById(obj2); obj2.style.display="none"; var obj3 = document.getElementById(obj3); obj3.style.display="none"; } function VideoPlayerPopUp(URL) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=0,resizable=1,width=980,height=700,left = 1,top = 1');"); } function resize() { var widths25 = widths+30; elements=['thtvWrapper','thtvNav','contentShell'] for (var count = 0; count < elements.length; count++) { document.getElementById(elements[count]).style.width=widths+"px"; } //document.getElementById('thtvSkyscraper').style.left=widths25+"px"; //document.getElementById('thtvSkyscraper').style.marginRight="-"+widths25+"px"; } function dockInfo() { for( var j = 0; j < arguments.length; j++ ) { var obj = document.getElementById(arguments[j]); obj.style.visibility="hidden"; } document.getElementById('dock').style.visibility="visible"; } function undockInfo() { for( var j = 0; j < arguments.length; j++ ) { var obj = document.getElementById(arguments[j]); obj.style.visibility="visible"; } document.getElementById('dock').style.visibility="hidden"; } var partner_html = '
'; tmpDate = new Date(2009,10,21,18,25); tmpEpisode = new NextEpisodeInfo('Playing Road Hockey', 'Emily joins two time Olympic hockey gold medalist Hayley Wickenheiser.', tmpDate); tmpEpisode.EpisodeAirTimes.push(new Date(2009,10,21,16,25)); tmpEpisode.EpisodeAirTimes.push(new Date(2009,10,21,17,25)); tmpEpisode.EpisodeAirTimes.push(new Date(2009,10,21,15,25)); partner_nextEpisodes.push(tmpEpisode); tmpDate = new Date(2009,10,22,11,25); tmpEpisode = new NextEpisodeInfo('Exploring a Hot Water Spring', 'Emily explores a natural hot spring in Banff, Alberta.', tmpDate); tmpEpisode.EpisodeAirTimes.push(new Date(2009,10,22,9,25)); tmpEpisode.EpisodeAirTimes.push(new Date(2009,10,22,10,25)); tmpEpisode.EpisodeAirTimes.push(new Date(2009,10,22,8,25)); partner_nextEpisodes.push(tmpEpisode); tmpDate = new Date(2009,10,22,18,25); tmpEpisode = new NextEpisodeInfo('Exploring the Rockies', 'Emily is exploring the Rockies.', tmpDate); tmpEpisode.EpisodeAirTimes.push(new Date(2009,10,22,16,25)); tmpEpisode.EpisodeAirTimes.push(new Date(2009,10,22,17,25)); tmpEpisode.EpisodeAirTimes.push(new Date(2009,10,22,15,25)); partner_nextEpisodes.push(tmpEpisode); tmpDate = new Date(2009,10,23,13,55); tmpEpisode = new NextEpisodeInfo('Making Origami', 'Emily joins and origami artist to learn how to fold paper into different shapes.', tmpDate); tmpEpisode.EpisodeAirTimes.push(new Date(2009,10,23,11,55)); tmpEpisode.EpisodeAirTimes.push(new Date(2009,10,23,12,55)); tmpEpisode.EpisodeAirTimes.push(new Date(2009,10,23,10,55)); partner_nextEpisodes.push(tmpEpisode); tmpDate = new Date(2009,10,24,13,55); tmpEpisode = new NextEpisodeInfo('At the Humane Society', 'Emily learns what the Humane Society does for the community.', tmpDate); tmpEpisode.EpisodeAirTimes.push(new Date(2009,10,24,11,55)); tmpEpisode.EpisodeAirTimes.push(new Date(2009,10,24,12,55)); tmpEpisode.EpisodeAirTimes.push(new Date(2009,10,24,10,55)); partner_nextEpisodes.push(tmpEpisode); if(partner_newsItems.length > 0) partner_html = partner_html.replace(/%% NEWS_GOES_HERE %%/g, partner_newsItems.join('
There is no news available right now
'); if(partner_nextEpisodes.length > 0) { partner_html = partner_html.replace(/%% EPISODES_GO_HERE %%/g, partner_nextEpisodes[0].EpisodeName +"