$(function() {
	
	// setup player without "internal" playlists
	$f("player", "/flash/flowplayer.commercial-3.1.5.swf", {
		clip: {
			
			
			
			baseUrl: 'http://cdn.cloudfiles.mosso.com/c42072/',
		
		scaling: 'scale',
			
			autoPlay: true, 
        	autoBuffering: true,
		 	// track start event for this clip   
        	onBegin: function(clip) {   
            	pageTracker._trackEvent("Videos", "Play", "Home:" + this.getClip().url);  
        	},   
          
        	// track pause event for this clip   
        	onPause: function(clip) {   
            	pageTracker._trackEvent("Videos", "Pause", "Home:" + this.getClip().url);  
        	},   
          
        	// track stop event for this clip   
        	onStop: function(clip) {   
            	pageTracker._trackEvent("Videos", "Stop", "Home:" + this.getClip().url);  
        	},   
          
        	// track finish event for this clip   
        	onFinish: function(clip) {   
			
			
            	pageTracker._trackEvent("Videos", "Finish", "Home:" + this.getClip().url);  
				
			}
			
				
        	},
		
		// show playlist buttons in controlbar
	plugins:  {
		controls: false
	},	
		
		// product key from your account 
    		key: '#@2d63e3835e5fbde69db' 
	
		
		
		
	// use playlist plugin. again loop is true
	});
	 
	//set the home tab
	$('#tabs li:eq(1) a').addClass('active')
 

	
});

