// TOUR HOME LINKS - FULL SCREEN PLAYER
// -------------------------------------------------------------------

function PrintHomeVideoLinks(Video_ID, Video_Type, Video_Date)
{
// first check if Video_Type is provided, i.e. there is a video; otherwise print vid not available
	if (Video_Type=='')
	{
		document.write('');
		return true;
	}

// check Video_Type and print appropriate links
// BTS is used for widescreen 16:9 videos
	if (Video_Type=='BTS')
	{
		document.write ('<div style="float:left;width:73px"><a href="/tour/play.php?type=flv&path=' + Video_ID + '/flash700/wf700ws2"><img src="/images/bbb_home_play_butt.gif" alt="Play Trailer" title="Play Trailer" width="73" height="33" border=0></a></div><div style="width:333px;height:33px;background:url(\'/images/bbb_home_back.jpg\') repeat-x top left;float:left;">&nbsp;</div><div style="float:left;"><a href="/tour/play.php?type=dl&path=trailers/' + Video_ID + '-700"><img src="/images/bbb_home_download_butt.gif" alt="Download Trailer" title="Download Trailer"width="73" height="33" border=0></a></div>');
	}
	
	else if (Video_Type=='h.264 normal')
	{
		document.write ('<div style="float:left;width:73px"><a href="/tour/play.php?type=flv&path=' + Video_ID + '/h1500/wh1500"><img src="/images/bbb_home_play_butt.gif" alt="Play Trailer" title="Play Trailer" width="73" height="33" border=0></a></div><div style="width:333px;height:33px;background:url(\'/images/bbb_home_back.jpg\') repeat-x top left;float:left;">&nbsp;</div><div style="float:left;"><a href="/tour/play.php?type=dl&path=trailers/' + Video_ID + '-1500"><img src="/images/bbb_home_download_butt.gif" alt="Download Trailer" title="Download Trailer"width="73" height="33" border=0></a></div>');
	}

	else if (Video_Type=='h.264 wide')
	{
		document.write ('<div style="float:left;width:73px"><a href="/tour/play.php?type=flv&path=' + Video_ID + '/h1500/wh1500ws2"><img src="/images/bbb_home_play_butt.gif" alt="Play Trailer" title="Play Trailer" width="73" height="33" border=0></a></div><div style="width:333px;height:33px;background:url(\'/images/bbb_home_back.jpg\') repeat-x top left;float:left;">&nbsp;</div><div style="float:left;"><a href="/tour/play.php?type=dl&path=trailers/' + Video_ID + '-1500"><img src="/images/bbb_home_download_butt.gif" alt="Download Trailer" title="Download Trailer"width="73" height="33" border=0></a></div>');
	}

// otherwise videos have 700k	
	else
	{
		document.write ('<div style="float:left;width:73px"><a href="/tour/play.php?type=flv&path=' + Video_ID + '/flash700/wf700"><img src="/images/bbb_home_play_butt.gif" alt="Play Trailer" title="Play Trailer" width="73" height="33" border=0></a></div><div style="width:333px;height:33px;background:url(\'/images/bbb_home_back.jpg\') repeat-x top left;float:left;">&nbsp;</div><div style="float:left;"><a href="/tour/play.php?type=dl&path=trailers/' + Video_ID + '-700"><img src="/images/bbb_home_download_butt.gif" alt="Download Trailer" title="Download Trailer"width="73" height="33" border=0></a></div>');
	}
}



function PrintVideoLinks(Video_ID, Video_Type, Video_Date)
{
// first check if Video_Type is provided, i.e. there is a video; otherwise print vid not available
	if (Video_Type=='')
	{
		document.write('');
		return true;
	}

// check Video_Type and print appropriate links
// BTS is used for widescreen 16:9 videos
	if (Video_Type=='BTS')
	{
		document.write ('<a href="/tour/play.php?type=flv&path=' + Video_ID + '/flash700/wf700ws2"><img src=/images/bbb_videos_play_butt.png height=30 width=77 alt="Play Trailer" title="Play Trailer" border=0></a><a href="/tour/play.php?type=dl&path=trailers/' + Video_ID + '-700"><img src=/images/bbb_videos_download_butt.png height=30 width=77 border=0 alt="Download Trailer" title="Download Trailer" hspace=2></a>');
	}
	
	else if (Video_Type=='h.264 normal')
	{
		document.write ('<a href="/tour/play.php?type=flv&path=' + Video_ID + '/h1500/wh1500"><img src=/images/bbb_videos_play_butt.png height=30 width=77 alt="Play Trailer" title="Play Trailer" border=0></a><a href="/tour/play.php?type=dl&path=trailers/' + Video_ID + '-1500"><img src=/images/bbb_videos_download_butt.png height=30 width=77 border=0 alt="Download Trailer" title="Download Trailer" hspace=2></a>');
	}

	else if (Video_Type=='h.264 wide')
	{
		document.write ('<a href="/tour/play.php?type=flv&path=' + Video_ID + '/h1500/wh1500ws2"><img src=/images/bbb_videos_play_butt.png height=30 width=77 alt="Play Trailer" title="Play Trailer" border=0></a><a href="/tour/play.php?type=dl&path=trailers/' + Video_ID + '-1500"><img src=/images/bbb_videos_download_butt.png height=30 width=77 border=0 alt="Download Trailer" title="Download Trailer" hspace=2></a>');
	}

// otherwise videos have 700k	
	else
	{
		document.write ('<a href="/tour/play.php?type=flv&path=' + Video_ID + '/flash700/wf700"><img src=/images/bbb_videos_play_butt.png height=30 width=77 alt="Play Trailer" title="Play Trailer" border=0></a><a href="/tour/play.php?type=dl&path=trailers/' + Video_ID + '-700"><img src=/images/bbb_videos_download_butt.png height=30 width=77 border=0 alt="Download Trailer" title="Download Trailer" hspace=2></a>');
	}
}



