$f("fms", "/flowplayer/flowplayer.commercial-3.1.4.swf", {
		
	key: '#@dab19f1a38ba8ec2f53',
		
	clip: {

		// use baseUrl so we can play with shorter file names

		// use first frame of the clip as a splash screen
		autoPlay: false,
		//autoBuffering: true,
		
		// track start event for this clip         
		onStart: function(clip) {             
			google._trackEvent("Videos", "Play", $("#spnProgramTitle").text());         
		}, 
		 
		// track pause event for this clip. time (in seconds) is also tracked        
		onPause: function(clip) {             
			google._trackEvent("Videos", "Pause", $("#spnProgramTitle").text());         
		},

		onResume: function(clip) {
			google._trackEvent("Videos", "Resume", $("#spnProgramTitle").text());
		},
		
		onSeek: function(clip) {
			google._trackEvent("Videos", "Seek", $("#spnProgramTitle").text());
		},                 
		 
		// track stop event for this clip. time is also tracked         
		onStop: function(clip) {             
			google._trackEvent("Videos", "Stop", $("#spnProgramTitle").text()); 
		},                  
		 
		// track finish event for this clip         
		onFinish: function(clip) {             
			google._trackEvent("Videos", "Finish", $("#spnProgramTitle").text());         
		},
		
		provider: "rtmp"
	},
	
	// the logo, shown 10 seconds from the start
	logo: {
		url: 'http://www.amazingfacts.org/portals/0/mediamgrimgs/afax-bug.png',
		fullscreenOnly: false,
		displayTime: 10
	},
	
	// gradually show on mouseover 
	onMouseOver: function() { 
		this.getPlugin("logo").fadeTo(0.5, 1000); 
	}, 
 
	// gradually hide on mouseout 
	onMouseOut: function() { 
		this.getPlugin("logo").fadeTo(0, 1000); 
	}, 
				
	// streaming plugins are configured under the plugins node
	plugins: {
		rtmp: {
			url: '/flowplayer/flowplayer.rtmp-3.1.3.swf',
			netConnectionUrl: 'rtmp://vod01.netdna.com/play'
		}, 			
		
		controls: { 
			stop: true     
		} 
	}
});

// get the links and alter their click behaviour
var els=['sol1','sol2','sol3','sol4','sol5']
for (var i_tem = 0; i_tem < els.length; i_tem++) {

	if (document.getElementById(els[i_tem]) != null) 
	{
		document.getElementById(els[i_tem]).onclick = function() {
			
			document.getElementById("spnProgramTitle").innerHTML = this.innerHTML + '<br>';
			
			// play the clip specified in href- attribute with Flowplayer
			$f().play(this.getAttribute("href", 2));
			
			// by returning false normal link behaviour is skipped
			return false;
		}
	}
}
