/*NOTE: Must include 'flowplayer-3.0.6.js' for this to work!


/**
  * A convenience wrapper function to start an embedded FlowPlayer
  **/
function InitFlowPlayer( divName, dontBuffer )
{
	flowplayer(divName, 
		{
			src: "/_lib_/flowplayer/flowplayer-3.2.2.swf",
			wmode: "transparent"
		},
		{
			clip:
			{ 
				scaling:'fit',
				autoPlay:false,
				autoBuffering:!dontBuffer
			},
			canvas:
			{
				backgroundGradient: "none",
				backgroundColor: "#000000"
			}
		}
	);
}


/**
  * Popup a flowplayer in a new window
  **/
var theURL;
function PopUpFlowplayer( URL )
{
	//Store the URL where the child can get to it, and open it up.  It'll check theURL before strting its FlowPlayer.
	theURL = URL;
	var newWindow = window.open("/_lib_/flowplayer/flowplayer_popup.html", "flowPlayerWindow","height=350,width=425");
	newWindow.window.focus();
}
