<script type="text/javascript">//<![CDATA[
XHR.poll(3, '<%=url([[admin]], [[vpn]], [[openvpn-server]], [[status]])%>', null,
	function(x, data) {
		var tb = document.getElementById('openvpn_status');
		if (data && tb) {
			if (data.running) {
				var links = '<em><b><font color=green>OpenVPN Server <%:RUNNING%></font></b></em>';
				tb.innerHTML = links;
			} else {
				tb.innerHTML = '<em><b><font color=red>OpenVPN Server <%:NOT RUNNING%></font></b></em>';
			}
		}
	}
);
//]]>
</script>
<style>.mar-10 {margin-left: 50px; margin-right: 10px;}</style>
<fieldset class="cbi-section">
	<p id="openvpn_status">
		<em><%:Collecting data...%></em>
	</p>
</fieldset>