











	
		// Default player
	 	function kaWidgetLoaded() {
			$("#videoplayer").kickappsVideo({
				"videoUrl"          : "/content/digital/feeds/video/homepage.xml",
				"videoComponent"    : "Video Player Component",
				"playlists"         : [{"componentName":"Custom List","feedUrl":"/content/digital/feeds/video/homepage.xml"}],
				"prerollUrl"        : "http://adsrv.dispatch.com/RealMedia/ads/adstream_sx.ads/www.ONNtv.com/video_HP/256526386@x01",
				"omniture"          : {
					"omniturePlayerName":"Homepage Player",
					"affiliateOmnitureAccount" : "dispatchonntv"
				}
			});	
		}
		
		
			
		
		// Streaming breaking news, preroll
	 	function onnBreakingNewsPaid() {
			$("#videoplayer").kickappsVideo({
				"videoUrl"          : "rtmp://cdispatch.fc.llnwd.net/cdispatch/breaking",
				"videoComponent"    : "Video Player Component",
				"omniture"	: {
					"omniturePlayerName":"Streaming News Player",
					"affiliateOmnitureAccount" : "dispatchonntv"
				},
				"prerollUrl"    : "http://adsrv.dispatch.com/RealMedia/ads/adstream_sx.ads/www.ONNtv.com/video_HP/256526386@x01",
				"custom"	: [
							{
								"componentName":"landingBackgroundImage",
								"propertyName":"contentURL",
								"value":"http://www.onntv.com/content/digital/images/video/bg_onn-breaking-stream.jpg"
							},
							{
								"componentName":"LandingTitle",
								"propertyName":"text",
								"value":"LIVE VIDEO"
							}
						]
			});	
		}
		
		// Streaming breaking news, preroll
	 	function onnBreakingNewsFree() {
	 	
			$("#videoplayer").kickappsVideo({
				"videoUrl"          : "rtmp://cdispatch.fc.llnwd.net/cdispatch/breaking",
				"videoComponent"    : "Video Player Component",
				"omniture"	: {
					"omniturePlayerName":"Streaming News Player, No Preroll",
					"affiliateOmnitureAccount" : "dispatchonntv"
				},
				"custom"	: [
							{
								"componentName":"landingBackgroundImage",
								"propertyName":"contentURL",
								"value":"http://www.onntv.com/content/digital/images/bg_onn-breaking-stream.jpg"
							},
							{
								"componentName":"LandingTitle",
								"propertyName":"text",
								"value":"LIVE VIDEO"
							}
						]
			});	
		}
		
		
		
	
		
		// Streaming radar, preroll
	 	function onnRadarPaid() {
			$("#videoplayer").kickappsVideo({
				"omniture"	: {
					"omniturePlayerName":"Streaming Radar Player",
					"affiliateOmnitureAccount" : "dispatchonntv"
				},
				"prerollUrl"    : "http://adsrv.dispatch.com/RealMedia/ads/adstream_sx.ads/www.ONNtv.com/video_StreamingRADAR/256526386@x01",
				"custom"	: [
							{
								"componentName":"RadarImage",
								"propertyName":"contentURL",
								"value":"http://www.onntv.com/content/images/weather/dopplernet.jpg?_=832"
							},
							{
								"componentName":"RadarTitle",
								"propertyName":"text",
								"value":"Watch Live DopplerNet Radar"
							}
						]
			});	
		}
		
		// Streaming radar, no preroll
	 	function onnRadarFree() {
			$("#videoplayer").kickappsVideo({
				"omniture"	: {
					"omniturePlayerName":"Streaming Radar Player, No Preroll",
					"affiliateOmnitureAccount" : "dispatchonntv"
				},
				"custom"	: [
							{
								"componentName":"RadarImage",
								"propertyName":"contentURL",
								"value":"http://www.onntv.com/content/images/weather/dopplernet.jpg?_=832"
							},
							{
								"componentName":"RadarTitle",
								"propertyName":"text",
								"value":"Watch Live DopplerNet Radar"
							}
						]
			});	
		}
		
		
		
		
		
		// Streaming newscast, preroll
	 	function onnNewscastPaid() {
			$("#videoplayer").kickappsVideo({
				"omniture"	: {
					"omniturePlayerName":"Streaming Newscast Player",
					"affiliateOmnitureAccount" : "dispatchonntv"
				},
				"prerollUrl"    : "http://adsrv.dispatch.com/RealMedia/ads/adstream_sx.ads/www.ONNtv.com/video_HP/256526386@x01"
			});	
		}
		
		// Streaming newscast, preroll
	 	function onnNewscastFree() {
			$("#videoplayer").kickappsVideo({
				"omniture"	: {
					"omniturePlayerName":"Streaming Newscast Player, No Preroll",
					"affiliateOmnitureAccount" : "dispatchonntv"
				}
			});	
		}								
		
	
	
	

var twitterCfg = {
  version: 2,
  type: 'profile',
  rpp: 1,
  interval: 6000,
  width: 'auto',
  height: 300,
  theme: {
    shell: {
      background: '#ffffff',
      color: '#000000'
    },
    tweets: {
      background: '#ffffff',
      color: '#000000',
      links: '#3c7ef0'
    }
  },
  features: {
    scrollbar: false,
    loop: false,
    live: false,
    hashtags: true,
    timestamp: true,
    avatars: false,
    behavior: 'all'
  }
 }	
