 		var p:String;
 		var crc:String;
 			
-		if (!ApplicationGlobals.application.historyManagementEnabled)
+        if (!("historyManagementEnabled" in ApplicationGlobals.application) ||
+            !ApplicationGlobals.application.historyManagementEnabled)
 			return;
 
 		var pieces:Array = event.url.split(PROPERTY_SEPARATOR);

	 */
	public function unregister(obj:IHistoryManagerClient):void
	{
		if (!ApplicationGlobals.application.historyManagementEnabled)
			return;

		// Find the index of the object in the Array of all

		if (appID)
			return;

		if (!("historyManagementEnabled" in ApplicationGlobals.application) ||
            !ApplicationGlobals.application.historyManagementEnabled)
			return;

		var loaderInfo:LoaderInfo;
