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

<html>
<head>
<title>Menu of Home energy service</title>
    <jsp:useBean id="em" scope="session" class="EntrakMain"/>
    <jsp:useBean id="mcpm" scope="session" class="MainControlPanel_Map"/>

<%

   
%>


<SCRIPT LANGUAGE="JavaScript">
<!--
function popWin(the_page,the_target,the_width,the_height) {
		window.open(the_page,the_target,"status=no,menubar=no,scrollbars=no,resizable=no,width=" + the_width + ",height=" + the_height);
}
//-->
</SCRIPT>

  <SCRIPT LANGUAGE="JavaScript">
<!--
function popwin(aPage, aTarget, w, h, var1, var2){
        window.open(aPage,aTarget,'status=no,top=0,left=0,scrollbars=' +((var1=='scroll' || var2=='scroll')? 'yes' : 'no')+ ',resizable=' +((var1=='resize' || var2=='resize')? 'yes' : 'no')+ ',width='+w+',height='+h);
}
//-->
</SCRIPT>



<SCRIPT LANGUAGE="JavaScript">
    <!--- Hide script from old browsers

    // This function gets the URL of the right frame
        function getMapURL() {
            var mapURL=""+parent.detailFrame.location.href;
            return mapURL;
    }// end script hiding from old browsers -->

</SCRIPT>



<SCRIPT LANGUAGE="JavaScript">


    //Global window number
    winNum = 0;
    profileWinNum = 0;

    //Global window name
    profileWin = new Array();
    //profileWin = "";
    imgWin = new Array();


    function openEPM(aPage, aTarget, w, h, var1, var2) {

        if(profileWin[profileWinNum] == null) {



            var mapURL=""+parent.detailFrame.location.href;
            var p=""+aPage+"?mapURL="+mapURL;
            profileWin[profileWinNum] = window.open(p,aTarget+"_"+profileWinNum.toString(),'status=yes,top=0,left=0,dependent=yes,scrollbars=' +((var1=='scroll' || var2=='scroll')? 'yes' : 'no')+ ',resizable=' +((var1=='resize' || var2=='resize')? 'yes' : 'no')+ ',width='+w+',height='+h);
            
            profileWinNum++;
        }//
        else {
            
        }//else
    }//



</SCRIPT>

<SCRIPT language="JavaScript">
    function dayOptionMenu() {
	    var i=0
		document.write("<option selected>1</option>");
	    for( i=1; i<= 31; i++){				
            document.write("<OPTION>" + i+"</OPTION>");
		}	
    }
 function yearOptionMenu() {
	    var i=0
		document.write("<option selected>2004</option>");
	    for( i=1; i<= 5; i++){				
            document.write("<OPTION>" + (1999+i) +"</OPTION>");
		}	
    }
</SCRIPT>
<SCRIPT language="JavaScript">

    function underConstruction() {
        alert("This option is under construction");
    }

</SCRIPT>
 <!-- Rollover Image Script - Place within <head> tag -->
<script language="JavaScript" type="text/javascript">
<!-- Hide from older browsers
function SwitchImg()
{ //start
  var rem, keep=0, store, obj, switcher=new Array, history=document.Data;
    for (rem=0; rem < (SwitchImg.arguments.length-2); rem+=3) {
    	store = SwitchImg.arguments[(navigator.appName == 'Netscape')?rem:rem+1];
    if ((store.indexOf('document.layers[')==0 && document.layers==null) ||
        (store.indexOf('document.all[')==0 && document.all==null))
         store = 'document'+store.substring(store.lastIndexOf('.'),store.length);
         obj = eval(store);
    if (obj != null) {
   	   switcher[keep++] = obj;
      switcher[keep++] = (history==null || history[keep-1]!=obj)?obj.src:history[keep];
      obj.src = SwitchImg.arguments[rem+2];
  } }
  document.Data = switcher;
} //end

function RestoreImg()
{ //start
  if (document.Data != null)
    for (var rem=0; rem<(document.Data.length-1); rem+=2)
      document.Data[rem].src=document.Data[rem+1];
} //end

// end hiding contents -->
</script>
</HEAD>


<body>

