// 468w Full Streaming Player Affiliate Widget

try
{
	document.getElementById('station-ad-468-60').style.display='none';
	adSpot468x60=document.getElementById('station-ad-468-60').innerHTML;
} catch (e) {
	adSpot468x60='';
}
try
{
	document.getElementById('station-symbol').style.display='none';
	affId=document.getElementById('station-symbol').innerHTML;
	affId=affId.toLowerCase();
	affId=affId.replace(/ /g,'');
} catch (e) {
	adSpot468x60='';
	affId='';
}
document.write('<div style="width:468px;height:687px;background:#000 url(http://www.nbc.com/assets/images/video/affiliates/widgets/player_widget_468w.jpg) no-repeat;position:relative;">');
	//document.write('<div id="logo" style="width:468px;text-align:right;position:absolute;"><img src="http://www.nbc.com/assets/images/video/affiliates/logos/k13pl.gif" border="0" alt=""></div>');

	document.write('<div id="ad-spot-468x60" style="top:175px;width:468px;height:60px;position:absolute;overflow:hidden;">'+adSpot468x60+'</div>');

	document.write('<div id="showSelect" style="top:258px;left:82px;position:absolute;">');
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="315" height="355" id="affiliate_episode_select" align="middle">');
	document.write('<param name="allowScriptAccess" value="always" />');
	document.write('<param name="movie" value="http://www.nbc.com/assets/swf/widgets/video/affiliate_episode_select.swf?xmlpath=http://www.nbc.com/assets/xml/video/affiliateshows.xml&affiliate='+affId+'" />');
	document.write('<param name="quality" value="high" />');
	document.write('<param name="wmode" value="transparent" />');
	document.write('<embed src="http://www.nbc.com/assets/swf/widgets/video/affiliate_episode_select.swf?xmlpath=http://www.nbc.com/assets/xml/video/affiliateshows.xml&affiliate='+affId+'" quality="high" wmode="transparent" width="315" height="355" name="affiliate_episode_select" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('</object>');
	document.write('</div>');
document.write('</div>');


