/****************************
FOR USE ON 3D CAROUSEL MODULE
- in use with Flash
****************************/

"use strict";
// global window: true, document: true, jQuery: true, swfobject: true, Intel: true

(function ($) {

	// Initialization for mod-3d-carousel class including Flash parameters and settings
	Intel.mod.init3DCarousel = function (jsonFile) {
		var self = this;
		$('#mod-3d-carousel-flash').html('<a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" target="_blank">Get the Flash Plugin to see this Flash Banner.</a>');
		self.flashvars					= {};
		self.flashvars.configPath		= jsonFile;
		self.params						= {};
		self.params.wmode				= "transparent";
		self.params.base				= '/Assets/Flash/';
		self.attributes					= {};
		swfobject.embedSWF("/about/sitewide/mod-3d-carousel.swf", "mod-3d-carousel-flash", "725", "220", "9.0.0.0", false, self.flashvars, self.params, self.attributes);
	};
}(jQuery));

// Append to Global JS Initializations using jQuery
/*
jQuery(document).ready(function () {
	Intel.mod.init3DCarousel("/Assets/Flash/mod-3d-carousel.swf");
});
*/
