<%--
/*
 * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
 * 
 *  Use is subject to license terms.
 * 
 *  "@(#)admin_expansion_wiz_manual.jsp     1.3     03/05/28     SMI"
 */
--%>
<%@ include file="/layout/toptags.jsp"%>
<!-- locale stuff -->
<html:html locale="true">
<!-- end locale -->

<%
String isAdd = 
    (String)session.getAttribute(Constants.HttpSessionFields.IS_ADD_EXPANSION);

%>

<!-- Place Java Script Here -->
<script language="JavaScript">
function refreshPage() {
 <% String _page = "3"; 
    if("true".equals(isAdd)) { 
       _page = "2";
    }
  %>
  parent.setPage(<%=_page%>, "Page");
}
window.setTimeout(refreshPage, 1500000);
</script>
<!-- HTML -->
<head>
<%@include file="/layout/page_head_section.jsp"%>
</head>
<%@ include file="/layout/wizard_body_tag.jsp" %>
<%@ include file="/layout/user_messages.jsp"%>

<% 
    // this page is used by both the add and remove expansion
    //  wizards
    // this code will determine which action to use
    // set it to remove by default
    String formAction = "/RemoveExpansionWizard.do";

        if("true".equals(isAdd)) {
      formAction = "/AddExpansionWizard.do";
    }
%>
<html:form action="<%=formAction%>">
<%@ include file="/wizard/wizard_framework_fields.jsp"%>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr class="wizard-content-title-row">

    <td>
      <div class="wizard-content-title-text">
        <%
           if("true".equals(isAdd)) {
        %>
             <bean:message key="add.expansion.manual.header"/>
        <% } else { %>
             <bean:message key="remove.expansion.manual.header"/>
        <% } %>
      </div>
    </td>
  </tr>
  <tr>
    <td class="wizard-content-divider"><img alt width="1" height="1" src="/images/general/dot.gif" border="0"></td>
  </tr>

</table>
<!-- spacer between two sections -->
<table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td><img alt border="0" height="20" width="1" src="images/general/dot.gif"></td>
  </tr>
</table>

<table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="100%">   
  <tr>
   <td>
      <%
        if("true".equals(isAdd)) {
      %>
         <bean:message key="add.expansion.manual.instructions.part1"/>
      <% } else { %>
         <bean:message key="remove.expansion.manual.instructions.part1"/>
      <% } %>
   </td>
  </tr>
</table>

<!-- spacer between two sections -->
<table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td><img alt border="0" height="20" width="1" src="images/general/dot.gif"></td>
  </tr>
</table>
<table >
  <tr>
    <td>
      <%
         if("true".equals(isAdd)) {
      %>
           <bean:message key="add.expansion.manual.steps"/>
      <% } else { %>
           <bean:message key="remove.expansion.manual.steps"/>
      <% } %>
    </td>
  </tr>
</table>

</div>

</html:form>
</body>

</html:html>
