<%--
 Copyright : All Rights Reserved. Copyright (C) 2006, Hitachi, Ltd.
 Title     : ServerConductor WebConsole
 Version   : 08-00
 Name      : hostHeader.jsp
 Date      : 2006/04/12
 Author    : Amruth Rajagopal.V
 --%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ page language = "java"%>
<%@ page errorPage="errorDialog.jsp"%>
<%@ page import =
"JP.co.Hitachi.soft.System_Manager.webconsole.common.MessageConstant" %>
<%@ page import = "JP.co.Hitachi.soft.System_Manager.webconsole.common.Const"%>
<%@ page import = "JP.co.Hitachi.soft.System_Manager.data.HsmConst"%>
<%@ page contentType="text/html; charset=UTF-8" pageEncoding = "UTF-8" %>
<%@ taglib prefix = "bean"  uri = "/WEB-INF/struts-bean.tld" %>
<%@ taglib prefix = "html"  uri = "/WEB-INF/struts-html.tld" %>
<%@ taglib prefix = "util"  uri = "/WEB-INF/common-tags.tld" %>
<% response.addHeader("Cache-Control","no-cache"); %>
<util:checkURL/> 
<html:html locale = "true">      
  <head>
      <link rel = "stylesheet" type = "text/css" href = "css/header.css"> 
      <link rel = "stylesheet" type = "text/css" href = "css/common.css"> 
      <script src = "js/header.js"></script>
      <script src = "js/hostmgmt.js"></script>
	  <%-- <script src= "js/commmon.js"></script> --%>                                                                     <%-- 800WA_WEBCONSOLE125 --%>
      <script src= "js/common.js"></script>                                                                                <%-- 800WA_WEBCONSOLE125 --%>    
      <script>
	    // var IMG_CHECK_GIF='<%= Const.PATH_IMAGES %><%= Const.SEPARATOR_FILE%><%= Const.IMAGE_HOST_MGMT_CHECK%>'         // 800WA_WEBCONSOLE094               
        // var IMG_UNCHECK_GIF='<%= Const.PATH_IMAGES %><%= Const.SEPARATOR_FILE%><%= Const.IMAGE_HOST_MGMT_UNCHECK %>'    // 800WA_WEBCONSOLE094 
        var IMG_CHECK_GIF='<%= Const.PATH_IMAGES %><%= Const.SEPARATOR_FILE%><%= Const.IMAGE_HOST_MGMT_CHECK%>'            // 800WA_WEBCONSOLE094 
        var IMG_UNCHECK_GIF='<%= Const.PATH_IMAGES %><%= Const.SEPARATOR_FILE%><%= Const.IMAGE_HOST_MGMT_UNCHECK %>'       // 800WA_WEBCONSOLE094
      </script>

  </head>
<%                                                                              //   800WA_WEBCONSOLE468
   //getting the User type from session.                                        //   800WA_WEBCONSOLE468
   int l_iUserType = ((Integer)session                                          //   800WA_WEBCONSOLE468
      .getAttribute(Const.ATTRIBUTE_SESSION_USER_TYPE)).intValue();             //   800WA_WEBCONSOLE468
