 			WeaveAPI.globalHashMap.setNameOrder(names);
 			lcs.groupedCallback.value = false;
 			lcs.script.value = "if (typeof ExportMenu != 'undefined') {\n" +
-				"\tExportMenu.disableScripts();\n" +
+				"\tExportMenu.disableScripts(" + Compiler.stringify(exportUrl) + ");\n" +
 				"\tExportMenu.export();\n" +
 				"\tSessionStateEditor.openDefaultEditor();\n" +
 				"}";

					'var obj = window[WEAVE_EXTERNAL_TOOLS][windowName];',
					'obj.window.close();'
				);
			var url:String = '/pdo/pdo.html';
			ExternalTool.launch(WeaveAPI.globalHashMap, url, lastHtml5WindowName = ExternalTool.generateWindowName());
		}
		
		public static function disableScripts():void
		{
			LinkableFunction.enabled = false;
			LinkableCallbackScript.enabled = false;
			
			var names:Array = WeaveAPI.globalHashMap.getNames();
			var lcs:LinkableCallbackScript = WeaveAPI.globalHashMap.requestObject("_disableFlashScripts", LinkableCallbackScript, false);

			);
		}
		
		public static var url:String = "/weave-html5/";
		
		public static function export():void
		{
			if (lastHtml5WindowName)
