let sheetfs = document.getElementById("fssheet");
						
			//log("report: "+ report + ", backend: "+backend);
			
			switch (backend) {
				case "img":
					imgfs.disabled = false;
					sheetfs.disabled = true;
					break;								
				case "sheet":
					imgfs.disabled = true;
					sheetfs.disabled = false;
					break;								
				default:
					imgfs.disabled = true;
					sheetfs.disabled = true;
					break;								
			}
			
			changeVisible("btnTerminate", isHttpServer());
		}
		function rewriteFormAction(