 	import reprise.ui.DocumentView;
 	import reprise.ui.UIComponent;
 	import reprise.ui.UIObject;
-
-	import com.nesium.events.FileMonitorEvent;
-	import com.nesium.logging.FileMonitor;
 
 	import flash.display.DisplayObject;
 	import flash.display.Sprite;

		***************************************************************************/
		reprise function startWatchingStylesheets() : void
		{
			FileMonitor.instance().removeEventListener(
				FileMonitorEvent.FILE_CHANGED, file_changed);
			var stylesheets : Array = m_document.styleSheet.stylesheetURLs();
			var containsLocalFiles : Boolean;
			for each (var url : String in stylesheets)
			{
				if (url.indexOf('file://') == 0)
				{
					FileMonitor.instance().startMonitoringFile(url.substr(7));
					containsLocalFiles = true;
				}
			}
			if (containsLocalFiles)
			{
				log('d start watching stylesheets');
				FileMonitor.instance().addEventListener(
					FileMonitorEvent.FILE_CHANGED, file_changed);
			}
		}
		

			}
		}

		protected function file_changed(path : String) : void
		{
			reloadStyles();
		}
