 		 *
 		 */
 		protected function saveAnnotationsToLocalObject(e:Event = null):void {
-			if ((viewComponent as annotationsPluginCode).useSharedObject) {
+			if (_flashvars.allowCookies=="true" && (viewComponent as annotationsPluginCode).useSharedObject) {
 				_unsavedAnnotationSO = (viewComponent as annotationsPluginCode).annotationsBox.getAllObjectsInFieldAsArray("annotation");
 				try {
 					SharedObject.getLocal(ANNOTATIONS_SO_PREFIX + _entryId).data.savedAnnotations = _unsavedAnnotationSO;
 					SharedObject.getLocal(ANNOTATIONS_SO_PREFIX + _entryId).flush();
 				}
 				catch (e:Error) {
-
+					trace ("Could not save annotation to cookie: No access to user's file system");
 				}
 			}
 		}



		protected function resetCookieForSessionId():void {
			try {
				SharedObject.getLocal(ANNOTATIONS_SO_PREFIX + _entryId).data.savedAnnotations = null;
				SharedObject.getLocal(ANNOTATIONS_SO_PREFIX + _entryId).flush();
			}
			catch (e:Error) {

			}
		}


		protected var _shouldPause:Boolean = false;

		private var _annotationToDelete:Annotation;
		
		private var _flashvars:Object;

		/**
		 * Saved annotations shared object prefix.
