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 = '

'; var partner_newsItems = []; var partner_episodeItems = []; var partner_showInfo = ''; var partner_nextEpisodes = []; var partner_months = ['January','February','March','April','May','June','July','August','September','October','November','December']; var partner_days = ['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday']; function NextEpisodeInfo(name, description, time) { this.EpisodeName = ""+ name +""; this.EpisodeDescription = description; this.EpisodeAirTimes = []; this.EpisodeAirTimes.push(time); } NextEpisodeInfo.prototype = { getShowTime : function(intIdentifier) { return this.EpisodeAirTimes[intIdentifier]; } }; var tmpDate; var tmpEpisode; partner_showInfo = '
Harry knows he\'s the luckiest kid in the world; his Nana has given him the greatest present ever, something that no one else has - a bucket with six toy dinosaurs that come to life and are all his best friends.
 
NEW - ENHANCED site with lots of games - coming soon!
'; tmpDate = new Date(2010,8,6,9,30); tmpEpisode = new NextEpisodeInfo('What\'s Thunder; Once Upon a Time', 'Harry watches a storm from his bedroom window and wonders what causes thunder and lightening; Sam doesn\'t want to share her art supplies with Harry.', tmpDate); tmpEpisode.EpisodeAirTimes.push(new Date(2010,8,6,7,30)); tmpEpisode.EpisodeAirTimes.push(new Date(2010,8,6,8,30)); tmpEpisode.EpisodeAirTimes.push(new Date(2010,8,6,6,30)); partner_nextEpisodes.push(tmpEpisode); tmpDate = new Date(2010,8,6,14,30); tmpEpisode = new NextEpisodeInfo('Once Upon a Time', 'Harry needs a green crayon to illustrate his story about a naughty Troll.', tmpDate); tmpEpisode.EpisodeAirTimes.push(new Date(2010,8,6,12,30)); tmpEpisode.EpisodeAirTimes.push(new Date(2010,8,6,13,30)); tmpEpisode.EpisodeAirTimes.push(new Date(2010,8,6,11,30)); partner_nextEpisodes.push(tmpEpisode); tmpDate = new Date(2010,8,6,21,30); tmpEpisode = new NextEpisodeInfo('What\'s Thunder; Once Upon a Time', 'Harry watches a storm from his bedroom window and wonders what causes thunder and lightening; Sam doesn\'t want to share her art supplies with Harry.', tmpDate); tmpEpisode.EpisodeAirTimes.push(new Date(2010,8,6,19,30)); tmpEpisode.EpisodeAirTimes.push(new Date(2010,8,6,20,30)); tmpEpisode.EpisodeAirTimes.push(new Date(2010,8,6,18,30)); partner_nextEpisodes.push(tmpEpisode); tmpDate = new Date(2010,8,7,9,30); tmpEpisode = new NextEpisodeInfo('Superheroes Don\'t Dance; I Love Strawberries', 'Harry plays a game of superheroes; Harry wants to eat the strawberries in the garden.', tmpDate); tmpEpisode.EpisodeAirTimes.push(new Date(2010,8,7,7,30)); tmpEpisode.EpisodeAirTimes.push(new Date(2010,8,7,8,30)); tmpEpisode.EpisodeAirTimes.push(new Date(2010,8,7,6,30)); partner_nextEpisodes.push(tmpEpisode); tmpDate = new Date(2010,8,7,14,30); tmpEpisode = new NextEpisodeInfo('I Love Strawberries', 'Harry really wants to eat the strawberries growing in the garden.', tmpDate); tmpEpisode.EpisodeAirTimes.push(new Date(2010,8,7,12,30)); tmpEpisode.EpisodeAirTimes.push(new Date(2010,8,7,13,30)); tmpEpisode.EpisodeAirTimes.push(new Date(2010,8,7,11,30)); partner_nextEpisodes.push(tmpEpisode); if(partner_newsItems.length > 0) partner_html = partner_html.replace(/%% NEWS_GOES_HERE %%/g, partner_newsItems.join('
')); else partner_html = partner_html.replace(/%% NEWS_GOES_HERE %%/g, '

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 +"
"+ partner_nextEpisodes[0].EpisodeDescription); } function partner_leadingZero(nr) { if (nr < 10) nr = "0" + nr; return nr; } function partner_getHourAndTT(dte) { var hour = dte.getHours(); var tag; if (hour > 12) { hour = hour - 12; tag = "PM"; } else { tag = "AM"; } return [partner_leadingZero(hour), tag]; } function partner_getFormattedDate(date) { var html = partner_days[date.getDay()] +', '+ partner_months[date.getMonth()] +' '+ date.getDate() +', '+ date.getFullYear(); html += " AT "+ partner_getHourAndTT(date)[0] +':'+ partner_leadingZero(date.getMinutes()) +' '+ partner_getHourAndTT(date)[1]; return html +' EST'; } var strPartnerShowTime = ''; for(var i=0;i"; } partner_html = partner_html.replace(/%% SHOW_INFO_HERE %%/g, strPartnerShowTime); document.write(partner_html);