/**
* Copyright (c)2008 44 Interactive. All Rights Reserved.
*
* SVN File: $Id: base.js 72 2008-06-05 12:06:42Z Mike Neugebauer $
* @author $Author: Mike Neugebauer $
* @version $Revision: 72 $
* @lastrevision $Date: 2008-06-05 07:06:42 -0500 (Thu, 05 Jun 2008) $
* @modifiedby $LastChangedBy: Mike Neugebauer $
* @lastmodified $LastChangedDate: 2008-06-05 07:06:42 -0500 (Thu, 05 Jun 2008) $
* @filesource $URL: svn+ssh://miken@svnhost/svnhome/base/branches/nextstage/cms_js/base.js $
*/


	function startHomeVideo( bizId, bizNameIn, autoplayIn )
	{
		var params = {};
		params.xmlFile = bizId + '.xml';
		params.initPlay = autoplayIn;
		params.bizName = bizNameIn;
		params.bizVideo = '/_cust/flash/videos/' + bizId + '.1.2010.mov';
		params.bizLogo = '/_client_media/featured_item_photos/logo_' + bizId + '.jpg';
		//alert( params.bizLogo );
		params.detailPage = '/sponsors/detail/' + bizId;
		startFlash( 'videoHome.swf', params );
	}

	function startDetailVideo( bizId, autoplayIn )
	{
		var params = {};
		params.xmlFile = bizId + '.xml';
		params.initPlay = autoplayIn;
		startFlash( 'video.swf', params );
	}

	function startFlash( swfIn, flashparamz )
	{
		//alert( flashparamz.xmlFile );
		var params = {};
		//params.wmode = "transparent";
		var attributes = {};
		swfobject.embedSWF("/_cust/flash/" + swfIn, "videoplayer", "435", "347", "9.0.0", "expressInstall.swf", flashparamz, params, attributes);
	}






 