/*
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/
jQuery.noConflict();

jQuery(document).ready(function()
{
	var contentDiv = jQuery('div#vidflow');
	if ( contentDiv.length > 0 )
	{
		// put in the cover flow flash
	}
});

/**
 * This should get called by the coverflow flash when an image is clicked
 */
function selected(param)
{
	param = 'http://'+param;
	// put in the object
	swfobject.embedSWF(
		param,	// path to swf
		"inPlaceVideo",	// div id target where to put the flash
		"533",					// width
		"300",					// height
		"9.0.0",				// flash version
		VidFlowSettings.pluginUrl+"coverflow/expressInstall.swf",	// express loader
		{},							// variables to pass to flash
		{allowfullscreen:"true",allowscriptaccess:"always"},	// parameters to put in the object/embed tags
		{});						// object/embed tag attributes
}
