<%@page contentType="text/html;charset=UTF-8" pageEncoding="ISO-8859-1" session="true"
%><%@page import="com.fujitsu.iflow.model.workflow.Filter"
%>

<script type='text/javascript'>
function Go(){return}
</script>
<script type='text/javascript' src='styles/menu_settings1.js'></script>
<script>

// Menu tree
//  MenuX=new Array(Text to show, Link, background image (optional), number of sub elements, height, width);
//  For rollover images set "Text to show" to:  "rollover:Image1.jpg:Image2.jpg"
<%
    String piId = request.getParameter("id");
    String isArchived = request.getParameter("isArchived");
    if (isArchived == null || isArchived.length() == 0)
    	isArchived = "false";
    
    //Set Dispaly Menu
    String[] displayChoices = {"Process History",		                            /* 0 */
						 "UDA History By Name",		            /* 1 */
						 "UDA History By TimeStamp"};		    /* 2 */

    int[] displayChoiceId = {1,2,3};							    /* Invalid */

%>
    Menu1=new Array("rollover:images/but_worklist_view.gif:images/but_worklist_view.gif","","",<%=displayChoices.length%>,24,85);
<%
	int menuIndex = 1;
	for(int i=0; i< displayChoices.length; i++, menuIndex++)
	{
%>
	    Menu1_<%=menuIndex%>=new Array("<%=displayChoices[i]%>",
		"ShowHistory.jsp?id=<%=piId%>&displayId="+<%=i%>+"&isArchived="+<%=isArchived%>,"",0,20,190);
<%
	}
%>
</script>
<script type='text/javascript' src='styles/menu_com.js'></script>
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center">
      <div id='MenuPos1' style='position:relative; width:120; height:0;'></div>
    </td>
  </tr>
  </table>
<!-- end floating menu-->
