/**
 * The PDFA Look For Signs
 * 
 * This application handles the checklist functionality
 * It shows and hides the detail information on click
 * 
 * @author Michael Robinson (mrobinson@mcdpartners.com)
 */
(function () {

    /**
     * The dei package
     * 
     * @namespace pdfa
     * @package pdfa.dei.learnRiskFactors
     */
	pdfa.dei.learnRiskFactors = {
		
	 	swf 			: '',		// Small Flash movie
		flashVar		: '',		// xml file for the small movie

		
		init : function(swf,vars){
			// Set flash movie
			pdfa.dei.learnRiskFactors.swf = swf;
			pdfa.dei.learnRiskFactors.flashVar = vars;
			pdfa.dei.learnRiskFactors.embedFlash();
		},
	
		embedFlash: function() {
			swfobject.embedSWF(
				pdfa.dei.learnRiskFactors.swf,
				'flash-small',
				'960',
				'406',
				'8.0.0',
				'expressInstall.swf',
				pdfa.dei.learnRiskFactors.flashVar
			)	
		}
	};
})();


/**
 * The Setup Routine (Called when the DOM is ready)
 */
mcd.dom.ready(function () {
	
	pdfa.dei.learnRiskFactors.init(
		'/assets/smallvideo/PDFA_smallVideoPlayer_01.swf',
		{xmlFileName: '/assets/VideoPlayer_t1s3_intro.xml'}
	);


});
