function flvinit( divid,  videowidth, videoheight, filename, imagename, provider)
//	init for jwplayer flash player
//	videoid: id vom div-Block; filename: flv-video, imagename: preview image
//	videowidth, videoheight, provider: video (default) o. youtube
{
	jwplayerfile = "/js/jwplayer/player.swf";
	expressinstallfile = "/js/jwplayer/expressInstall.swf";
	controlbarheight = 20; //controlbar

	var flashvars = {};
	//flashvars für swfobject: http://blog.powerflasher.de/swfobject2/#dypm
	//flashvars für jwplayer: http://developer.longtailvideo.com/trac/wiki/FlashVars

	flashvars.file = filename;   //videolocation
	flashvars.image	= imagename; //preview image

	if(!provider) provider = "video";
	flashvars.provider	= provider; //video, youtube
	
	//flashvars.title = ""; //not implemented
	//flashvars.displaytitle = true;  //not implemented
	
	//flashvars.stretching = "uniform";

	var divname = divid;

	var playerwidth = videowidth;
	var playerheight = videoheight + controlbarheight;

	//flashvars.streamer=""; //ggf. Streaming, 
		//http://developer.longtailvideo.com/trac/wiki/FlashFormats

	var params = {};
	//http://kb2.adobe.com/cps/127/tn_12701.html

	params.allowfullscreen = "true"; //notwendig für Vollbildansicht
					//(http://www.adobe.com/devnet/flashplayer/articles/full_screen_mode.html)

	var attributes = {};
	//attributes.align = "left";

	//initialize Shockwaveflash object with jwplayer
	swfobject.embedSWF(jwplayerfile, divname, playerwidth , playerheight, 
				"9.0.28", expressinstallfile, flashvars, params, attributes);

}//flvinit

