<%@ page language="java" import="java.util.*" errorPage="error.jsp"%>

<html>
<head>
<title>Home energy Service: title</title>

<jsp:useBean id="em" scope="session" class="EntrakMain"/>

<script language="JavaScript">
<!--
    function printID( username, ref, address) {

	    var today = new Date();
		display="";		
		display+= "Username: " + "<font color=\"#330099\">"+ username+"</font>  " ;
		display+= "Referrence: " + "<font color=\"#330099\">"+ ref + "</font> " ;
		display+= "Address: " +"<font color=\"#330099\">"+ address + "</font> ";  
		display+= "<br>" + today.toString();
	    document.write( display );
        
    } 
// -->
</script>

</head>

<body>

<h3 align="CENTER"> <font color="#ff6633">WELCOME TO YOUR </font> <font color="#0099ff">"PERSONAL ENERGY SERVICE"</font></h3>

<p>
<strong><font size="2">
<script language="JavaScript">
   printID( "<%=em.username%>", "A062166112", "M313 James Weir, 75 Montrose St. Glasgow G1 1XJ");    
</script>

</p>
</font></strong>


</body>

</html>





