 			{
 				sendNotification( NotificationType.ALERT, {message: "Application is unable to access your file system.", title: "Error saving localized settings"} );
 			}
-			
+
 			var ccFileToLoad : KalturaCaptionAsset;
 			for each (var ccObj : KalturaCaptionAsset in _closedCaptionsDefs.availableCCFiles)
 			{

						{
							switchActiveCCFile( ccObj );
						}
						
						if (_flashvars.allowCookies=="true" && ccObj.language )
						{
							try

		//new Boolean flag indicating that the entry is currently showing embedded rather than external captions.
		private var _showingEmbeddedCaptions : Boolean = false;
		private var _embeddedCaptionsId : String;

		private var _mediaProxy : MediaProxy;

		private var _hideClosedCaptions:Boolean  = false;

		public function ClosedCaptionsMediator (closedCaptionsDefs:closedCaptionsFlexiblePluginCode , viewComponent:Object=null)
		{
			super(NAME, viewComponent);
			_closedCaptionsDefs = closedCaptionsDefs;
		}

		public function get hideClosedCaptions():Boolean
		{
			return _hideClosedCaptions;
