
var flashPlayer = null;

function EDU_NoAutoStart(file)
{
	var objConfig = {
		playList: [{url: file}],
		autoPlay: false,
		loop: false
	};
	
	// if the flash player is already loaded, just set the config, otherwise load it now
	flashPlayer ? flashPlayer.setConfig(objConfig) : goPlayerEDU('video', objConfig);
}
function goPlayerEDU(objID, config)
{
	var userParams = {
		src		: '/includes/swf/FlowPlayerDark.swf',
		width	: 435, 
		height	: 271,
		wmode	: 'transparent' // so ui dialog pop up may sit ontop of the flash player.
	};
	
	var flashvars = {
		config: {  
			autoPlay: false, 
			usePlayOverlay: false,
			baseURL: 'http://roadtripnation.com/',
			loop: false
		}
	};
	
	jQuery.extend(flashvars.config, config);
	
	// do the actual embed
    flashPlayer = flashembed(objID, userParams, flashvars);
}