window.addEvent('domready', function(){
	flowplayer(
			"a.player",
			"scripts/flowplayer-3.0.2.swf",
			{
			    clip:{
					autoPlay: !new Boolean(document.getElements('ul.photo').length).valueOf(),
		        	autoBuffering: true
			    },
			    plugins: {
			    controls: {
			        url: 'flowplayer.controls-3.0.2.swf',

			        // display properties
			        bottom:0,
			        height:24,
			        'z-index':1,
			        background: '#000 url(images/player/gradient.gif) repeat-x 3px 6px',
			        backgroundGradient: 'low',

			        // controlbar specific configuration
			        fontColor: '#f1f3f1',

			        progressColor:'#859785',
			        bufferColor:'#c2cbc2',
			        durationColor:'#f1f3f1',
			        buttonColor:'#b7c4b7',
			        buttonOverColor: '#dce1db',
			        autoHide: 'never',

			        // which buttons are visible and which not ?
			        play:true,
			        volume:true,
			        mute:true,
			        time:false,
			        stop:false,
			        playlist:false,
			        fullscreen:false,

			        // scrubber is a well known nickname to the timeline/playhead combination
			        scrubber: true

			        // you can also use "all" flag to disable/enable all controls
			    }
			}
			});
});