function initFlowPlayer(playerType,container,jsControls,jsToolbar,swfPath,swfAudioPath,playList,playListName) {
	var url = location.href;
	var playerKey = '';
	if(url.search(/asaphshop.de/) > 0) playerKey = '#@f7cf32e4bf58c4fd944';
	if(url.search(/asaphshop.ch/) > 0) playerKey = '#@ff937a593add573642c';
	
	
	if((container == null) || (container == '')) {
		return;
	}
	if((jsControls != null) && (jsControls != '') && (jsControls != false)) {
		//use the flowplayer with js-controls
		$f(container, swfPath, {
			key: playerKey,
			// don't start automatically
			clip: {
				autoPlay: false,
				autoBuffering: true
			},
	
			canvas: {
				// remove default canvas gradient
				backgroundGradient: 'none',
				
				// setup a light-blue border
				border:'none'
			},
			// disable default controls
			plugins: {
				controls: null
			}
		}).controls(jsControls,  {
			// install HTML controls inside element whose id is "icMovieControls"
			// CSS class name for the playhead
			playHeadClass: 'playhead',
			// CSS class name for the track
			trackClass: 'track',
			// CSS class name for the playhead when in a playing state
			playClass: 'play',
			// CSS class name for the playhead when in a paused state
			pauseClass: 'pause',
			// CSS class name for the buffer bar
			bufferClass: 'buffer',
			// CSS class name for the progress bar
			progressClass: 'progress',
			// CSS class name for the time display
			timeClass: 'time',
			// CSS class name for mute button
			muteClass: 'mute',
			// CSS class name for the unmute button
			unmuteClass: 'unmute',
			// a default duration for the time display in seconds
			duration: 0
		});
	}
	else {
		// use the default flowplayer
		// setup player normally
		$f(container, {src:swfPath, wmode: 'transparent'}, {
			//debug:true,
			key: playerKey,
			// clip properties common to all playlist entries
			clip: {
				autoPlay: false,
				autoBuffering: true,
				onStart: function(clip) {
					if(typeof refreshDescription == 'function') {
						refreshDescription(clip.title, clip.artist);
					}
				}
			},

			play:{opacity:0},

			canvas: {
				// configure background properties
				backgroundColor: 'transparent',
				// remove default canvas gradient
				backgroundGradient: 'none'
			},

			// our playlist
			playlist: playList,
			
			// show playlist buttons in controlbar
			plugins: {
				controls:{
					playlist: true,
					buttonOffColor:"rgba(130,130,130,1)",
					borderRadius:"0px",
					timeColor:"#ffffff",
					stop:true,
					bufferGradient:"none",
					sliderColor:"#000000",
					zIndex:1,
					backgroundColor: "transparent",
					scrubberHeightRatio:0.3,
					tooltipTextColor:"#ffffff",
					volumeSliderGradient:"none",
					sliderGradient:"none",
					spacing:{"time":6,"volume":8,"all":2},
					timeBorderRadius:20,
					timeBgHeightRatio:0.8,
					volumeSliderHeightRatio:0.3,
					progressGradient:"none",
					height:36,
					volumeColor:"rgba(24, 103, 177, 1)",
					tooltips:{"marginBottom":5,"buttons":false},
					timeSeparator:" ",
					name:"controls",
					volumeBarHeightRatio:0.6,
					opacity:1,
					timeFontSize:12,
					left:"50pct",
					tooltipColor:"rgba(0, 0, 0, 0)",
					bufferColor:"rgba(74, 74, 74, 1)",
					volumeSliderColor:"rgba(0, 0, 0, 1)",
					border:"0px",
					buttonColor:"#ffffff",
					durationColor:"rgba(204, 0, 0, 1)",
					autoHide:{"enabled":false,"hideDelay":500,"mouseOutDelay":500,"hideStyle":"fade","hideDuration":400,"fullscreenOnly":true},
					backgroundGradient:"none",
					width:"100pct",
					sliderBorder:"1px solid rgba(128, 128, 128, 0.7)",
					display:"block",
					buttonOverColor:"rgba(204, 0, 0, 1)",
					//url:"#StoreRoot/Flash/ic_provideflowplayer/flowplayer.controls-3.2.5.swf",
					fullscreen:false,
					timeBorder:"0px solid rgba(0, 0, 0, 0.3)",
					progressColor:"rgba(24, 103, 177, 1)",
					timeBgColor:"rgba(24, 103, 177, 0)",
					scrubberBarHeightRatio:0.8,
					bottom:0,
					volumeBorder:"1px solid rgba(128, 128, 128, 0.7)",
					builtIn:false,
					margins:[2,12,2,12]
				},
        audio: {
            url: swfAudioPath
        }
			}
		});
	}

	/*
		plugin for as playlist entries
	*/
	if(playList.length > 1) {
		if((playListName != null) && (playListName != '')) {
			$f(container).playlist("ol."+playListName+":first", {loop:true});
		}
	}
}
