var flashvars = {};

var params = {};
params.quality = "best";
params.bgcolor = "#FFFFFF";
params.allowScriptAccess = "sameDomain";
params.allowfullscreen = "true";

var attributes = {};
attributes.id = "swyzz";
attributes.name = "swyzz";
attributes.align = "middle";

function registerswfmacmousewheel()
{
	if( swfmacmousewheel != null && swfmacmousewheel != undefined ) swfmacmousewheel.registerObject( attributes.id );
}

function updateFlashContent()
{
	var minVersion = "10.0";
	
	if( swfobject.hasFlashPlayerVersion( minVersion ) ) 
	{
		$.include( _basePath + 'js/swfmacmousewheel2.js', registerswfmacmousewheel);
		
		flashvars.basePath = _basePath;
		flashvars.appPath = _appPath;
	  	
		//alert("_basePath: " + _basePath );
		//alert("_appPath: " + _appPath );
		
	  	var file = _appPath + "mm.swf";
		swfobject.embedSWF( file, "flashContent", "100%", "100%", minVersion, _basePath + "js/expressInstall.swf", flashvars, params, attributes );
		
		return true;
	}
	else
	{
	  return false;
	}
}