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 = '
In the Night Garden is best described as a modern televisual interpretation of a nursery rhyme picture book. It is about a magical place that exists between waking and sleeping in a child’s imagination. It is a place inhabited by a diverse community of toy characters that care for each other unconditionally. Words, rhymes and music carry the viewer through a happy world of loveable characters and nursery rhyme nonsense.
'; tmpDate = new Date(2010,6,31,5,30); tmpEpisode = new NextEpisodeInfo('Trousers on the Ninky Nonk', '', tmpDate); tmpEpisode.EpisodeAirTimes.push(new Date(2010,6,31,3,30)); tmpEpisode.EpisodeAirTimes.push(new Date(2010,6,31,4,30)); tmpEpisode.EpisodeAirTimes.push(new Date(2010,6,31,2,30)); partner_nextEpisodes.push(tmpEpisode); tmpDate = new Date(2010,7,1,5,30); tmpEpisode = new NextEpisodeInfo('Where Are the Wottingers', '', tmpDate); tmpEpisode.EpisodeAirTimes.push(new Date(2010,7,1,3,30)); tmpEpisode.EpisodeAirTimes.push(new Date(2010,7,1,4,30)); tmpEpisode.EpisodeAirTimes.push(new Date(2010,7,1,2,30)); partner_nextEpisodes.push(tmpEpisode); tmpDate = new Date(2010,7,1,8,30); tmpEpisode = new NextEpisodeInfo('Playing Hiding Makka Pakka', 'The Tombliboos have discovered a new game, hiding in the garden.', tmpDate); tmpEpisode.EpisodeAirTimes.push(new Date(2010,7,1,6,30)); tmpEpisode.EpisodeAirTimes.push(new Date(2010,7,1,7,30)); tmpEpisode.EpisodeAirTimes.push(new Date(2010,7,1,5,30)); partner_nextEpisodes.push(tmpEpisode); tmpDate = new Date(2010,7,2,5,30); tmpEpisode = new NextEpisodeInfo('Windy Day in the Garden', 'Upsy Daisy and Igglepiggle are going for a walk in the garden and it is a very windy day.', tmpDate); tmpEpisode.EpisodeAirTimes.push(new Date(2010,7,2,3,30)); tmpEpisode.EpisodeAirTimes.push(new Date(2010,7,2,4,30)); tmpEpisode.EpisodeAirTimes.push(new Date(2010,7,2,2,30)); partner_nextEpisodes.push(tmpEpisode); tmpDate = new Date(2010,7,2,19,30); tmpEpisode = new NextEpisodeInfo('Igglepiggle Looks for Upsy Daisy and Follows Her Bed', 'Igglepiggle cannot find Upsy Daisy, but then he spots her bed.', tmpDate); tmpEpisode.EpisodeAirTimes.push(new Date(2010,7,2,17,30)); tmpEpisode.EpisodeAirTimes.push(new Date(2010,7,2,18,30)); tmpEpisode.EpisodeAirTimes.push(new Date(2010,7,2,16,30)); partner_nextEpisodes.push(tmpEpisode); partner_newsItems.push('Watch these cute clips and print fun activities!'); 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 +"