function ptnFlowPlayer( specialKey, cbBackgroundGradient, cbBackgroundColor, cbButtonColor, cbBufferColor, cbTimeBgColor, cbProgressColor, cbTime, cbScrubber ){
	var cdnPath = 'http://ptn.vo.llnwd.net/o9/u/website/';
	var imagePath = cdnPath + 'images/';
	var swfPath = cdnPath + 'swf/';
	var keys = {
			'playptn.com': '#@153a6073ef1c8dd2b49',
			'ptn-u.com': '#@5f9c0110d5065bde914',
			'secureyourfutureforever.com': '#@c62ae75f03d2716a479',
			'pokertrainingnetwork.net': '#$59f915195854bbae11b',
			'allinroom.net': '#@4cd827a5045a2dd9e47',
			'pokertrainingnetwork.com': '#$31e8476c548691d8b39'
		};
	if( specialKey == '' || specialKey == null ){ keys[ location.host ] = specialKey; }
	
	cbBackgroundGradient = ( cbBackgroundGradient == '' || cbBackgroundGradient == null ) ? 'high' : cbBackgroundGradient;
	cbBackgroundColor = ( cbBackgroundColor == '' || cbBackgroundColor == null ) ? '#cccccc' : cbBackgroundColor;
	cbButtonColor = ( cbButtonColor == '' || cbButtonColor == null ) ? '#a1a1a1' : cbButtonColor;
	cbBufferColor = ( cbBufferColor == '' || cbBufferColor == null ) ? '#a1a1a1' : cbBufferColor;
	cbTimeBgColor = ( cbTimeBgColor == '' || cbTimeBgColor == null ) ? '#a1a1a1' : cbTimeBgColor;
	cbProgressColor = ( cbProgressColor == '' || cbProgressColor == null ) ? '#074279' : cbProgressColor;
	cbTime = ( cbTime == '' || cbTime == null ) ? true : cbTime;
	cbScrubber = ( cbScrubber == '' || cbScrubber == null ) ? true : cbScrubber;
	
	this.source = {
		src: swfPath + 'flowplayer.commercial-3.1.5.swf', 
		wmode: 'transparent',
		expressInstall: swfPath + 'expressinstall.swf',
		};
	this.options = {
		autoStart: false,
		key: '#@4cd827a5045a2dd9e47',
		clip: {
			provider: 'cdn',
			acelerated: true,
			autoBuffering: true,
			bufferLength: 0,
			},
		canvas: {
				backgroundGradient: 'none',
				backgroundColor: 'transparent'
			},
		plugins: {
			cdn: {
				url: swfPath + 'flowplayer.rtmp-3.1.3.swf',
				netConnectionUrl: 'rtmp://ptn.fcod.llnwd.net/a3947/o9/s', 
				},
			controls: {
				backgroundGradient: cbBackgroundGradient,
				backgroundColor: cbBackgroundColor,
				buttonColor: cbButtonColor,
				bufferColor: cbBufferColor,
				timeBgColor: cbTimeBgColor,
				progressColor: cbProgressColor,
				time: cbTime,
				scrubber: cbScrubber
				}
			}
		};
}


