function MediaPlayer_Single (id_elt, swf_path, preview_image, link_URL, width, height, bufferLength)
{

	if (!swf_path)
		return;

	var flvplayer = new SWFObject ('MediaPlayer/MediaPlayer.swf', 'single', width.toString (), height.toString (), '9');

	flvplayer.addParam ('allowfullscreen', false);
	flvplayer.addVariable ('autostart', false);

	flvplayer.addVariable ('width', width.toString ());
	flvplayer.addVariable ('height', height.toString ());

	flvplayer.addVariable ('file', swf_path);
	
	flvplayer.addVariable ('screencolor', '0xd2d2d2');
	flvplayer.addVariable ('frontcolor', '0xffffff');
	flvplayer.addVariable ('lightcolor', '0xffff00');
	flvplayer.addVariable ('backcolor', '0x646464');

	if (link_URL != null)
	{	
		flvplayer.addVariable ('linkfromdisplay', true);
		flvplayer.addVariable ('link', link_URL);
	}

	flvplayer.addVariable ('repeat', false);
	flvplayer.addVariable ('overstrech', true);
	flvplayer.addVariable ('showdownload', true);
	flvplayer.addVariable ('shownavigation', true);
	//flvplayer.addVariable ('controlbar', 'over');
	//flvplayer.addVariable ('logo', 'MediaPlayer/T2VideoLogo.gif');

	if (preview_image == null)
		flvplayer.addVariable ('image', 'http://www.t-2.net/MediaPlayer/T-2VideoLogo.gif');	// relative to /MediaPlayer
	else
		flvplayer.addVariable ('image', preview_image);										// static content
	
	if (bufferLength != null && bufferLength != undefined)
		flvplayer.addVariable ('bufferlength', bufferLength);	// in seconds

	flvplayer.write (id_elt);
	
	return;
}