%>                                                                              <%-- 800WA_WEBCONSOLE468 --%>

 <%-- this is for getting product name from the internal properties file --%>
                 <util:set name = "CommonProductName">
	             <bean:message 
	                  bundle = "<%= Const.MESSAGE_RESOURCES_KEY_INTERNAL%>" 
	                  key = "internal.common.product.name"/>
                 </util:set>
  <%// <body onLoad=dropHostMgmtlink.focus()> %>                                                 <%// 800WA_WEBCONSOLE115%>    
  <%// <body onLoad=dropHostMgmtlink.focus()> %>                                                 <%// 800WA_WEBCONSOLE115%><%// 800WA_WEBCONSOLE183%>    
  <%// <body onLoad=dropHostMgmtlink.focus() onmousedown="bodyclick(event)"> %>                  <%// 800WA_WEBCONSOLE183%><%// 800WA_WEBCONSOLE200%>
  <%-- <body onLoad = dropHostMgmtlink.focus() onclick = "bodyclick(event)"> --%>                <%// 800WA_WEBCONSOLE200%> <%// 800WA_WEBCONSOLE404 %> 
  <body onLoad = dropHostMgmtlink.focus() onclick = "bodyclick(event)" 
  		<%-- onResize = "resetHeader(true)"> --%>								<% // 800WA_WEBCONSOLE404 %><% // 800WA_WEBCONSOLE449 %>
  		onResize = "resetHeader(true)" tabindex = "1">							<% // 800WA_WEBCONSOLE449 %>
  		
   <form>                                                                       <% // 800WA_WEBCONSOLE449 %>
   	<input type = "hidden" name = "selectedView" value = "service">             <% // 800WA_WEBCONSOLE449 %>
   </form>                                                                      <% // 800WA_WEBCONSOLE449 %>
  		
 <%-- Get the product logo display flag from property file and 
                                            set it into the pageContext --%>
                 <util:set name = "ProductLogoDisplayFlag">
                 <bean:message 
                      bundle = "<%= Const.MESSAGE_RESOURCES_KEY_INTERNAL%>" 
                      key = "internal.product.logo.display.flag"/>
                  </util:set>
	<div style="width:100%" id="logo">                             				<% // 800WA_WEBCONSOLE404 %>
           <%-- <% if(pageContext.getAttribute("ProductLogoDisplayFlag")
                                       .equals(Const.ATTRIBUTE_DISPLAY_FLAG_ON))
		       {   
		   %> --%>                                                              <%-- 800WA_WEBCONSOLE496 --%>
                 <util:set name = "ImgProductLogo">
                 <%-- <%= Const.PATH_IMAGES %><%= Const.IMAGE_PRODUCT_NAME %> --%> <% // 800WA_WEBCONSOLE414 %>
                 	<bean:message 
                 	bundle = "<%= Const.MESSAGE_RESOURCES_KEY_INTERNAL %>" 
                 	key = "internal.product.logo.image.path"/>					<% // 800WA_WEBCONSOLE414 %>
                 </util:set> 
				 <util:set name = "CommonProductName">
	             <bean:message 
	                  bundle = "<%= Const.MESSAGE_RESOURCES_KEY_INTERNAL%>" 
	                  key = "internal.common.product.name"/>
                 </util:set>

                 <util:set name = "AltProductLogo">                             <%-- 800WA_WEBCONSOLE470 --%>
                     <bean:message key = "alt.product.logo"
                      bundle = "<%=Const.MESSAGE_RESOURCES_KEY_ALT%>"/>         <%-- 800WA_WEBCONSOLE470 --%>
                 </util:set>                                                    <%-- 800WA_WEBCONSOLE470 --%>
                
                 <%-- <html:img
                      src = "<%= pageContext.getAttribute("ImgProductLogo")
                                                                  .toString()%>"
                      border = "0" styleClass = "rightTurn" 
                      alt = "<%= pageContext.getAttribute("CommonProductName")
                                                        .toString() %>"/> --%>     <%-- 800WA_WEBCONSOLE171 --%>         
        	     <%-- <html:img
                      src = "<%= pageContext.getAttribute("ImgProductLogo")
                                                                  .toString()%>"
                      border = "0" styleId = "product_logo"/>               --%><% // 800WA_WEBCONSOLE404 %><%-- 800WA_WEBCONSOLE470 --%>
                      <% if(pageContext.getAttribute("ProductLogoDisplayFlag")
                                   .equals(Const.ATTRIBUTE_DISPLAY_FLAG_ON)){ %><%-- 800WA_WEBCONSOLE496 --%>
                      <html:img border = "0" styleId = "product_logo"
                       src = "<%= pageContext.getAttribute("ImgProductLogo")
                                                                  .toString()%>"
                       alt = "<%= pageContext.getAttribute("AltProductLogo")
                                                                .toString()%>"/><%-- 800WA_WEBCONSOLE470 --%>
                      <%-- border = "0" styleClass = "rightTurn"/> --%>         <%-- 800WA_WEBCONSOLE171 --%> <% // 800WA_WEBCONSOLE404 %>
                      
			<% } else {                                                     	// 800WA_WEBCONSOLE404
            %> <%-- <div id="product_logo">&nbsp;</div> --%>                    <% // 800WA_WEBCONSOLE404 %><%-- 800WA_WEBCONSOLE496 --%>
            <html:img border = "0" styleId = "product_logo" style="visibility:hidden"
                       src = "<%= pageContext.getAttribute("ImgProductLogo")
                                                                  .toString()%>"
                       alt = "<%= pageContext.getAttribute("AltProductLogo")
                                                                .toString()%>"/><%-- 800WA_WEBCONSOLE496 --%>
           <%}%>

 <%-- Get the corporate logo display flag from property file and 
                                               set it into the pageContext --%>
                 <util:set name = "CorporateLogoDisplayFlag">
                 <bean:message 
                      bundle = "<%= Const.MESSAGE_RESOURCES_KEY_INTERNAL%>" 
                      key = "internal.corporate.logo.display.flag"/>
                 </util:set>
           
           <%-- <%if(pageContext.getAttribute("CorporateLogoDisplayFlag")
                                    .equals(Const.ATTRIBUTE_DISPLAY_FLAG_ON)){%> --%><%-- 800WA_WEBCONSOLE496 --%>
                 <util:set name = "ImgCompanyLogo">
                 <%-- <%= Const.PATH_IMAGES %><%= Const.IMAGE_COMPANY_LOGO %> --%> <% // 800WA_WEBCONSOLE414 %>
                 <bean:message 
                 bundle = "<%= Const.MESSAGE_RESOURCES_KEY_INTERNAL %>" 
                 key = "internal.corporate.logo.image.path"/>					<% // 800WA_WEBCONSOLE414 %>
                 </util:set>
                 <util:set name = "AltCompanyLogo">
                      <bean:message bundle = "<%=Const.MESSAGE_RESOURCES_KEY_ALT%>"  key = "alt.company.logo"/>
                 </util:set>                                                    
               <%--  <html:img 
                      src = "<%= pageContext.getAttribute("ImgCompanyLogo")
                            .toString()%>" styleClass = "leftTurn" border = "0"
                      alt = "<%= pageContext.getAttribute("AltCompanyLogo")
                            .toString()%>"/> --%>								<% // 800WA_WEBCONSOLE404 %>
               <%if(pageContext.getAttribute("CorporateLogoDisplayFlag")
                                    .equals(Const.ATTRIBUTE_DISPLAY_FLAG_ON)){%><%-- 800WA_WEBCONSOLE496 --%>
		<html:img 
                      src = "<%= pageContext.getAttribute("ImgCompanyLogo")
                      .toString()%>" styleId = "company_logo" border = "0"
                      alt = "<%= pageContext.getAttribute("AltCompanyLogo")
                            .toString()%>"/>									<% // 800WA_WEBCONSOLE404 %>
			<% } else {                                                     	// 800WA_WEBCONSOLE404
			%> <%-- <div id="company_logo">&nbsp;</div> --%>                    <% // 800WA_WEBCONSOLE404 %><%-- 800WA_WEBCONSOLE496 --%>
			<html:img style="visibility:hidden"
                      src = "<%= pageContext.getAttribute("ImgCompanyLogo")
                      .toString()%>" styleId = "company_logo" border = "0"
                      alt = "<%= pageContext.getAttribute("AltCompanyLogo")
                            .toString()%>"/>                                    <%-- 800WA_WEBCONSOLE496 --%>
           <%}%>
			</div>																<% // 800WA_WEBCONSOLE404 %>
			<div class = "page_title">											<% // 800WA_WEBCONSOLE404 %>
 <%--Getting the screen title from the property file and 
                                   displaying it along with the server name --%>
                 <%-- <span styleClass = "large" styleClass="rightTurn"></br></br>--%>          <%// 800WA_WEBCONSOLE147%>      
				 <%-- <span Class = "large" Class="rightTurn"></br></br> --%>   <%// 800WA_WEBCONSOLE147%> <%// 800WA_WEBCONSOLE404 %> 
	             <bean:message 
	                  bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
	                  key = "host.header.window.name" 
	                  arg0 = "<%=request.getServerName()%>"/>
	             <%-- </span></br> --%>											<% // 800WA_WEBCONSOLE404 %>
			</div>																<% // 800WA_WEBCONSOLE404 %>
                <%-- <hr> --%>													<% // 800WA_WEBCONSOLE404 %>
				<hr class="menu-hr" id="menu-hr" style ="top:70px">             <% // 800WA_WEBCONSOLE404 %>
       <div class = "menuTable" id = "menuTable" onresize = "resetHeader(true)" 
       		style ="top:90px">													<% // 800WA_WEBCONSOLE404 %>
        <table  width="100%">													<% // 800WA_WEBCONSOLE330 %> 
	        <tr>																<% // 800WA_WEBCONSOLE330 %> 
    		<td>																<% // 800WA_WEBCONSOLE330 %>          
 <%-- FOR MENU ITEMS--%>
	   <%-- <table border = "0" cellpadding = "0" width = "100%"> --%>                           <%// 800WA_WEBCONSOLE178%> 
            <%-- <table border = "0" cellpadding = "0"> --%> 					<%// 800WA_WEBCONSOLE178%> <% // 800WA_WEBCONSOLE330 %>
            <%-- <table border = "0" width="700" cellpadding = "0"> --%>        <% // 800WA_WEBCONSOLE330 %> <% // 800WA_WEBCONSOLE428 %>
            <table border = "0" class="menu-agent"  id="menu" > 				<% // 800WA_WEBCONSOLE428 %>
          <tr>

 <%-- This is for the host management menu item  --%>
              <%-- <td class = "nowrap"> --%>                                                    <%// 800WA_WEBCONSOLE178%> 
			   <%-- <td class = "nowrap" width = "12%"> --%>												 <%// 800WA_WEBCONSOLE178%> <% // 800WA_WEBCONSOLE330 %>
		<%-- <td class = "nowrap"> --%>											<% // 800WA_WEBCONSOLE330 %> <% // 800WA_WEBCONSOLE404 %>
              <%-- <td class="menu-agent-left"> --%>                            <% // 800WA_WEBCONSOLE404 %>		
                   <td class="host-menu-agent-left">                            <% // 800WA_WEBCONSOLE428 %>		                   
			   <div id = "dropHostMgmt">                                                         <%// 800WA_WEBCONSOLE091%>                                        
                <%// <html:link href = "#" styleClass = "menu" %>                                <%// 800WA_WEBCONSOLE091%>   
               <%--   <html:link  styleId = "dropHostMgmtlink" href = "#" styleClass = "menu"        
                                             onclick = "fnOpen('dropHostMgmt')"> --%> <%// 800WA_WEBCONSOLE091%> <% // 800WA_WEBCONSOLE404 %>
			    <%--  <html:link  styleId = "dropHostMgmtlink" 
						href = "#link" styleClass = "menu"        
                                       onclick = "fnOpen('dropHostMgmt')">  --%><% // 800WA_WEBCONSOLE404 %><% // 800WA_WEBCONSOLE449 %>
					<html:link  styleId = "dropHostMgmtlink" 
						href = "#link" styleClass = "menu" tabindex = "1"
                                             onclick = "fnOpen('dropHostMgmt')"><% // 800WA_WEBCONSOLE449 %>
				  <bean:message 
				       bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
				       key = "host.menu.host.management"/>
				  </html:link>
               </div>                                                                            <%// 800WA_WEBCONSOLE091%> 
              </td>
			  <%-- <td width = "4%"></td> --%>									<%// 800WA_WEBCONSOLE178%> <%// 800WA_WEBCONSOLE428%>
			  <td class="host-menu-agent"></td>                                 <%// 800WA_WEBCONSOLE428%>
 <%--This is for the alert management menu item  --%>
              <%-- <td class = "nowrap"> --%>													 <%// 800WA_WEBCONSOLE178%>	
			 <%-- <td class = "nowrap" width = "12%"> --%>						<%// 800WA_WEBCONSOLE178%> <% // 800WA_WEBCONSOLE330 %>	
		<%-- <td class = "nowrap"> --%>											<% // 800WA_WEBCONSOLE330 %> <% // 800WA_WEBCONSOLE404 %>
              <%-- <td class="menu-agent-left"> --%>                            <% // 800WA_WEBCONSOLE404 %>		
                   <td class="host-menu-agent">                                 <% // 800WA_WEBCONSOLE428 %>		                   
			   <div id = "dropAlert">                                                            <%// 800WA_WEBCONSOLE091%>
                <%// <html:link href = "#" styleClass = "menu" %>                                <%// 800WA_WEBCONSOLE091%>
			   <%--  <html:link styleId = "dropAlertlink" href = "#" styleClass = "menu" 
			                                    onclick = "fnOpen('dropAlert')"> --%>             <%// 800WA_WEBCONSOLE091%> <% // 800WA_WEBCONSOLE404 %>
			   <%--	<html:link styleId = "dropAlertlink" 
					href = "#link" styleClass = "menu" 
			                               onclick = "fnOpen('dropAlert')"> --%><% // 800WA_WEBCONSOLE404 %><% // 800WA_WEBCONSOLE449 %>
				<html:link styleId = "dropAlertlink" 
					href = "#link" styleClass = "menu" tabindex = "1"
			                                    onclick = "fnOpen('dropAlert')"><% // 800WA_WEBCONSOLE449 %>
			      <bean:message 
			           bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
			           key = "host.menu.alert.management"/>
				  </html:link>
               </div>                                                                            <%// 800WA_WEBCONSOLE091%> 
              </td>
			  <%-- <td width = "5%"></td> --%>									<%// 800WA_WEBCONSOLE178%> <%// 800WA_WEBCONSOLE428%>
			  <td class="host-menu-agent"></td>                                 <%// 800WA_WEBCONSOLE428%>
 <%--This is for the host operation --%>
              <%-- <td class = "nowrap"> --%>													 <%// 800WA_WEBCONSOLE178%>
              		<%-- <td class = "nowrap" width = "12%"> --%>				<%// 800WA_WEBCONSOLE178%> <% // 800WA_WEBCONSOLE330 %>	
		<%-- <td class = "nowrap"> --%>											<% // 800WA_WEBCONSOLE330 %> <% // 800WA_WEBCONSOLE404 %>
              <%-- <td class="menu-agent-left"> --%>                            <% // 800WA_WEBCONSOLE404 %>		
                   <td class="host-menu-agent">                                 <% // 800WA_WEBCONSOLE428 %>		                   
			   <div id ="dropHostOp">                                                            <%// 800WA_WEBCONSOLE091%>  
			      <%// <html:link href = "#" styleClass = "menu" %>
			 <%--<html:link styleId = "dropHostOplink" href = "#" styleClass = "menu" 
			                                   onclick = "fnOpen('dropHostOp')"> --%> <%// 800WA_WEBCONSOLE091%> <%// 800WA_WEBCONSOLE404%>
			<%-- <html:link styleId = "dropHostOplink" 
				href = "#link" styleClass = "menu" 
			                               onclick = "fnOpen('dropHostOp')">--%><%// 800WA_WEBCONSOLE404%><%// 800WA_WEBCONSOLE449%>
			<html:link styleId = "dropHostOplink" 
				href = "#link" styleClass = "menu"  tabindex = "1"
			                                   onclick = "fnOpen('dropHostOp')"><%// 800WA_WEBCONSOLE449%>
			      <bean:message 
			           bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
			           key = "host.menu.host.operation"/> 
			      </html:link>
                </div>                                                                           <%// 800WA_WEBCONSOLE091%>
              </td>
			  <%-- <td width = "4%"></td> --%>									<%// 800WA_WEBCONSOLE178%> <%// 800WA_WEBCONSOLE428%>
			  <td class="host-menu-agent"></td>                                 <%// 800WA_WEBCONSOLE428%>
 <%--This is for the Group menu item  --%>
              <%-- <td class = "nowrap"> --%>													 <%// 800WA_WEBCONSOLE178%>
              <%-- <td class = "nowrap" width = "5%"> --%>						<%// 800WA_WEBCONSOLE178%> <% // 800WA_WEBCONSOLE330 %>	
		<%-- <td class = "nowrap"> --%>											<% // 800WA_WEBCONSOLE330 %> <% // 800WA_WEBCONSOLE404 %>
              <%-- <td class="menu-agent-left"> --%>                            <% // 800WA_WEBCONSOLE404 %>		
                   <td class="host-menu-agent">                                 <% // 800WA_WEBCONSOLE428 %>		                   
			   <div id = "dropGroup">                                                            <%// 800WA_WEBCONSOLE091%>  
                <%// <html:link href = "#" styleClass = "menu" %>                                <%// 800WA_WEBCONSOLE091%> 
			   <%--   <html:link styleId = "dropGrouplink" href = "#" styleClass = "menu" 
                               			        onclick = "fnOpen('dropGroup')">--%> <%// 800WA_WEBCONSOLE091%> <%// 800WA_WEBCONSOLE404%>
			<%-- <html:link styleId = "dropGrouplink" 
					href = "#link" styleClass = "menu" 
                            		        onclick = "fnOpen('dropGroup')">--%><%// 800WA_WEBCONSOLE404%><%// 800WA_WEBCONSOLE449%>                               			        
			<html:link styleId = "dropGrouplink" 
					href = "#link" styleClass = "menu" tabindex = "1"
                               			        onclick = "fnOpen('dropGroup')"><%// 800WA_WEBCONSOLE449%>                               			        
			      <bean:message 
			           bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
			           key = "host.menu.group"/>
			      </html:link>
               </div>                                                                            <%// 800WA_WEBCONSOLE091%>
              </td>
			  <%-- <td width = "4%"></td> --%>									<%// 800WA_WEBCONSOLE178%> <%// 800WA_WEBCONSOLE428%>
			  <td class="host-menu-agent"></td>                                 <%// 800WA_WEBCONSOLE428%>
 <%--This is for the connection management menu item  --%>
              <%-- <td class = "nowrap"> --%>												     <%// 800WA_WEBCONSOLE178%>
<%-- <td class = "nowrap" width = "17%"> --%>									<%// 800WA_WEBCONSOLE178%> <% // 800WA_WEBCONSOLE330 %>	              
		<%-- <td class = "nowrap"> --%>											<% // 800WA_WEBCONSOLE330 %> <% // 800WA_WEBCONSOLE404 %>	
              <%-- <td class="menu-agent-left"> --%>                            <% // 800WA_WEBCONSOLE404 %>		
                   <td class="host-menu-agent">                                 <% // 800WA_WEBCONSOLE428 %>		                   
			   <div id = "dropConMgmt">                                                          <%// 800WA_WEBCONSOLE091%>
			    <%//<html:link href = "#" styleClass = "menu" %>     <%// 800WA_WEBCONSOLE091%> 
			<%-- <html:link styleId = "dropConMgmtlink" href = "#" styleClass = "menu" 
			                                  onclick = "fnOpen('dropConMgmt')"> --%> <%// 800WA_WEBCONSOLE091%> <%// 800WA_WEBCONSOLE404%>
			<%-- <html:link styleId = "dropConMgmtlink" 
			      	href = "#link" styleClass = "menu" 
	                                     onclick = "fnOpen('dropConMgmt')"> --%><%// 800WA_WEBCONSOLE404%><%// 800WA_WEBCONSOLE449%>
			      <html:link styleId = "dropConMgmtlink" 
			      	href = "#link" styleClass = "menu" tabindex = "1"
			                                  onclick = "fnOpen('dropConMgmt')"><%// 800WA_WEBCONSOLE449%>
			      <bean:message 
			           bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
			           key = "host.menu.connect"/>
				  </html:link>
               </div>                                                                            <%// 800WA_WEBCONSOLE091%>     
              </td>
			  <%-- <td width = "4%"></td> --%>									<%// 800WA_WEBCONSOLE178%> <%// 800WA_WEBCONSOLE428%>
			  <td class="host-menu-agent"></td>                                 <%// 800WA_WEBCONSOLE428%>
 <%--This is for the settings  menu item  --%>
              <%-- <td class = "nowrap"> --%>													 <%// 800WA_WEBCONSOLE178%>
              <%-- <td class = "nowrap" width = "5%"> --%>						<%// 800WA_WEBCONSOLE178%> <% // 800WA_WEBCONSOLE330 %>	
		<%-- <td class = "nowrap"> --%>											<% // 800WA_WEBCONSOLE330 %> <% // 800WA_WEBCONSOLE404 %>
              <%-- <td class="menu-agent-left"> --%>                            <% // 800WA_WEBCONSOLE404 %>		
                   <td class="host-menu-agent">                                 <% // 800WA_WEBCONSOLE428 %>		                   
			   <div id = "dropSet">                                                              <%// 800WA_WEBCONSOLE091%>    
			      <%// <html:link  href = "#" styleClass = "menu" %>                             <%// 800WA_WEBCONSOLE091%>
			 <%-- <html:link styleId = "dropSetlink" href = "#" styleClass = "menu" 
                                			      onclick = "fnOpen('dropSet')"> --%> <%// 800WA_WEBCONSOLE091%> <%// 800WA_WEBCONSOLE404%>
			 <%-- <html:link styleId = "dropSetlink" 
			      	href = "#link" styleClass = "menu" 
                           			      onclick = "fnOpen('dropSet')">    --%><%// 800WA_WEBCONSOLE404%><%// 800WA_WEBCONSOLE449%>
			      <html:link styleId = "dropSetlink" 
			      	href = "#link" styleClass = "menu" tabindex = "1"
                                			      onclick = "fnOpen('dropSet')"><%// 800WA_WEBCONSOLE449%>
				  <bean:message 
				       bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
				       key = "host.menu.envset"/>
				  </html:link>
               </div>                                                                             <%// 800WA_WEBCONSOLE091%>                                                           
              </td>
			  <%-- <td width = "4%"></td> --%>									<%// 800WA_WEBCONSOLE178%> <%// 800WA_WEBCONSOLE428%>
			  <td class="host-menu-agent"></td>                                 <%// 800WA_WEBCONSOLE428%>
 <%--This is for view menu item  --%>
              <%-- <td class = "nowrap"> --%>													  <%// 800WA_WEBCONSOLE178%>	
              <%-- <td class = "nowrap" width = "3%"> --%>						<%// 800WA_WEBCONSOLE178%> <% // 800WA_WEBCONSOLE330 %>	
		<%-- <td class = "nowrap"> --%>											<% // 800WA_WEBCONSOLE330 %> <% // 800WA_WEBCONSOLE404 %>
              <%-- <td class="menu-agent-left"> --%>                            <% // 800WA_WEBCONSOLE404 %>		
                   <td class="host-menu-agent">                                 <% // 800WA_WEBCONSOLE428 %>		                   
			   <div id = "dropView">                                                              <%// 800WA_WEBCONSOLE091%> 
              <%// <html:link  href="#" onclick = "javascript:fnOpen('dropView')" %>              <%// 800WA_WEBCONSOLE091%> 
			  <%--<html:link styleId = "dropViewlink" href="#" onclick = "javascript:fnOpen('dropView')" 
			                                                styleClass = "menu"> --%> <%// 800WA_WEBCONSOLE091%> <% // 800WA_WEBCONSOLE404 %>
			  <%-- <html:link styleId = "dropViewlink" 
			      	href="#link" onclick = "javascript:fnOpen('dropView')" 
			                                           styleClass = "menu"> --%><%// 800WA_WEBCONSOLE404%><%// 800WA_WEBCONSOLE449%>
			      <html:link styleId = "dropViewlink" tabindex = "1"
			      	href="#link" onclick = "javascript:fnOpen('dropView')" 
			                                                styleClass = "menu"><%// 800WA_WEBCONSOLE449%>
				  <bean:message 
				       bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
				       key = "host.menu.display"/>
				  </html:link>
				  </div>                                                                          <%// 800WA_WEBCONSOLE091%>
			  </td>                                                                               <%// 800WA_WEBCONSOLE091%> 
			  <%-- <td width = "4%"></td> --%>									<%// 800WA_WEBCONSOLE178%> <%// 800WA_WEBCONSOLE428%>
			  <td class="host-menu-agent"></td>                                 <%// 800WA_WEBCONSOLE428%>
 <%--This is for the help menu item  --%>
              <%-- <td class = "nowrap">--%>													  <%// 800WA_WEBCONSOLE178%>	 
              <%-- <td class = "nowrap" width = "3%"> --%>						<%// 800WA_WEBCONSOLE178%> <% // 800WA_WEBCONSOLE330 %>	
			<%-- <td class = "nowrap"> --%>										<% // 800WA_WEBCONSOLE330 %> <% // 800WA_WEBCONSOLE428 %>
              <%-- <td class="menu-agent-left"> --%>                            <% // 800WA_WEBCONSOLE404 %> <% // 800WA_WEBCONSOLE428 %>		
                   <td class="host-menu-agent">                                 <% // 800WA_WEBCONSOLE428 %>		                   
			   <div id = "dropHelp">                                                              <%// 800WA_WEBCONSOLE091%>
			    <%// <html:link href = "#" styleClass = "menu" %>                                 <%// 800WA_WEBCONSOLE091%>         
			  <%-- <html:link styleId = "dropHelplink" href = "#" styleClass = "menu" 
                                			     onclick = "fnOpen('dropHelp')"> --%> <%// 800WA_WEBCONSOLE091%> <% // 800WA_WEBCONSOLE404 %>
			  <%-- <html:link styleId = "dropHelplink" 
			      	href = "#link" styleClass = "menu" 
                             			   onclick = "fnOpen('dropHelp')">  --%><%// 800WA_WEBCONSOLE091%> <% // 800WA_WEBCONSOLE404 %> <% // 800WA_WEBCONSOLE449 %>
			      <html:link styleId = "dropHelplink" 
			      	href = "#link" styleClass = "menu" tabindex = "1"
                                			     onclick = "fnOpen('dropHelp')"><%// 800WA_WEBCONSOLE449%>
				  <bean:message 
				       bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
				       key = "host.menu.help"/>
				  </html:link>
                </div>                                                                            <%// 800WA_WEBCONSOLE091%>
              </td>
			  <%-- <td width = "4%"></td> --%>									<%// 800WA_WEBCONSOLE178%> <%// 800WA_WEBCONSOLE428%>
			  <td class="host-menu-agent"></td>                                 <%// 800WA_WEBCONSOLE428%>
 <%--This is for the logout menu item  --%>
              <%-- <td class = "nowrap"> --%>									<%// 800WA_WEBCONSOLE330 %>
			      <%-- <util:set name = "logoutUrl"> --%>						<%// 800WA_WEBCONSOLE330 %>
					<%-- logout('<util:rewrite action = "logout"/>');  --%><%// 800WA_WEBCONSOLE330%>
				  <%-- </util:set> --%>											<%// 800WA_WEBCONSOLE330 %>
			      <%-- <html:link href = "#" styleClass = "menu" 
			      onclick = '<%= pageContext.getAttribute("logoutUrl").toString()%>' > --%>       <%// 800WA_WEBCONSOLE148%>
                       <%-- <html:link styleId="logout" href = "#" styleClass = "menu" 
			      onclick = '<%= pageContext.getAttribute("logoutUrl").toString()%>' > --%>       <%// 800WA_WEBCONSOLE148%> <%// 800WA_WEBCONSOLE330%>    
				  <%-- <bean:message 
				       bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
				       key = "host.menu.logout"/> --%> 							<%// 800WA_WEBCONSOLE330 %>
				  <%-- </html:link> --%> 										<%// 800WA_WEBCONSOLE330 %>
              <%-- </td> --%> 													<%// 800WA_WEBCONSOLE330 %>
          </tr> 
<%-- For SUB MENU ITEMS --%>
          <tr>
 <%-- Host Management Sub Menu Items --%>
 <%-- This is for the inventory sub menu item --%> 
			  <%-- <td class = "nowrap"> --%>									<%// 800WA_WEBCONSOLE404 %>
             <%-- <td class="menu-agent-left"> --%>                             <% // 800WA_WEBCONSOLE404 %> <% // 800WA_WEBCONSOLE428 %>
             <td class="host-menu-agent-left">                                 	<% // 800WA_WEBCONSOLE428 %>
                <%// <div class = "list" id = "dropHostMgmt">%>                                  <%// 800WA_WEBCONSOLE091%> 
                <div class = "list" id = "dropHostMgmtSub">                                      <%// 800WA_WEBCONSOLE091%>
                <util:set name="errorParams">
                '<%= MessageConstant.MSG_AGENT_SELECT_CHECK %>',
		        '<bean:message
		          bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ERRMESSAGE %>" 
		          key = '<%= MessageConstant.MSG_AGENT_SELECT_CHECK %>'/>', 
		        '<%= MessageConstant.MSG_AGENT_ONLY_SELECT_CHECK %>',
		        '<bean:message
		          bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ERRMESSAGE %>" 
		          key = '<%= MessageConstant.MSG_AGENT_ONLY_SELECT_CHECK %>' 
		          />'
                </util:set>
                
				<util:set name = "FnEntryCheck">
		        agentSelectionCheck('<util:rewrite action="inventory"/>',
 		        <%-- <%= pageContext.getAttribute("errorParams").toString() %>,'inventory')--%>    <%// 800WA_WEBCONSOLE158%>
				<%= pageContext.getAttribute("errorParams").toString() %>,
				                 '<%= request.getSession().getId() %>Inventory')                   <%// 800WA_WEBCONSOLE158%>
			    </util:set>

<%--				   <html:link 
                       href = "#" styleClass = "item" onclick = --%>			<%// 800WA_WEBCONSOLE404 %>
					<html:link 
                       href = "#link" styleClass = "item" onclick = 
					  "<%= pageContext.getAttribute("FnEntryCheck").toString() %>" > <%// 800WA_WEBCONSOLE404 %>
				  <bean:message 
				       bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
				       key = "host.menu.host.inventory"/>
				  <%-- </html:link></br> --%>                                                    <%-- 800WA_WEBCONSOLE138 --%>   
                       </html:link>                                                              <%-- 800WA_WEBCONSOLE138 --%>
 <%-- This is for the alert log sub menu item --%> 
                  <%// <html:link styleId = "dropAlertLog" href="#" %>                    <%// 800WA_WEBCONSOLE091%>        
				                 <%// onclick = "javascript:fnOpen('dropAlertLog')"  %>          <%// 800WA_WEBCONSOLE091%>
                  <%-- <html:link styleId = "dropAlertLogSublink" href="#" --%> <%// 800WA_WEBCONSOLE404 %>                              
						<html:link styleId = "dropAlertLogSublink" href="#link"
				                  onclick = "javascript:fnOpen('dropHostMgmtSub',true)"          
                                                           styleClass = "item" > <%// 800WA_WEBCONSOLE091%> <%// 800WA_WEBCONSOLE404 %> 
                  <bean:message 
                       bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
                       key = "host.menu.host.alert.log"/>
				  <%--</html:link></br>--%>                                                      <%-- 800WA_WEBCONSOLE138 --%>
                      </html:link>                                                               <%-- 800WA_WEBCONSOLE138 --%>
				  <%// <div class = "list" id = "dropAlertLog">%>                                <%// 800WA_WEBCONSOLE091%>
  				  <div class = "list" id = "dropAlertLogSubSub">                                 <%// 800WA_WEBCONSOLE091%>
 <%-- This is for the  alert log display sub menu item --%>
				 
				  <util:set name = "FnEntryCheck">
		        agentSelectionCheck('<util:rewrite action="alertLogInfoAcquisition"/>',
		        <%-- <%= pageContext.getAttribute("errorParams").toString() %>,'alert' --%>      <%// 800WA_WEBCONSOLE070%><%// 800WA_WEBCONSOLE145%> 
				<%-- <%= pageContext.getAttribute("errorParams").toString() %>,'alertdis' --%>            <%// 800WA_WEBCONSOLE145%> <%// 800WA_WEBCONSOLE158%>
				<%= pageContext.getAttribute("errorParams").toString() %>,
				              '<%= request.getSession().getId() %>alertLog'                      <%// 800WA_WEBCONSOLE158%>      
		        )
			    </util:set>
             <%--     <html:link href="#" onclick = '<%= pageContext.getAttribute("FnEntryCheck").toString() %>' --%> <%// 800WA_WEBCONSOLE404 %> 
				<html:link href="#link" onclick = 
				'<%= pageContext.getAttribute("FnEntryCheck").toString() %>'
				  styleClass = "item">											<%// 800WA_WEBCONSOLE404 %>
				  <bean:message 
				       bundle = "<%=Const.MESSAGE_RESOURCES_KEY_HOST%>" 
				       key = "host.menu.host.alert.log.display"/>
				  <%--</html:link></br>--%>                                                      <%-- 800WA_WEBCONSOLE138 --%>
				  </html:link>                                                                   <%-- 800WA_WEBCONSOLE138 --%> 
 <%-- This is for  alert log delete sub menu item --%>
                  
            <% if (l_iUserType == HsmConst.USER_TYPE_ADMIN) {%>                 <%-- 800WA_WEBCONSOLE468 --%>             
                 <util:set name = "FnEntryCheck">
		        agentSelectionCheck('<util:rewrite action="alertLogDelInfoAcquisitionAction"/>',
		        <%-- <%= pageContext.getAttribute("errorParams").toString() %>,'alert' --%>         <%// 800WA_WEBCONSOLE070%><%// 800WA_WEBCONSOLE145%>
				<%-- <%= pageContext.getAttribute("errorParams").toString() %>,'alertdel' --%>               <%// 800WA_WEBCONSOLE145%> <%// 800WA_WEBCONSOLE158%> 
				<%= pageContext.getAttribute("errorParams").toString() %>,
				             '<%= request.getSession().getId() %>alertLogdel'                       <%// 800WA_WEBCONSOLE158%>
		        )
			    </util:set>
             <%--     <html:link href="#" onclick = '<%= pageContext.getAttribute("FnEntryCheck").toString() %>' --%> <%// 800WA_WEBCONSOLE404 %> 
				<html:link href="#link" onclick = 
				'<%= pageContext.getAttribute("FnEntryCheck").toString() %>'
				  styleClass = "item">											<%// 800WA_WEBCONSOLE404 %>
					<bean:message 
					     bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
					     key = "host.menu.host.alert.log.delete"/>
				  </html:link>
            <% } else {%>                                                       <%-- 800WA_WEBCONSOLE468 --%>
				  <div class = "item_sub">                                      <%-- 800WA_WEBCONSOLE468 --%>
					<bean:message 
					     bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>"
					     key = "host.menu.host.alert.log.delete"/>              <%-- 800WA_WEBCONSOLE468 --%>
				  </div>                                                        <%-- 800WA_WEBCONSOLE468 --%>
            <% } %>                                                             <%-- 800WA_WEBCONSOLE468 --%>
                 </div>
                </div>
              </td>
			  <%-- <td width = "4%"></td> --%>									<%// 800WA_WEBCONSOLE178%> <%// 800WA_WEBCONSOLE428%>
			  <td class="host-menu-agent"></td>                                 <%// 800WA_WEBCONSOLE428%>
 <%-- Alert Management Sub Menu Items --%>
 <%--This is for Notification Alert sub menu item  --%>
              <%-- <td class = "nowrap"> --%>									<%// 800WA_WEBCONSOLE404 %>
             <%-- <td class="menu-agent-left"> --%>                             <% // 800WA_WEBCONSOLE404 %> <% // 800WA_WEBCONSOLE428 %>
             <td class="host-menu-agent-left">                                 	<% // 800WA_WEBCONSOLE428 %>
               <%// <div class = "list" id = "dropAlert">%>                                      <%// 800WA_WEBCONSOLE091%>
	            <div class = "list" id = "dropAlertSub">                                         <%// 800WA_WEBCONSOLE091%> 
				<util:set name = "notificationUrl">
 				<%-- opNotify('<util:rewrite action= "notificationAlertDataAcquisition"/>');--%>   <%// 800WA_WEBCONSOLE091%>
                  opNotify('<util:rewrite action= "notificationAlertDataAcquisition"/>',
				                             '<%= request.getSession().getId() %>notifyalert');     <%// 800WA_WEBCONSOLE158%> 
				</util:set> 
	            <%--    <html:link 	href = "#" --%>								<%// 800WA_WEBCONSOLE404 %> 
	            	<html:link 	href = "#link"
	                onclick = '<%=pageContext.getAttribute("notificationUrl").toString()%>' 
	                styleClass = "item">										<%// 800WA_WEBCONSOLE404 %>
	      			<bean:message 
	      			     bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
	      			     key = "host.menu.alert.notify.alert"/>
	      		    </html:link>
	            </div>
	          </td>
			  <%-- <td width = "4%"></td> --%>									<%// 800WA_WEBCONSOLE178%> <%// 800WA_WEBCONSOLE428%>
			  <td class="host-menu-agent-left"></td>                            <%// 800WA_WEBCONSOLE428%>
 <%-- Host Operation Sub Menu Items--%>
 <%-- This is for the connect sub menu item  --%>
                 <util:set name="hostOperation">
	             <bean:message 
	                  bundle="<%= Const.MESSAGE_RESOURCES_KEY_DIALOG%>" 
	                              key="dialog.confirm.dialog.title" arg0="{0}"/>
                 </util:set>
                 <util:set name="connect">
                      javascript:hostOperation(
                      "<util:rewrite action = "hostOperation"/>",                                <%-- 800WA_WEBCONSOLE152 --%>
                      MSG_AGENT_SELECT_CHECK,0,
                      "<%=pageContext.getAttribute("hostOperation")%>",
                      "<%=pageContext.getAttribute("CommonProductName")%>",
                      "<%=Const.IMAGE_TYPE_CONFIRM%>","<%=MessageConstant.MSG_CONNECT_CONFIRM%>",
                      "<bean:message bundle="<%=Const.MESSAGE_RESOURCES_KEY_ERRMESSAGE%>" key="<%=MessageConstant.MSG_CONNECT_CONFIRM%>" arg0="{0}" />",
                      "<bean:message bundle="<%= Const.MESSAGE_RESOURCES_KEY_DIALOG%>" key="dialog.confirm.ok"/>",
                      "<bean:message bundle="<%= Const.MESSAGE_RESOURCES_KEY_DIALOG%>" key="dialog.confirm.terminate"/>",
                      "<bean:message bundle="<%= Const.MESSAGE_RESOURCES_KEY_DIALOG%>" key="dialog.confirm.all.ok"/>",
                      "<bean:message bundle="<%= Const.MESSAGE_RESOURCES_KEY_ALT%>" key="alt.alert.lv.confirm"/>");
                 </util:set>
                 <%-- <td class = "nowrap"> --%>                                <% // 800WA_WEBCONSOLE428 %>
                 <td class="host-menu-agent-left">                              <% // 800WA_WEBCONSOLE428 %>		
                   <%// <div class = "list" id = "dropHostOp"> %>                                <%// 800WA_WEBCONSOLE091%>
                     <div class = "list" id = "dropHostOpSub">                                   <%// 800WA_WEBCONSOLE091%>                       
                <%--
				<a                                                                               <%//800WA_WEBCONSOLE256%>
                    href = '<%=pageContext.getAttribute("connect")%>'                            <%//800WA_WEBCONSOLE256%>
                                                                 class = "item">                 <%//800WA_WEBCONSOLE256%>
			    --%>

               <%--  <a href ='#'                                                                <%//800WA_WEBCONSOLE256%>
                  onclick = '<%=pageContext.getAttribute("connect")%>'                           <%//800WA_WEBCONSOLE256%>
                                                                 class = "item"> --%>            <%//800WA_WEBCONSOLE256%>
               <a href ='#link' 
                  onclick = '<%=pageContext.getAttribute("connect")%>'
                                                                 class = "item">	            <%//800WA_WEBCONSOLE404 %>
  				<bean:message 
				     bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
				     key = "host.menu.host.connect"/>
 				 <%-- </a></br> --%>                                                             <%-- 800WA_WEBCONSOLE138 --%>
                      </a>                                                                       <%-- 800WA_WEBCONSOLE138 --%>
         
 <%-- When the user is ADMINISTRATOR the sub menu items within the 
                                                    if condition are enabled --%>
<%
           //getting the User type from session.
		   //int l_iUserType =                                                  // 800WA_WEBCONSOLE468
		   //((Integer)session.getAttribute(Const.ATTRIBUTE_SESSION_USER_TYPE)).intValue(); // 800WA_WEBCONSOLE468
		
           if(l_iUserType == HsmConst.USER_TYPE_ADMIN) {
 %>
 <%-- This is for the power on sub menu item  --%>
                 <util:set name="poweron">
                      javascript:hostOperation(
                      "<util:rewrite action = "hostOperation"/>",                                <%-- 800WA_WEBCONSOLE152 --%>  
                      MSG_AGENT_SELECT_CHECK,1, 
                      "<%=pageContext.getAttribute("hostOperation")%>",
                      "<%=pageContext.getAttribute("CommonProductName")%>",
                      "<%=Const.IMAGE_TYPE_CONFIRM%>","<%=MessageConstant.MSG_POWERON_CONFIRM%>",
                      "<bean:message bundle="<%=Const.MESSAGE_RESOURCES_KEY_ERRMESSAGE%>" key="<%=MessageConstant.MSG_POWERON_CONFIRM%>" arg0="{0}" />",
                      "<bean:message bundle="<%= Const.MESSAGE_RESOURCES_KEY_DIALOG%>" key="dialog.confirm.ok"/>",
                      "<bean:message bundle="<%= Const.MESSAGE_RESOURCES_KEY_DIALOG%>" key="dialog.confirm.terminate"/>",
                      "<bean:message bundle="<%= Const.MESSAGE_RESOURCES_KEY_DIALOG%>" key="dialog.confirm.all.ok"/>",
                      "<bean:message bundle="<%= Const.MESSAGE_RESOURCES_KEY_ALT%>"    key="alt.alert.lv.confirm"/>");   <%-- 800WA_WEBCONSOLE161 --%>
                 </util:set>
              <%--   <a                                                                           <%//800WA_WEBCONSOLE256%>
                    href = '<%=pageContext.getAttribute("poweron")%>'                             <%//800WA_WEBCONSOLE256%>
                                                                 class = "item"> --%>             <%//800WA_WEBCONSOLE256%>

               <%--  <a href ='#'                                                                <%//800WA_WEBCONSOLE256%>
                  onclick = '<%=pageContext.getAttribute("poweron")%>'                           <%//800WA_WEBCONSOLE256%>
                                                                 class = "item"> --%>            <%//800WA_WEBCONSOLE256%>
               <a href ='#link' 
                  onclick = '<%=pageContext.getAttribute("poweron")%>'
                                                                 class = "item">	            <%//800WA_WEBCONSOLE404 %>


  				    <bean:message 
				         bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
				         key = "host.menu.host.power.on"/>
				 <%-- </a></br>--%>                                                              <%-- 800WA_WEBCONSOLE138 --%>         
				      </a>                                                                       <%-- 800WA_WEBCONSOLE138 --%>  
 <%-- This is for the power off sub menu item --%>

                 <util:set name="poweroff">
                      javascript:hostOperation(
                      "<util:rewrite action = "hostOperation"/>",                                <%-- 800WA_WEBCONSOLE152 --%>
                      MSG_AGENT_SELECT_CHECK,2,
                      "<%=pageContext.getAttribute("hostOperation")%>",
                      "<%=pageContext.getAttribute("CommonProductName")%>",
                      "<%=Const.IMAGE_TYPE_CONFIRM%>","<%=MessageConstant.MSG_POWEROFF_CONFIRM%>",
                      "<bean:message bundle="<%=Const.MESSAGE_RESOURCES_KEY_ERRMESSAGE%>" key="<%=MessageConstant.MSG_POWEROFF_CONFIRM%>" arg0="{0}" />",
                      "<bean:message bundle="<%= Const.MESSAGE_RESOURCES_KEY_DIALOG%>" key="dialog.confirm.ok"/>",
                      "<bean:message bundle="<%= Const.MESSAGE_RESOURCES_KEY_DIALOG%>" key="dialog.confirm.terminate"/>",
                      "<bean:message bundle="<%= Const.MESSAGE_RESOURCES_KEY_DIALOG%>" key="dialog.confirm.all.ok"/>",
                      "<bean:message bundle="<%= Const.MESSAGE_RESOURCES_KEY_ALT%>"    key="alt.alert.lv.confirm"/>");   <%-- 800WA_WEBCONSOLE161 --%>
                 </util:set>
               <%--   <a                                                                         <%//800WA_WEBCONSOLE256%>
                    href = '<%=pageContext.getAttribute("poweroff")%>'                           <%//800WA_WEBCONSOLE256%>
                                                                 class = "item"> --%>            <%//800WA_WEBCONSOLE256%>

               <%--  <a href ='#'                                                                <%//800WA_WEBCONSOLE256%>
                  onclick = '<%=pageContext.getAttribute("poweroff")%>'                           <%//800WA_WEBCONSOLE256%>
                                                                 class = "item"> --%>            <%//800WA_WEBCONSOLE256%>
               <a href ='#link' 
                  onclick = '<%=pageContext.getAttribute("poweroff")%>'
                                                                 class = "item">	            <%//800WA_WEBCONSOLE404 %>

  				    <bean:message 
				       bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
				       key = "host.menu.host.power.off"/>
				    <%-- </a></br> --%>                                                          <%-- 800WA_WEBCONSOLE138 --%>  
					     </a>                                                                    <%-- 800WA_WEBCONSOLE138 --%>
 <%-- This is for the forced power off sub menu item --%>
                 <util:set name="forcepoweroff">
                      javascript:hostOperation(
                      "<util:rewrite action = "hostOperation"/>",                                <%-- 800WA_WEBCONSOLE152 --%>
                      MSG_AGENT_SELECT_CHECK,3,
                      "<%=pageContext.getAttribute("hostOperation")%>",
                      "<%=pageContext.getAttribute("CommonProductName")%>",
                      "<%=Const.IMAGE_TYPE_CONFIRM%>","<%=MessageConstant.MSG_FORCED_CONFIRM%>",
                      "<bean:message bundle="<%=Const.MESSAGE_RESOURCES_KEY_ERRMESSAGE%>" key="<%=MessageConstant.MSG_FORCED_CONFIRM%>" arg0="{0}" />",
                      "<bean:message bundle="<%= Const.MESSAGE_RESOURCES_KEY_DIALOG%>" key="dialog.confirm.ok"/>",
                      "<bean:message bundle="<%= Const.MESSAGE_RESOURCES_KEY_DIALOG%>" key="dialog.confirm.terminate"/>",
                      "<bean:message bundle="<%= Const.MESSAGE_RESOURCES_KEY_DIALOG%>" key="dialog.confirm.all.ok"/>",
                      "<bean:message bundle="<%= Const.MESSAGE_RESOURCES_KEY_ALT%>"    key="alt.alert.lv.confirm"/>");   <%-- 800WA_WEBCONSOLE161 --%>
                 </util:set>
         <%--    <a                                                                              <%//800WA_WEBCONSOLE256%>
                    href = '<%=pageContext.getAttribute("forcepoweroff")%>'                      <%//800WA_WEBCONSOLE256%>
                                                                 class = "item">  --%>           <%//800WA_WEBCONSOLE256%>

               <%--  <a href ='#'                                                                <%//800WA_WEBCONSOLE256%>
                  onclick = '<%=pageContext.getAttribute("forcepoweroff")%>'                           <%//800WA_WEBCONSOLE256%>
                                                                 class = "item"> --%>            <%//800WA_WEBCONSOLE256%>
               <a href ='#link' 
                  onclick = '<%=pageContext.getAttribute("forcepoweroff")%>'
                                                                 class = "item">	            <%//800WA_WEBCONSOLE404 %>

  				    <bean:message 
				         bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
				         key = "host.menu.host.compulsion.power.off"/>
				    <%-- </a></br> --%>                                                          <%-- 800WA_WEBCONSOLE138 --%>  
					     </a>                                                                    <%-- 800WA_WEBCONSOLE138 --%>
 <%-- This is for the reboot sub menu item --%>
                <util:set name="reboot">
                     javascript:hostOperation(
                      "<util:rewrite action = "hostOperation"/>",                                <%-- 800WA_WEBCONSOLE152 --%>
                     MSG_AGENT_SELECT_CHECK,4,
                     "<%=pageContext.getAttribute("hostOperation")%>",
                     "<%=pageContext.getAttribute("CommonProductName")%>",
                     "<%=Const.IMAGE_TYPE_CONFIRM%>","<%=MessageConstant.MSG_REBOOT_CONFIRM%>",
                     "<bean:message bundle="<%=Const.MESSAGE_RESOURCES_KEY_ERRMESSAGE%>" key="<%=MessageConstant.MSG_REBOOT_CONFIRM%>" arg0="{0}" />",
                     "<bean:message bundle="<%= Const.MESSAGE_RESOURCES_KEY_DIALOG%>" key="dialog.confirm.ok"/>",
                     "<bean:message bundle="<%= Const.MESSAGE_RESOURCES_KEY_DIALOG%>" key="dialog.confirm.terminate"/>",
                     "<bean:message bundle="<%= Const.MESSAGE_RESOURCES_KEY_DIALOG%>" key="dialog.confirm.all.ok"/>",
                     "<bean:message bundle="<%= Const.MESSAGE_RESOURCES_KEY_ALT%>"   key="alt.alert.lv.confirm"/>");  <%-- 800WA_WEBCONSOLE161 --%>
                </util:set>
            <%-- <a                                                                              <%//800WA_WEBCONSOLE256%>
                    href = '<%=pageContext.getAttribute("reboot")%>'                             <%//800WA_WEBCONSOLE256%>
                                                                 class = "item"> --%>            <%//800WA_WEBCONSOLE256%>

               <%--  <a href ='#'                                                                <%//800WA_WEBCONSOLE256%>
                  onclick = '<%=pageContext.getAttribute("reboot")%>'                           <%//800WA_WEBCONSOLE256%>
                                                                 class = "item"> --%>            <%//800WA_WEBCONSOLE256%>
               <a href ='#link' 
                  onclick = '<%=pageContext.getAttribute("reboot")%>'
                                                                 class = "item">	            <%//800WA_WEBCONSOLE404 %>

  				    <bean:message 
				         bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
				         key = "host.menu.host.reboot"/>
				    <%-- </a></br>--%>                                                           <%-- 800WA_WEBCONSOLE138 --%>   
					     </a>                                                                    <%-- 800WA_WEBCONSOLE138 --%>
				 
 <%-- When the user is SUB-ADMINISTRATOR the sub menu items within 
                                            		   the else are disabled --%>
           <%
            }else {
           %>   
 <%-- This is for the power on sub menu item --%>
		       <%--  <html:link href = "#" styleClass = "item_sub"> --%>		<%// 800WA_WEBCONSOLE404 %> 
		       <%--<html:link href = "#link" styleClass = "item_sub">--%>       <%// 800WA_WEBCONSOLE404 %><%// 800WA_WEBCONSOLE449 %> 
		       <div class = "item_sub">                                         <%// 800WA_WEBCONSOLE449 %> 
				  <bean:message 
				       bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
				       key = "host.menu.host.power.on" />                       <%// 800WA_WEBCONSOLE033 %>     
	    		   <%--</html:link></br>--%>                                    <%// 800WA_WEBCONSOLE033 %> <%-- 800WA_WEBCONSOLE138 --%>
				   <%--</html:link>--%>                                         <%-- 800WA_WEBCONSOLE138 --%><%-- 800WA_WEBCONSOLE449 --%>
				       </div>                                                   <%-- 800WA_WEBCONSOLE449 --%>
 <%-- This is for the power off sub menu item --%>
		       <%--  <html:link href = "#" styleClass = "item_sub"> --%>		<%// 800WA_WEBCONSOLE404 %> 
		       <%--<html:link href = "#link" styleClass = "item_sub">--%>       <%// 800WA_WEBCONSOLE404 %><%// 800WA_WEBCONSOLE449 %> 
		       <div class = "item_sub">                                         <%// 800WA_WEBCONSOLE449 %> 
	  			  <bean:message 
				       bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
	     		       key = "host.menu.host.power.off" />                      <%// 800WA_WEBCONSOLE033 %>
                  <%--</html:link></br>--%>                                     <%// 800WA_WEBCONSOLE033 %> <%-- 800WA_WEBCONSOLE138 --%>
				   <%--</html:link>--%>                                         <%-- 800WA_WEBCONSOLE138 --%><%-- 800WA_WEBCONSOLE449 --%>
				       </div>                                                   <%-- 800WA_WEBCONSOLE449 --%>
 <%-- This is for the forced power off sub menu item --%> 
		       <%--  <html:link href = "#" styleClass = "item_sub"> --%>		<%// 800WA_WEBCONSOLE404 %> 
		       <%--<html:link href = "#link" styleClass = "item_sub">--%>       <%// 800WA_WEBCONSOLE404 %><%// 800WA_WEBCONSOLE449 %> 
		       <div class = "item_sub">                                         <%// 800WA_WEBCONSOLE449 %> 
				  <bean:message 
				       bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
	       		       key = "host.menu.host.compulsion.power.off" />           <%// 800WA_WEBCONSOLE033 %> 
                  <%--</html:link></br>--%>                                     <%// 800WA_WEBCONSOLE033 %> <%-- 800WA_WEBCONSOLE138 --%>  
				   <%--</html:link>--%>                                         <%-- 800WA_WEBCONSOLE138 --%><%-- 800WA_WEBCONSOLE449 --%>
				       </div>                                                   <%-- 800WA_WEBCONSOLE449 --%>
 <%-- This is for the reboot sub menu item --%> 
		       <%--  <html:link href = "#" styleClass = "item_sub"> --%>		<%// 800WA_WEBCONSOLE404 %> 
		       <%--<html:link href = "#link" styleClass = "item_sub">--%>       <%// 800WA_WEBCONSOLE404 %><%// 800WA_WEBCONSOLE449 %> 
		       <div class = "item_sub">                                         <%// 800WA_WEBCONSOLE449 %> 
				  <bean:message 
				       bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
				       key = "host.menu.host.reboot"/>
				   <%--</html:link>--%>                                         <%-- 800WA_WEBCONSOLE138 --%><%-- 800WA_WEBCONSOLE449 --%>
				       </div>                                                   <%-- 800WA_WEBCONSOLE449 --%>
          <%        }
          %>
				</div>
              </td>
			  <%-- <td width = "4%"></td> --%>									<%// 800WA_WEBCONSOLE178%> <%// 800WA_WEBCONSOLE428%>
			  <td class="host-menu-agent-left"></td>                            <%// 800WA_WEBCONSOLE428%>
 <%-- Group Sub Menu Items--%>
 <%-- This is for the group management sub menu item  --%>
              <%-- <td class = "nowrap"> --%>									<%// 800WA_WEBCONSOLE404 %>
             <%-- <td class="menu-agent-left"> --%>                             <% // 800WA_WEBCONSOLE404 %> <% // 800WA_WEBCONSOLE428 %>
             <td class="host-menu-agent-left">                                 	<% // 800WA_WEBCONSOLE428 %>
                <%// <div class = "list" id = "dropGroup"> %>                                    <%// 800WA_WEBCONSOLE091%>
                <div class = "list" id = "dropGroupSub">                                         <%// 800WA_WEBCONSOLE091%>
                <util:set name="groupmgmt">
                   opGroupMgmt('<util:rewrite action="group"/>',
                               '<%= request.getSession().getId() %>group');
                </util:set>
			<%--      <html:link 
			           href = "#" styleClass = "item" 
			           onclick = "<%= pageContext.getAttribute("groupmgmt").toString()%>"> --%> <% //800WA_WEBCONSOLE404 %>
					<html:link 
			           href = "#link" styleClass = "item" onclick = 
			           "<%= pageContext.getAttribute("groupmgmt").toString()%>"><% //800WA_WEBCONSOLE404 %>			           
				  <bean:message 
				       bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
				       key = "host.menu.group.management"/>
				  </html:link>
                 </div>
              </td>
			  <%-- <td width = "4%"></td> --%>									<%// 800WA_WEBCONSOLE178%> <%// 800WA_WEBCONSOLE428%>
			  <td class="host-menu-agent-left"></td>                            <%// 800WA_WEBCONSOLE428%>
 <%-- Connection Management Sub Menu Items--%>
              <%-- <td class = "nowrap"> --%>									<%// 800WA_WEBCONSOLE404 %>
             <%-- <td class="menu-agent-left"> --%>                             <% // 800WA_WEBCONSOLE404 %> <% // 800WA_WEBCONSOLE428 %>
             <td class="host-menu-agent-left">                                 	<% // 800WA_WEBCONSOLE428 %>
              <%// <div class = "list" id = "dropConMgmt">%>                                     <%// 800WA_WEBCONSOLE091%>                           
                <div class = "list" id = "dropConMgmtSub">                                       <%// 800WA_WEBCONSOLE091%>                           
 <%-- When the user is ADMINISTRATOR the sub menu items within the 
                                                    if condition are enabled --%>
		<%
		
           if(l_iUserType == HsmConst.USER_TYPE_ADMIN) {
        %>
 <%-- This is for the agent registration sub menu item --%>	   
                <util:set name="ConnMgmtRegist">
                   opAgtRegister('<util:rewrite action="agentRegist"/>',
                               '<%= request.getSession().getId() %>rgtagt');
                </util:set>

			<%--  <html:link 
			           href = "#" styleClass = "item" 
			           onclick = "<%= pageContext.getAttribute("ConnMgmtRegist").toString()%>"> --%> <% //800WA_WEBCONSOLE404 %>
					<html:link 
			           href = "#link" styleClass = "item" onclick = 
			           "<%= pageContext.getAttribute("ConnMgmtRegist")
			           											.toString()%>"> <% //800WA_WEBCONSOLE404 %>
				  <bean:message 
				       bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
				       key = "host.menu.connect.add"/>
				  <%--</html:link></br>--%>                                                      <%-- 800WA_WEBCONSOLE138 --%>
				      </html:link>                                                               <%-- 800WA_WEBCONSOLE138 --%> 
 <%-- This is for the agent deletion sub menu item --%>
 <util:set name="AgentDeletionTitle">
   <bean:message 
	  bundle="<%= Const.MESSAGE_RESOURCES_KEY_DIALOG%>" 
	  key="dialog.confirm.dialog.title" arg0="{0}"/>
 </util:set>
 
 <util:set name="agentDeletion">
   javascript:opAgtDelete(
   "<util:rewrite action = "ConnMgmtDeletionAction"/>",
   MSG_AGENT_SELECT_CHECK,
   "<%=pageContext.getAttribute("AgentDeletionTitle")%>",
   "<%=pageContext.getAttribute("CommonProductName")%>",
   "<%=Const.IMAGE_TYPE_CONFIRM%>","<%=MessageConstant.MSG_DELETE_CONFIRM%>",
   "<bean:message bundle="<%= Const.MESSAGE_RESOURCES_KEY_ERRMESSAGE%>" key="<%=MessageConstant.MSG_DELETE_CONFIRM%>" arg0="{0}" />",
   "<bean:message bundle="<%= Const.MESSAGE_RESOURCES_KEY_DIALOG%>" key="dialog.confirm.ok"/>",
   "<bean:message bundle="<%= Const.MESSAGE_RESOURCES_KEY_DIALOG%>" key="dialog.confirm.terminate"/>",
   "<bean:message bundle="<%= Const.MESSAGE_RESOURCES_KEY_DIALOG%>" key="dialog.confirm.all.ok"/>",
   "<bean:message bundle="<%= Const.MESSAGE_RESOURCES_KEY_ALT%>"    key="alt.alert.lv.confirm"/>"); 
 </util:set>
         <%--    <a                                                             <%//800WA_WEBCONSOLE256%>
                    href = '<%=pageContext.getAttribute("agentDeletion")%>'     <%//800WA_WEBCONSOLE256%>
                    class = "item"> --%>                                        <%//800WA_WEBCONSOLE256%>

          <%--   <a href ='#'                                                   <%//800WA_WEBCONSOLE256%>
                    onclick = '<%=pageContext.getAttribute("agentDeletion")%>'  <%//800WA_WEBCONSOLE256%>
                    class = "item"> --%>                                        <%//800WA_WEBCONSOLE256%> <% //800WA_WEBCONSOLE404 %>
				 <a href ='#link'                                                   
                    onclick = '<%=pageContext.getAttribute("agentDeletion")%>'  
                    class = "item">												<% //800WA_WEBCONSOLE404 %>
  				    <bean:message 
				       bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
				       key = "host.menu.connect.del"/>
  		         </a>
<%--                  <html:link 
                       href = "#" styleClass = "item" onclick = "opAgtDelete()">
				  <bean:message 
				       bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
				       key = "host.menu.connect.del"/>  --%>
				  <%--</html:link></br>--%>                                     <%-- 800WA_WEBCONSOLE138 --%>
<%--				      </html:link>    --%>                                  <%-- 800WA_WEBCONSOLE138 --%> 
					</html:link>												<% //800WA_WEBCONSOLE404 %>
 <%-- When the user is SUB-ADMINISTRATOR the sub menu items within 
	                                        	       the else are disabled --%>
		   <%
	          }else{
	       %>
 <%-- This is for the agent registration sub menu item --%>
		       <%--  <html:link href = "#" styleClass = "item_sub"> --%>		<%// 800WA_WEBCONSOLE404 %> 
		       <%--<html:link href = "#link" styleClass = "item_sub">--%>       <%// 800WA_WEBCONSOLE404 %><%// 800WA_WEBCONSOLE449 %> 
		       <div class = "item_sub">                                         <%// 800WA_WEBCONSOLE449 %> 
	   		  <bean:message 
				       bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
		               key = "host.menu.connect.add"/>                          <%// 800WA_WEBCONSOLE033 %>
              <%--</html:link></br>--%>                                         <%// 800WA_WEBCONSOLE033 %> <%-- 800WA_WEBCONSOLE138 --%>
				   <%--</html:link>--%>                                         <%-- 800WA_WEBCONSOLE138 --%><%-- 800WA_WEBCONSOLE449 --%>
			  </div>                                                            <%-- 800WA_WEBCONSOLE449 --%>
 <%-- This is for the agent deletion sub menu item --%>
		       <%--  <html:link href = "#" styleClass = "item_sub"> --%>		<%// 800WA_WEBCONSOLE404 %> 
		       <%--<html:link href = "#link" styleClass = "item_sub">--%>       <%// 800WA_WEBCONSOLE404 %><%// 800WA_WEBCONSOLE449 %> 
		       <div class = "item_sub">                                         <%// 800WA_WEBCONSOLE449 %> 
			  <bean:message 
				       bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
				       key = "host.menu.connect.del"/>
				   <%--</html:link>--%>                                         <%-- 800WA_WEBCONSOLE138 --%><%-- 800WA_WEBCONSOLE449 --%>
               </div>                                                           <%-- 800WA_WEBCONSOLE449 --%>
     	 <%}
	     %>
	             </div> 
              </td>
			  <%-- <td width = "4%"></td> --%>									<%// 800WA_WEBCONSOLE178%> <%// 800WA_WEBCONSOLE428%>
			  <td class="host-menu-agent-left"></td>                            <%// 800WA_WEBCONSOLE428%>
 <%-- Settings Sub Menu Items --%>
              <%-- <td class = "nowrap"> --%>									<%// 800WA_WEBCONSOLE404 %>
             <%-- <td class="menu-agent-left"> --%>                             <% // 800WA_WEBCONSOLE404 %> <% // 800WA_WEBCONSOLE428 %>
             <td class="host-menu-agent-left">                                 	<% // 800WA_WEBCONSOLE428 %>
                <%// <div class = "list" id = "dropSet"> %>                                      <%// 800WA_WEBCONSOLE091%>                               
                <div class = "list" id = "dropSetSub">                                           <%// 800WA_WEBCONSOLE091%>                               

 <%-- This is for the web console service setting sub menu item --%>
                  <util:set name="webconSet">
                     opWebConSet('<util:rewrite action= "envWeb"/>',
				             '<%= request.getSession().getId() %>webConsServiceSet'); 
                  </util:set> 
              <%--    <html:link 
                       href = "#" styleClass = "item" 
					   onclick = '<%=pageContext.getAttribute("webconSet").toString()%>'> --%> <%// 800WA_WEBCONSOLE404 %>
                  <html:link href = "#link" styleClass = "item" onclick = 
                  '<%=pageContext.getAttribute("webconSet").toString()%>'> 		<%// 800WA_WEBCONSOLE404 %>
				  <bean:message 
				       bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
				       key = "host.menu.envset.web.console"/>
				  <%--</html:link></br>--%>                                                      <%-- 800WA_WEBCONSOLE138 --%>   
				      </html:link>                                                               <%-- 800WA_WEBCONSOLE138 --%>   
<%-- When the user is ADMINISTRATOR the sub menu items within the                        
                                                    if condition are enabled --%>     <%// 800WA_WEBCONSOLE030 %>
	       <%                                                                           // 800WA_WEBCONSOLE030                                                    
		        if(l_iUserType == HsmConst.USER_TYPE_ADMIN) {                           // 800WA_WEBCONSOLE030
           %>                                                                         <%// 800WA_WEBCONSOLE030 %>  
 				  <%--This is for the agent service setting sub menu item  --%>
    		       <util:set name = "AgentCheck">
				      agentSelectionCheck('<util:rewrite action="envAgt"/>',					    
					  <%= pageContext.getAttribute("errorParams").toString() %>,
			 		  '<%= request.getSession().getId() %>agtServiceSet')                   
				   </util:set> 
              <%--     <html:link 
                       href = "#" styleClass = "item" 
					   onclick = "<%= pageContext.getAttribute("AgentCheck")
    				                                          .toString() %>" > --%> <%// 800WA_WEBCONSOLE404 %>
              	<html:link 
                       href = "#link" styleClass = "item" 
					   onclick = "<%= pageContext.getAttribute("AgentCheck")
    				                                          .toString() %>" > <%// 800WA_WEBCONSOLE404 %>
				   <bean:message 
				       bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
				       key = "host.menu.envset.agent"/>
				  <%--</html:link></br>--%>                                                     <%-- 800WA_WEBCONSOLE138 --%>
				      </html:link>                                                              <%-- 800WA_WEBCONSOLE138 --%>  
				  <%--This is for the manager service setting sub menu item 
				       --%>
  				  <util:set name="mgrserSet">
                     opMgrSerSet('<util:rewrite action= "envMng"/>',
				        '<%= request.getSession().getId() %>mngServiceSet'); 
                  </util:set>  
              <%--    <html:link 
                       href = "#" styleClass = "item" 
					   onclick = '<%=pageContext.getAttribute("mgrserSet").toString()%>'> --%> <%// 800WA_WEBCONSOLE404 %>
                  <html:link 
                       href = "#link" styleClass = "item" onclick = 
                       '<%=pageContext.getAttribute("mgrserSet").toString()%>'> <%// 800WA_WEBCONSOLE404 %>
				  <bean:message 
				       bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
				       key = "host.menu.envset.manager"/>
				  </html:link>
 <%-- When the user is SUB-ADMINISTRATOR the sub menu items within 
                                        	   	       the else are disabled --%>
               <%
                 }else{
               %>
               <%--This is for the agent service setting sub menu item  --%>
		       <%--  <html:link href = "#" styleClass = "item_sub"> --%>		<%// 800WA_WEBCONSOLE404 %> 
		       <%--<html:link href = "#link" styleClass = "item_sub">--%>       <%// 800WA_WEBCONSOLE404 %><%// 800WA_WEBCONSOLE449 %> 
		       <div class = "item_sub">                                         <%// 800WA_WEBCONSOLE449 %> 
				  <bean:message 
				       bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
				       key = "host.menu.envset.agent"/>                         <%// 800WA_WEBCONSOLE033 %>
                  <%--</html:link></br>--%>                                     <%// 800WA_WEBCONSOLE033 %> <%-- 800WA_WEBCONSOLE138 --%>
				   <%--</html:link>--%>                                         <%-- 800WA_WEBCONSOLE138 --%><%-- 800WA_WEBCONSOLE449 --%>
               </div>                                                           <%-- 800WA_WEBCONSOLE449 --%>
                  <%--This is for the manager service setting sub menu item  
                      --%>
		       <%--  <html:link href = "#" styleClass = "item_sub"> --%>		<%// 800WA_WEBCONSOLE404 %> 
		       <%--<html:link href = "#link" styleClass = "item_sub">--%>       <%// 800WA_WEBCONSOLE404 %><%// 800WA_WEBCONSOLE449 %> 
		       <div class = "item_sub">                                         <%// 800WA_WEBCONSOLE449 %> 
     			  <bean:message 
				       bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>"  
				       key = "host.menu.envset.manager"/>                       <%// 800WA_WEBCONSOLE033 %>
                  <%--</html:link></br>--%>                                     <%// 800WA_WEBCONSOLE033 %> <%-- 800WA_WEBCONSOLE138 --%>
				   <%--</html:link>--%>                                         <%-- 800WA_WEBCONSOLE138 --%><%-- 800WA_WEBCONSOLE449 --%>
               </div>                                                           <%-- 800WA_WEBCONSOLE449 --%>
            <%}%>
	             </div> 
              </td>
			  <%-- <td width = "4%"></td> --%>									<%// 800WA_WEBCONSOLE178%> <%// 800WA_WEBCONSOLE428%>
			  <td class="host-menu-agent-left"></td>                            <%// 800WA_WEBCONSOLE428%>
 <%-- View Sub Menu Items --%>
              <%-- <td class = "nowrap"> --%>									<%// 800WA_WEBCONSOLE404 %>
             <%-- <td class="menu-agent-left"> --%>                             <% // 800WA_WEBCONSOLE404 %> <% // 800WA_WEBCONSOLE428 %>
             <td class="host-menu-agent-left">                                 	<% // 800WA_WEBCONSOLE428 %>
                 <%// <div class = "list" id = "dropView"> %>                                    <%// 800WA_WEBCONSOLE091%>               
                 <div class = "list" id = "dropViewSub">                                         <%// 800WA_WEBCONSOLE091%>               
 <%-- This tag is used to get the check image path --%>
	       		   <util:set name = "Check">
	                   <%= Const.PATH_IMAGES %><%= Const.IMAGE_HOST_MGMT_CHECK%>
                   </util:set>
 <%-- This tag is used to get the check blank image path --%>
	               <util:set name = "CheckBlank">
	                    <%= Const.PATH_IMAGES %><%= Const.IMAGE_HOST_MGMT_UNCHECK %>
	               </util:set>
	               <%-- <util:set name="hostList">                                                                                            <%// 800WA_WEBCONSOLE186 %>            
	                  	displayAction?id=<bean:message bundle="<%=Const.MESSAGE_RESOURCES_KEY_HOST %>" key="host.menu.display.service.3"/>    <%// 800WA_WEBCONSOLE186 %>
	               </util:set>--%>                                                                                                            <%// 800WA_WEBCONSOLE186 %>                   
				   <util:set name="hostList">                                                                                                 <%// 800WA_WEBCONSOLE186 %>   
	               <%-- <util:rewrite action="displayAction"/>?id=<bean:message 
						        bundle="<%=Const.MESSAGE_RESOURCES_KEY_HOST %>" 
								key="host.menu.display.site.1"/> --%>                                                                         <%// 800WA_WEBCONSOLE186 %> <%// 800WA_WEBCONSOLE474 %>
					<util:rewrite action="displayAction"/>?id=<%= Const.SITE %> <%// 800WA_WEBCONSOLE474 %>
	               </util:set>                                                                                                                <%// 800WA_WEBCONSOLE186 %>  
 <%-- This is for the SITE view sub menu item --%>
                   <%-- <html:link 
                         action ='<%=pageContext.getAttribute("hostList").toString()%>'
                        onclick="changeCheckImage('site')"styleClass = "item" target = "hostList">--%>                                        <%// 800WA_WEBCONSOLE186 %>  
				   <%-- <html:link
                         href ='<%=pageContext.getAttribute("hostList").toString()%>'
                        onclick="changeCheckImage('site')"styleClass = "item" target = "hostList"> --%><%// 800WA_WEBCONSOLE186 %><%// 800WA_WEBCONSOLE449 %>
						<html:link styleId = "siteLink"
                         href ='<%=pageContext.getAttribute("hostList").toString()%>'
                         onclick="changeCheckImage('site')"styleClass = "item" target = "hostList"><%// 800WA_WEBCONSOLE449 %>
<%--    			   <html:img styleId="site" src="<%= pageContext.getAttribute("CheckBlank")
	                                               .toString()%>" border = "0"/> --%> <% // 800WA_WEBCONSOLE348 %>
<%--			   <html:img styleId="site" src="<%= pageContext.getAttribute("Check")
	                                               .toString()%>" border = "0"/> --%> <% // 800WA_WEBCONSOLE348 %> <% // 800WA_WEBCONSOLE402 %>
			   <html:img styleId="site" 
			   	src="<%= pageContext.getAttribute("CheckBlank")
	            	.toString()%>" border = "0"/>								<% // 800WA_WEBCONSOLE402 %>
    			   <bean:message 
	       			    bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
	       			    key = "host.menu.display.site"/>
	       		   <%--</html:link></br>--%>                                                     <%-- 800WA_WEBCONSOLE138 --%>
				       </html:link>                                                              <%-- 800WA_WEBCONSOLE138 --%>

 <%--This is for the DOMAIN sub menu item  --%>
	               <%-- <util:set name="hostListDomain">                                                                                      <%// 800WA_WEBCONSOLE186 %>                                                                                                                  
	                    displayAction?id=<bean:message bundle="<%=Const.MESSAGE_RESOURCES_KEY_HOST %>" key="host.menu.display.service.3"/>    <%// 800WA_WEBCONSOLE186 %>
	               </util:set> --%>                                                                                                           <%// 800WA_WEBCONSOLE186 %> 
				   <util:set name="hostListDomain">                                                                                           <%// 800WA_WEBCONSOLE186 %>        
	                <%-- <util:rewrite action="displayAction"/>?id=<bean:message 
						bundle="<%=Const.MESSAGE_RESOURCES_KEY_HOST %>" 
						key="host.menu.display.domain.2"/> --%>                                                                               <%// 800WA_WEBCONSOLE186 %> <%// 800WA_WEBCONSOLE474 %> 
				   <util:rewrite action="displayAction"/>?id=<%= Const.DOMAIN %><%// 800WA_WEBCONSOLE474 %>
	               </util:set>                                                                                                                <%// 800WA_WEBCONSOLE186 %>                                                                             
 <%--Displaying the value obtained from the property file--%>
	               <%-- <html:link 
	                    action = '<%=pageContext.getAttribute("hostListDomain").toString()%>'
	                    onclick="changeCheckImage('domain')" styleClass = "item" target = "hostList"> --%>                                    <%// 800WA_WEBCONSOLE186 %>    
				   <%-- <html:link 
	                    href = '<%=pageContext.getAttribute("hostListDomain").toString()%>'
	                    onclick="changeCheckImage('domain')" styleClass = "item" target = "hostList"> --%><%// 800WA_WEBCONSOLE186 %><%// 800WA_WEBCONSOLE449 %>
						<html:link styleId = "domainLink"
	                    href = '<%=pageContext.getAttribute("hostListDomain").toString()%>'
	                    onclick="changeCheckImage('domain')" styleClass = "item" target = "hostList"><%// 800WA_WEBCONSOLE449 %>
	       		   <html:img styleId="domain" 
	       		                 src='<%= pageContext.getAttribute("CheckBlank")
	                                               .toString()%>' border = "0"/>

	       		  <bean:message 
	       		       bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
	       		       key = "host.menu.display.domain"/>
	       		  <%--</html:link></br>--%>                                                      <%-- 800WA_WEBCONSOLE138 --%> 
				      </html:link>                                                               <%-- 800WA_WEBCONSOLE138 --%>

<%-- This tag is used to get the check blank image path --%>
    			  <util:set name = "CheckBlank">
	                   <%= Const.PATH_IMAGES %><%= Const.IMAGE_HOST_MGMT_UNCHECK %>
	              </util:set>
<%--This is for the service configuration view sub menu item  --%>
	              <%-- <util:set name="hostListSC">                                                                                           <%// 800WA_WEBCONSOLE186 %>            
	                   displayAction?id=<bean:message bundle="<%=Const.MESSAGE_RESOURCES_KEY_HOST %>" key="host.menu.display.service.3"/>     <%// 800WA_WEBCONSOLE186 %> 
	              </util:set> --%>                                                                                                            <%// 800WA_WEBCONSOLE186 %>                  
                  <util:set name="hostListSC">                                                                                                <%// 800WA_WEBCONSOLE186 %>    
	              <%-- <util:rewrite action="displayAction"/>?id=<bean:message 
					   bundle="<%=Const.MESSAGE_RESOURCES_KEY_HOST %>" 
					   key="host.menu.display.service.3"/> --%>                                                                               <%// 800WA_WEBCONSOLE186 %> <%// 800WA_WEBCONSOLE474 %>
				  <util:rewrite action="displayAction"/>?id=<%= Const.SERVICE %><%// 800WA_WEBCONSOLE474 %>
	              </util:set>                                                                                                                 <%// 800WA_WEBCONSOLE186 %> 
	    	      <%-- <html:link 
	                   action = '<%=pageContext.getAttribute("hostListSC").toString()%>'
	                   onclick="changeCheckImage('service')" styleClass = "item" target = "hostList"> --%>                                    <%// 800WA_WEBCONSOLE186 %>
				  <%-- <html:link 
	                   href = '<%=pageContext.getAttribute("hostListSC").toString()%>'
	                   onclick="changeCheckImage('service')" styleClass = "item" target = "hostList"> --%><%// 800WA_WEBCONSOLE186 %><%// 800WA_WEBCONSOLE449 %>
					   <html:link styleId = "serviceConfLink"
	                   href = '<%=pageContext.getAttribute("hostListSC").toString()%>'
	                   onclick="changeCheckImage('service')" styleClass = "item" target = "hostList"><%// 800WA_WEBCONSOLE449 %>
<%--	       		  <html:img styleId="service" 
	       		                 src="<%= pageContext.getAttribute("Check")
	                                              .toString()%>" border = "0"/> --%> <%// 800WA_WEBCONSOLE348 %>
<%--	       		  <html:img styleId="service" 
	       		                 src="<%= pageContext.getAttribute("CheckBlank")
	                                              .toString()%>" border = "0"/> --%> <%// 800WA_WEBCONSOLE348 %> <%// 800WA_WEBCONSOLE402 %>
	        	  <html:img styleId="service" 
	       		                 src="<%= pageContext.getAttribute("Check")
	                                              .toString()%>" border = "0"/>	<%// 800WA_WEBCONSOLE402 %>
	        	  <bean:message 
	       	           bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
	       		       key = "host.menu.display.service"/>
	       		  <%--</html:link></br>--%>                                                      <%-- 800WA_WEBCONSOLE138 --%> 
				      </html:link>                                                               <%-- 800WA_WEBCONSOLE138 --%>
 <%--This is for the update to latest information sub menu item --%>                       
											 
		       <%--<html:link href = "#" styleClass = "item" onclick = "reload()" > --%> <%// 800WA_WEBCONSOLE404 %>
		          <html:link href = "#link" 
		          	styleClass = "item" onclick = "reload()" >					<%// 800WA_WEBCONSOLE404 %>
	              <html:img src="<%= pageContext.getAttribute("CheckBlank")
                                               .toString()%>" border = "0"/>
	       		  <bean:message 
	       		       bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
	       		       key = "host.menu.display.reload"/>
	       		  </html:link> 
	            </div> 
              </td>
			  <%-- <td width = "4%"></td> --%>									<%// 800WA_WEBCONSOLE178%> <%// 800WA_WEBCONSOLE428%>
			  <td class="host-menu-agent-left"></td>                            <%// 800WA_WEBCONSOLE428%>
 <%-- Help Sub Menu Items--%>
              <%-- <td class = "nowrap"> --%>									<% // 800WA_WEBCONSOLE428 %>
             <td class="host-menu-agent-left">                                 	<% // 800WA_WEBCONSOLE428 %>
                <%// <div class = "list" id = "dropHelp">%>                                      <%// 800WA_WEBCONSOLE091%>
                <div class = "list" id = "dropHelpSub">                                          <%// 800WA_WEBCONSOLE091%>
 <%-- Getting the table of contents url from properties file --%>
                  <util:set name = "hostheaderhelpurl">
	              <bean:message 
	                   bundle = "<%= Const.MESSAGE_RESOURCES_KEY_INTERNAL%>" 
	                   key = "internal.host.header.help.url"/>
                  </util:set>
 <%--Setting the table of content value obtained from the internal properties 
               file using page context and creating javascript to open help --%>
                  <util:set name = "FnOpenIndexHelp">
                       openHelp('<util:rewrite action="help"/>',
                       '<%= pageContext.getAttribute("hostheaderhelpurl")
                                                            .toString() %>',
						<%-- '<%= Const.ATTRIBUTE_REQUEST_HELP_CONTENTS %>');--%>              <%// 800WA_WEBCONSOLE158%>      
                       '<%= Const.ATTRIBUTE_REQUEST_HELP_CONTENTS %>',
					             '<%= request.getSession().getId() %>help');                   <%// 800WA_WEBCONSOLE158%>
                  </util:set>
 <%--This is for the table of contents sub menu item  --%>
                 <%--  <html:link href = "#" styleClass = "item" --%>			<%// 800WA_WEBCONSOLE404 %>
                 <html:link href = "#link" styleClass = "item"
				      onclick = "<%= pageContext.getAttribute("FnOpenIndexHelp")
				                                        .toString()%>"> 		<%// 800WA_WEBCONSOLE404 %>
                  <bean:message 
                       bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
                       key = "host.menu.help.search"/>
                  <%--</html:link></br>--%>                                                      <%-- 800WA_WEBCONSOLE138 --%>
				      </html:link>                                                               <%-- 800WA_WEBCONSOLE138 --%> 
				
 <%-- Getting the host management help url from properties file--%>
				  <util:set name = "hostheaderhosthelpurl">
	              <bean:message 
	                   bundle = "<%= Const.MESSAGE_RESOURCES_KEY_INTERNAL%>" 
	                   key = "internal.host.header.host.help.url"/>
                  </util:set>
 <%--Setting the host management help url obtained from the internal properties 
                file using page context and creating javascript to open help--%>
                  <util:set name = "FnOpenHostHelp">
                       openHelp('<util:rewrite action="help"/>',
                       '<%= pageContext.getAttribute("hostheaderhosthelpurl")
                                                              .toString() %>',
                    <%--'<%= Const.ATTRIBUTE_REQUEST_HELP_CONTENTS %>'); --%>                   <%// 800WA_WEBCONSOLE158%>  
					   '<%= Const.ATTRIBUTE_REQUEST_HELP_CONTENTS %>',                            
					       '<%= request.getSession().getId() %>help');                          <%// 800WA_WEBCONSOLE158%>
                  </util:set>
 <%--This is for the host management sub menu item  --%>
                 <%--  <html:link href = "#" styleClass = "item" --%>			<%// 800WA_WEBCONSOLE404 %>
                 <html:link href = "#link" styleClass = "item"
					   onclick = "<%= pageContext.getAttribute("FnOpenHostHelp")
					                                             .toString()%>"><%// 800WA_WEBCONSOLE404 %>
	              <bean:message 
	                   bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
	                   key = "host.menu.host.help"/>
                  <%--</html:link></br>--%>                                                      <%-- 800WA_WEBCONSOLE138 --%>
				      </html:link>                                                               <%-- 800WA_WEBCONSOLE138 --%>
 <%--This is for the version information sub menu item  --%>
                  <util:set name = "versionUrl" >
				 	<%-- opVersionInfo('<util:rewrite action = "version"/>');--%>                 <%// 800WA_WEBCONSOLE158%>
					opVersionInfo('<util:rewrite action = "version"/>',
					                    '<%= request.getSession().getId() %>version');            <%// 800WA_WEBCONSOLE158%>  
				  </util:set>
                 <%--  <html:link href = "#" styleClass = "item" --%>			<%// 800WA_WEBCONSOLE404 %>
                 <html:link href = "#link" styleClass = "item"
                       onclick = "<%= pageContext.getAttribute("versionUrl")
                       											.toString()%>"> <%// 800WA_WEBCONSOLE404 %>
				  <bean:message 
				       bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
				       key = "host.menu.help.version"/>
                  </html:link>
                </div>
              </td> 
          </tr>
       </table>
       </td> 																	<%// 800WA_WEBCONSOLE330 %>
       <td valign = "top">                                                      <% // 800WA_WEBCONSOLE428 %>
         <table class="menu-agent" id="menu" width = "100%" border = "0">       <% // 800WA_WEBCONSOLE428 %>
             <tr>                                                               <% // 800WA_WEBCONSOLE428 %>
               <td class="host-menu-agent-right">                               <% // 800WA_WEBCONSOLE428 %>
       			<%-- <td align="right"> --%> 									<%// 800WA_WEBCONSOLE330 %> <% // 800WA_WEBCONSOLE428 %>
       				<util:set name = "logoutUrl">
					logout('<util:rewrite action = "logout"/>');
				  </util:set> 													<%// 800WA_WEBCONSOLE330 %>
                <%-- <html:link styleId="logout" href = "#" styleClass = "menu" 
			      onclick = '<%= pageContext.getAttribute("logoutUrl").toString()%>' >--%><%// 800WA_WEBCONSOLE330 %><%// 800WA_WEBCONSOLE449 %>
                 <html:link styleId = "logout" href = "#" 
                  styleClass = "menu" tabindex = "1" 
			      onclick = '<%= pageContext.getAttribute("logoutUrl").toString()%>' > <%// 800WA_WEBCONSOLE449%>     
				  <bean:message 
				       bundle = "<%= Const.MESSAGE_RESOURCES_KEY_HOST%>" 
				       key = "host.menu.logout"/> 								<%// 800WA_WEBCONSOLE330 %>
				  </html:link> 													<%// 800WA_WEBCONSOLE330 %>
       			</td> 															<%// 800WA_WEBCONSOLE330 %>
       </tr> 																	<%// 800WA_WEBCONSOLE330 %>
       </table> 																<%// 800WA_WEBCONSOLE330 %>
      </td>                                                                     <% // 800WA_WEBCONSOLE428 %>
     </tr>                                                                      <% // 800WA_WEBCONSOLE428 %>
    </table>                                                                    <% // 800WA_WEBCONSOLE428 %>
			</div>																<%// 800WA_WEBCONSOLE404 %>       
	</body> 
 <%-- Get the error message information  from the message resources 
                                                               property file --%>
                   <util:set name = "errorArray">
                      var MSG_AGENT_SELECT_CHECK = "<%=MessageConstant.MSG_AGENT_SELECT_CHECK %>";
                      errorMsg[MSG_AGENT_SELECT_CHECK] 
  	                    = '<bean:message bundle = "<%=Const.MESSAGE_RESOURCES_KEY_ERRMESSAGE%>" 
  	                    key = "<%=MessageConstant.MSG_AGENT_SELECT_CHECK %>"/>';
  	                    
		var MSG_AGENT_ONLY_SELECT_CHECK =										
							"<%=MessageConstant.MSG_AGENT_ONLY_SELECT_CHECK %>";<%-- 800WA_WEBCONSOLE383 --%>	
		errorMsg[MSG_AGENT_ONLY_SELECT_CHECK]='<bean:message bundle ="<%=Const.					
											MESSAGE_RESOURCES_KEY_ERRMESSAGE%>"		
	    key = "<%=MessageConstant.MSG_AGENT_ONLY_SELECT_CHECK %>"/>';   		<%-- 800WA_WEBCONSOLE383 --%>				
  	                    
  	                    
                   </util:set>
                   <script>
                      <%= pageContext.getAttribute("errorArray").toString()%>
                      resetHeader('false');										<% // 800WA_WEBCONSOLE404 %> 
                   </script>	
</html:html>
