function showVideo(id, playerUrl, videoUrl, width, height)
{
    //use default player if not specified
    playerUrl = playerUrl || '/webdata/graphics/VideoPlayer.swf';

    var movie = unityFlashObject('flashObj' + id, playerUrl, width, height, 9)
	movie.AddParam('allowFullScreen', 'true');
	movie.AddParam('allowScriptAccess', 'always');
	if (videoUrl != '')
	{
	    movie.AddParam('flashVars', 'file=' + videoUrl + String.fromCharCode(38) + 'autostart=true');
	}
		
	movie.Insert('flashVideo' + id, false);
}
