<script type="text/javascript">//<![CDATA[
XHR.poll(5, '<%=url([[admin]], [[services]], [[frp]], [[status]])%>', null,
	function(x, data) {
		var tb = document.getElementById('frp_status');
		if (data && tb) {
			if (data.running) {
				var links = '<em><b><font color=green><%:The Frp service is running.%></font></b></em>';
				tb.innerHTML = links;
			} else {
				tb.innerHTML = '<em><b><font color=red><%:The Frp service is not running.%></font></b></em>';
			}
		}
	}
);
//]]>
</script>
<style>.mar-10 {margin-left: 50px; margin-right: 10px;}</style>
<fieldset class="cbi-section">
	<legend><%:Frp Status%></legend>
	<p id="frp_status">
		<em><%:Collecting data...%></em>
	</p>
</fieldset>
