	function showTimes (t) {
		$('tt_video').style.left='34px';
		var x,next,today,col1,col2,content,body,title,status,last,link;
		var col = new Array(' ', '','');
		
// TV Times ------------------------------------------------------------------------------
		var i = 0;
		x = t.tv,next=getTimesNext(x),last=x.length-1,today=getTimesToday(x),content='',body='',title='',status=getTimesStatus(x),col1=col2='';
		switch(status) {
			case 1: // 1: week ahead
			case 2: // 2: tomorrow
			case 6: // 6: tournament done
				// These states show the full schedule
				// First, figure out if this is a one or two channel event

				var ch = new Array(' ', '', '');
				var days = new Array(' ', new Array(), new Array());
				var half=2; if(x.length>4) half=3;
				for (i=0;i<x.length;i++) {
					if (i == 0) {
						ch[1] = x[i].channel; 
						days[1].push(i);
						continue;
					} 
					if (ch[1] != x[i].channel && ch[2] == '') {
						ch[2] = x[i].channel; 
						days[2].push(i);
						continue;
					}				
					if (ch[1] == x[i].channel && days[1].length < half) days[1].push(i);
					else days[2].push(i);
				}
				// Loop the channels
				if (ch[2] == '') {
					// For just ONE channel
					title = '<th colspan="2">'+'<span class="tvtitle">'+getChannelName(ch[1]).toUpperCase()+'</span>'+formatDate(' [m1]/[d1] -', x[0].date)+formatDate(' [m1]/[d1]', x[last].date)+'</th>';
				} else {
					// For TWO channels
					title = '<th>'+'<span class="tvtitle">'+getChannelName(ch[1]).toUpperCase()+'</span>'+'</th><th>'+getChannelName(ch[2]).toUpperCase()+'</th>';
				}
				// Build Body
				for (var c=1;c<=2;c++){
					for (i=0; i<days[c].length; i++){
						if (i>0) col[c]+='<br/>'; // enters break
						var j=days[c][i];
						if (x[j].start2) {
							col[c]+= formatDate('<b>[d3]:</b> [time][p1]', x[j].date, x[j].start ) + formatTime(' & [time][p1] ET', x[j].start2);
						} else {
							col[c]+= formatDate('<b>[d3]:</b> [time][p1]', x[j].date, x[j].start ) + formatTime(' - [time][p1] ET', x[j].finish);
						}
					}
				}
				if (days[2].length < 3) col[2]+='<br/> &nbsp; &nbsp; &nbsp; &nbsp; <a href="/tv-times">See full TV Listings</a>';
				body = '<table><tr>'+title+'</tr><tr><td valign="top">'+col[1]+'</td><td valign="top">'+col[2]+'</td></tr></table>';
				break;
			case 3: // 3: today
			case 5: // 5: highlights - tomorrow
				if (status == 3) { title = ' today'; i=today; }
				if (status == 5) { title = ' tomorrow'; i=next; }
				title = 'On '+getChannelName(x[i].channel) + title;
				body = formatDate('[d4] [time] [p1]', x[i].date, x[i].start);
				if (x[i].start2) { 
					if (x[i].channel2) {
						body += formatTime(' - [time] [p1]', x[i].finish ) + formatTime(' & <br/><b>'+ getChannelName(x[i].channel2) +'</b> [time] [p1]', x[i].start2 );
						if (x[i].finish2) { body += formatTime(' - [time] [p1]', x[i].finish2 ); }
					} else {
						body += formatTime(' & [time] [p1]', x[i].start2 );
					}
				} else { 
					body += formatTime(' - [time] [p1]', x[i].finish );
				}
				body = '<table><tr><th colspan="2">'+title+'</th></tr><tr><td colspan="2"><h3>'+body+' ET</h3></td></tr><tr><td align="right" colspan="2"><a href="/tv-times" style="font-size:10px;float:right;position:relative;top:-7px;">See full TV Listings</a></td></tr></table>';
				break;
			case 4: // 4: live now 
			case 7: // 7: live now 2: channel 2 
				if (status == 4){
					title = getChannelName(x[today].channel) + formatDate(' [time] [p1]', x[today].date, x[today].start) + formatTime(' - [time] [p1] ET', x[today].finish );
					if (x[today].start2 && x[today].channel2 && x[today].finish2) {
						title += ' & <br/>' + getChannelName(x[today].channel2) + formatTime(' [time] [p1]', x[today].start2 ) + formatTime(' - [time] [p1] ET', x[today].finish2 );
					}
				}
				if (status == 7){
					title = getChannelName(x[today].channel2) + formatDate(' [time] [p1]', x[today].date, x[today].start2) + formatTime(' - [time] [p1] ET', x[today].finish2 );
				}
				body = '<div style="margin: 12px 0px 0px 15px; width: 250px;"><h2>On TV NOW!</h2><b>'+title+'</b></a></div>';

		}
		if (e('tt_tv','timesContent')) e('tt_tv','timesContent').innerHTML = body;

		
// XM Times ------------------------------------------------------------------------------
		
		x = t.xm,next=getTimesNext(x),last=x.length-1,today=getTimesToday(x),content='',body='',title='',status=getTimesStatus(x),col1=col2=col[1]=col[2]='';
		link = 'window.open(\'/multimedia/xmplayer/index.html\',\'xmplayer\',\'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=705,height=510\');';
		switch(status) {
			case 1: // 1: week ahead
			case 5: // 5: highlights
			case 6: // 6: tournament done
			case 2: // 2: tomorrow
				title = 'PGA TOUR Network on XM 146'; break;
			case 3:  // 3: today
				title = 'PGA TOUR Network on XM 146 Today'; break;
			case 4:  // 4: live now
				title = 'PGA TOUR Network on XM 146 NOW'; break;
		}
		if (status != 4) {
		// nonlive state:
			var half=2; if(x.length>4) half=3;
			for (i=0; i<half && i<x.length; i++){
				if (i>0) col[1] += '<br/>';
				col[1] += formatDate('<b>[d3]:</b> [time][p1]', x[i].date, x[i].start ) + formatTime(' - [time][p1] ET', x[i].finish);
			}
			for (i=half; i<x.length; i++){
				if (i>half) col[2] += '<br/>';
				col[2] += formatDate('<b>[d3]:</b> [time][p1]', x[i].date, x[i].start ) + formatTime(' - [time][p1] ET', x[i].finish);
				//if (i==4 && x.length==5) col[2] +='<br/> &nbsp; &nbsp; &nbsp; &nbsp; <a href="/multimedia/audio/pgatournetwork/">More About XM</a>';
			}
			if (x.length<4) col[2]+='<br/>';
			if (x.length<6) col[2]+='<br/> &nbsp; &nbsp; &nbsp; &nbsp; <a href="/multimedia/audio/pgatournetwork/">More about XM</a>';
			body = '<table><tr><th colspan="2">'+title+'</th></tr><tr><td valign="top">'+col[1]+'</td><td valign="top">'+col[2]+'</td></tr></table>';
		} else {
		// Live state
			body = '<div style="margin: 12px 0px 0px 15px; width: 220px;">'
				+'<div class="play" style="float:right; cursor: pointer;" onclick="'+link+'">&nbsp; </div><h2 style=" cursor: pointer;" onclick="'+link+'">XM 146: Listen NOW!</h2>Golf talk, live coverage &amp; analysis<br/> &nbsp; &nbsp; &nbsp; &nbsp; <a href="/multimedia/audio/pgatournetwork/" style="font-size:10px;float:right;position:relative;top:-10px;">More about XM</a></div>';
		}
		if (e('tt_xm','timesContent')) e('tt_xm','timesContent').innerHTML = body;
		
// Liveat ------------------------------------------------------------------------------
		 
		if (t.liveat) {
			//Tourn_Id
			link = "window.location = '/livegolf/'";
			x = t.liveat,next=getTimesNext(x),last=x.length-1,today=getTimesToday(x),content='',body='',title='',status=getTimesStatus(x),col1=col2=col[1]=col[2]='';
			switch(status) {
				case 1:// 1: week ahead
				case 2: // 2: tomorrow
					if(status==1) title = 'Live Video Coverage';
					if(status==2) title = 'Live Video Coverage Tomorrow';
					half=2; if(x.length>4) half=3;
					for (i=0; i<half && i<x.length; i++){
						if (i>0) col[1] += '<br/>';
						col[1] += formatDate('<b>[d3]:</b> [time][p1]', x[i].date, x[i].start ) + formatTime(' - [time][p1]', x[i].finish);
					}
					for (i=half; i<x.length; i++){
						if (i>half) col[2] += '<br/>';
						col[2] += formatDate('<b>[d3]:</b> [time][p1]', x[i].date, x[i].start ) + formatTime(' - [time][p1]', x[i].finish);
					}
					if (x.length<4) col[2]+='<br/>';
					if (x.length<6) col[2]+='<br/> &nbsp; &nbsp; &nbsp; &nbsp; * all times are ET';
					body = '<table><tr><th colspan="2">'+title+'</th></tr><tr><td valign="top">'+col[1]+'</td><td valign="top">'+col[2]+'</td></tr></table>';
					break;
				case 3: // 3: today
					if (status==2) { i=next; title='Live Video Tomorrow';	}
					if (status==3) { i=today; title='Live Video Today';	}
					body = '<div style="margin: 12px 0px 0px 15px; width: 220px; cursor: pointer;" onclick="'+link+'">'
							+'<h2>'+title+'</h2><b>'+formatDate('[d4] [time][p1]', x[i].date, x[i].start ) + formatTime(' - [time][p1] ET', x[i].finish)+'</b></div>';
					break;
				case 4: // 4: live now
				case 5: // 5: highlights
					if (status==4) { i=today; title='Watch NOW!'; link = "window.open('/liveat', '900x683','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=900,height=683');";	}
					if (status==5) { i=next; title='Watch Highlights';	}
					body = '<div style="margin: 12px 0px 0px 15px; width: 220px; cursor: pointer;" onclick="'+link+'">'
							+'<div class="play" style="float:right;">&nbsp; </div><h2>'+title+'</h2><b>'+formatDate('[d4] [time][p1]', x[i].date, x[i].start ) + formatTime(' - [time][p1] ET', x[i].finish)+'</b></div>';
					break;
				case 6: // 6: tournament done
					body = '<div style="margin: 12px 0px 0px 15px; width: 220px; cursor: pointer;" onclick="'+link+'">'
							+'<div class="play" style="float:right;">&nbsp; </div><h2 style="margin-top: 8px;">Watch Highlights</h2></div>';
					break;
			}
			show($('tt_video'));
			if (e('tt_video','timesContent')) e('tt_video','timesContent').innerHTML = body;
		} else {
			hide($('tt_video'));
		}
		x = t.tv;
		next = getTimesNext(x),last=x.length-1,today=getTimesToday(x),content='',body='',title='',status=getTimesStatus(x);

		// Tournament Spotlight ------------------------------------------------------------------
		if (e('tourSpotlightBox','tourSpotTournName')) {
			content = t.title;
			content += '<div class="tourSpotDates">'+formatDate('[d3], [m4] [d1] &ndash; ', x[0].date) + formatDate('[d3], [m4] [d1]', x[last].date )+'</div>';
			e('tourSpotlightBox','tourSpotTournName').innerHTML = content;
		}				
	
	}