xhr_cb(xhr, data, time_elapsed) {
		if (data != null) {
			if (data.status != "failed") {
				mrun_running();
				window.setTimeout(function(){window.location.reload(false);}, 30000);
			} else {
				mrun_not_running();
			}
		}
	}
	function simet_trigger_run(button) {
		button.style.display = 'none';
		button.disabled = true;
		mrun_message.style.display = '';
		(new XHR()).get('<%=url("admin/simet/simet_start_measurement_run")%>', null, simet_trigger_run_xhr_cb);
	}
	function simet_register_ma(button) {
	