<!--  date tion Java script       -->
<!--p align="CENTER"> Select Period </p> -->
<!--form method="post">
<table>
  <tr>
   <td>
    From:
   </td>
   </tr>
   <tr>
   <td>
    <select name="fromDay" size="1">
	     
		 <SCRIPT language="JavaScript">
		    dayOptionMenu();
		 </script>	
     </select>

    <select name="fromMonth" size="1">
	     <option selected>JAN</option>                      
         <option>JAN</option>
		 <option>FEB</option>
         <option>MAR</option>
		 <option selected >APR</option>
		 <option>MAY</option>
		 <option>JUN</option>
		 <option>JUL</option>
		 <option>AUG</option>
         <option>SEP</option>
		 <option>OCT</option>
		 <option>NOV</option>
		 <option>DEC</option>
		 
     </select>

     <select name="fromYear" size="1">
         <SCRIPT language="JavaScript">
		    yearOptionMenu();
		 </script>	                
     </select>

      </td>
     </tr>
	 
  <tr>
  <td>
    To:&nbsp;&nbsp;&nbsp;&nbsp;
  </td>
  </tr>
	 
   <tr>
   <td>
    <select name="toDay" size="1">
	     <option selected>1</option>
		 <SCRIPT language="JavaScript">
		    dayOptionMenu();
		 </script>	
     </select>

    <select name="toMonth" size="1">
	     <option selected>JAN</option>                      
         <option>JAN</option>
		 <option>FEB</option>
         <option>MAR</option>
		 <option selected>APR</option>
		 <option>MAY</option>
		 <option>JUN</option>
		 <option>JUL</option>
		 <option>AUG</option>
         <option>SEP</option>
		 <option>OCT</option>
		 <option>NOV</option>
		 <option>DEC</option>
		 
     </select>

     <select name="toYear" size="1">
          <SCRIPT language="JavaScript">
		    yearOptionMenu();
		 </script>	                          
     </select>

   
   </td>
  </tr>

 </table>

</form-->

<table cellspacing="20" width="180" height="100">
 <tr>
   <td>
   <a href="hw_monitoring_energy_main.jsp" target= "contentFrame" onMouseOut="RestoreImg()" onMouseOver="SwitchImg('document.energy_cost','document.energy_cost','images/energy_cost_rollover_button.JPG')"><img src="images/energy_cost_normal_button.JPG" name="energy_cost" width="82" height="24" alt="energy_cost" border="0"></a>   
   </td>    
 </tr>
 <tr>
   <td> 
   <a href="hw_monitoring_breakdown_main.jsp" target= "contentFrame" onMouseOut="RestoreImg()" onMouseOver="SwitchImg('document.cost_breakdown','document.cost_breakdown','images/cost_breakdown_rollover_button.JPG')"><img src="images/cost_breakdown_normal_button.JPG" name="cost_breakdown" width="80" height="24" alt="cost breakdown" border="0"></a>
   </td>
 </tr>

 <tr>
   <td> 
   <a href="hw_monitoring_environ_main.jsp" target= "contentFrame" onMouseOut="RestoreImg()" onMouseOver="SwitchImg('document.environ_condition','document.environ_condition','images/environ_condition_rollover_button.JPG')"><img src="images/environ_condition_normal_button.JPG" name="environ_condition" width="82" height="23" alt="environment conditions" border="0"></a>   
   </td>
 </tr>
 <tr>
   <td> 
   <a href="temp_html/hw_comparison.html" target= "contentFrame" onMouseOut="RestoreImg()" onMouseOver="SwitchImg('document.comparison','document.comparison','images/comparison_rollover_button.JPG')"><img src="images/comparison_normal_button.JPG" name="comparison" width="80" height="22" alt="comparison" border="0"></a> 	   
   </td>
 </tr>
 <tr>
   <td> 
   <a href="temp_html/hw_interpretation.html" target= "contentFrame" onMouseOut="RestoreImg()" onMouseOver="SwitchImg('document.interpretation','document.interpretation','images/interpretation_rollover_button.JPG')"><img src="images/interpretation_normal_button.JPG" name="interpretation" width="81" height="24" alt="energy interpretation" border="0"></a>	   
   </td>
 </tr>
 <tr>
   <td> 
   <a href="hw_main.jsp" target= "_parent" onMouseOut="RestoreImg()" onMouseOver="SwitchImg('document.home_main','document.home_main','images/home_rollover_button.JPG')"><img src="images/home_normal_button.JPG" name="home_main" width="81" height="24" alt="back_to_home" border="0"></a>	   
   </td>
 </tr>
 
</table>



</body>

</html>


