<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<META content="IBM Software Development Platform">
<META http-equiv="Content-Style-Type" content="text/css">
<LINK href="theme/Master.css" rel="stylesheet"
type="text/css">
<TITLE>select table.jsp</TITLE>
</HEAD>
<script language="javascript">
var currentActiveRow
function moveOption(obj,oSelectFrom)
{
if(currentActiveRow) currentActiveRow.style.backgroundColor="";
currentActiveRow = obj;
currentActiveRow.style.backgroundColor="gray";
currentActiveRow.disabled=true;
var roleName=currentActiveRow.cells[0].innerText;
var roleType=currentActiveRow.cells[1].innerText;
var selectedObj=document.getElementById(oSelectFrom);
var rowIndex=selectedObj.childNodes[0].childNodes.length;
var objTR=selectedObj.insertRow(rowIndex);
//alert("message:"+roleName+" "+roleType);
var cell1=objTR.insertCell();
var cell2=objTR.insertCell();
cell1.innerText=roleName;
cell2.innerText=roleType;
rowIndex2=parseInt(rowIndex)+parseInt(1);
}
function deleteRow(obj)
{
//var obj=document.getElementById("table1");
var rowIndex=obj.childNodes[0].childNodes.selectedIndex;
obj.deleteRow(rowIndex-parseInt(1));
}
</scr