<html>

<head>

<script type="text/javascript" src="registerScript.js">
</script>

<script type="text/javascript">
function init(){
	loadServerConfig();
	getHosts('<%=request.getRemoteUser()%>');
	collapseAllRows();

}

</script>

<link rel="stylesheet" type="text/css"
href="treetable.css" />

</head>
<body class="oxford" onload="init()">
<!-- <img src= img/oxford.gif > -->
<h2>Welcome to Oxford Campus Wake on LAN Service! </h2>
You are now logged in as <%=request.getRemoteUser()%> <BR>

<table id="hostTable" width="90%" border="0" >
 <hr width="90%" align="left" > 
<TR align="left" bgcolor="F0E68C"><TH><TH colspan="1">GROUP<TH>NAME<TH>MAC ADDRESS<TH>LOCATION<TH colspan="1">ACTION
</table>


<BR>
<hr align="left">
<h3>Manually Register a MAC Address:</h3>
<P>
<INPUT type="button" onClick="register('<%=request.getRemoteUser()%>')" value="Register" id="registerbutton2">
</P>
<P id="macconsole" style="color:red"></P>
<P id="macpara">
</P>


<hr align="left"> 
<h3>Discover and Register your local Computer:</h3>

It appears the IP address of your computer is <b><%=request.getRemoteAddr()%></b><br/>

<P>
<INPUT type="button" onClick="createRegForm('<%=request.getRemoteUser()%>','<%=request.getRemoteAddr()%>')" value="Register" id="registerbutton">
</P>
<P id="console" style="color:red">
</P>

<P id="regpara"/>

</body>
</html>