function myflowplayer (id,autoplay,loop,controller,withsound) {
	config = {
		buffering: true,
		clip: { 
				autoPlay: true,
				autoBuffering: true
			},
		plugins: {
			controls: {
				autohide: "never",
				time: false,
				opacity: 1,
				height:24,
				backgroundGradient: "none",
				background: "url(/js/flowplayer/controls.png) repeat-x",
				timeColor: "#01DAFF",
				durationColor: "#ffffff",
				progressColor: "#bb5c00",
				progressGradient: "low",
				bufferColor: "#714112",
				bufferGradient: "low",
				sliderColor: "#000000",
				sliderGradient: "low",
				buttonColor: "#999999",
				buttonOverColor: "#cccccc",
				volumeSliderColor: "#555555",
				volumeSliderGradient: "low",
				timeBgColor: "#555555",
				scrubberHeightRatio: 0.5,
				scrubberBarHeightRatio: 0.6,
				volumeSliderHeightRatio: 0.4,
				volumeBarHeightRatio: 0.6,
				timeBgHeightRatio: 0.7
			}
		}
	};
	if (!withsound) {
		config.plugins.controls.volume 	= false;
		config.plugins.controls.mute 	= false;
	}
	if (loop) {
		config.buffering 		= false;
		config.clip.onBeforeFinish 	= function () {return false;};
	}
	if (!autoplay) {
		config.clip.autoPlay	= false;
	}
	if (!controller) {
		config.plugins.controls = null;
	}
	flashconfig = {
		src: "/js/flowplayer/flowplayer-3.1.5.swf",
		version: [9,115],
		wmode: "opaque"
	};
	player = $f(id,flashconfig,config);	
}

