This is what the user gets when they first come to the page


<table border=1 cellpadding=0 cellspacing=0">
<tr>
<td><font size=-1>Reason for exception</td>
<td><font size=-1>First Name</td>
<td><font size=-1>Last Name</td>
<td><font size=-1>Notes</td>
</tr>

<form method="POST" action="DoExceptions.asp">
<td>
<Select name="Exception1" onChange="NewRow(1)">
<option value=""></option>
<option value="NewEmp">New Employee</option>
<option value="Terminated">Terminated Employee</option>
<option value="Transfer">Transfered Employee</option>
</select></td>

<td><font size=-1 ><input name="Fname1" size="20" value="<%=Fname%>"></TD>
<td><font size=-1 ><input name="Lname1" size="20" value="<%=Lname%>"></TD>
<td><font size=-1 ><input name="Notes1" size="80" value="<%=Notes%>"></TD>
</table>
<table border=1 cellpadding=0 cellspacing=0">
<tr>
<td><center><font size=-1>Regular</td>
<td><center><font size=-1>PTO</td>
<td><center><font size=-1>Other</td>
<td><center><font size=-1>Other Type</td>
<td><center><font size=-1>Unpaid REG</td>
<td><center><font size=-1>Extra REG</td>
<td><center><font size=-1>OT</td>
<td><center><font size=-1>DBL</td>
<td><font size=-1>STB Oncall</td>
<td><center><font size=-1>Oncall Dollars</td>
<td><font size=-1>Reg Comm</td>
<td><font size=-1>GT Comm</td>
<td><font size=-1>AD Comm</td>
<td><font size=-1>PTO Dollars</td>
<td><font size=-1>Ref Bonus</td>
<td><font size=-1>Lead Bonus</td>
</tr>
<tr>
<td><font size=-1 ><input name="Regular1" size="4" value="<%=Regular%>"></TD>
<td><font size=-1 ><input name="PTO1" size="4" value="<%=PTO%>"></TD>
<td><font size=-1 ><input name="Other1" size="4" value="<%=Other%>"></TD>
<td><font size=-1 ><input name="OtherType1" size="6" value="<%=OtherType%>"></TD>
<td><font size=-1 ><input name="Unpaid1" size="4" value="<%=Unpaid%>"></TD>
<td><font size=-1 ><input name="Extra1" size="4" value="<%=Extra%>"></TD>
<td><font size=-1 ><input name="OT1" size="4" value="<%=OT%>"></TD>
<td><font size=-1 ><input name="DBL1" size="4" value="<%=DBL%>"></TD>
<td><font size=-1 ><input name="STBOnCall1" size="6" value="<%=STBOnCall1%>"></TD>
<td><font size=-1 ><input name="OnCall1" size="6" value="<%=OnCall%>"></TD>
<td><font size=-1 ><input name="Comm1" size="6" value="<%=Comm%>"></TD>
<td><font size=-1 ><input name="GTComm1" size="6" value="<%=GTComm%>"></TD>
<td><font size=-1 ><input name="ADComm1" size="6" value="<%=ADComm%>"></TD>
<td><font size=-1 ><input name="PTODollars1" size="6" value="<%=PTODollars%>"></TD>
<td><font size=-1 ><input name="ReffBonus1" size="6" value="<%=ReffBonus%>"></TD>
<td><font size=-1 ><input name="LeadBonus1" size="6" value="<%=LeadBonus%>"></TD>
</TR>



IF they pick an option I would like to create the same content but I am not that good with Java and can't figure out how-to get the bellow script to create a duplicate of what's above.

<script>

var rowsAlreadyDone = new Array(100); // arbitrary size


var ELpntr=1;

function NewRow(rownum){


if ( rowsAlreadyDone[rownum] == "DONE" ) return; // just ignore the request
rowsAlreadyDone[rownum] = "DONE";


ELpntr++;

var content1='';
content1='<select name="Exception'+ELpntr+'" onChange="NewRow('+ELpntr+')">';
content1+='<option value"" selected></option>';
content1+='<option value"NewEmp">New Employee</option>';
content1+='<option value"Terminated">Terminated Employee</option>';
content1+='<option value"Transfer">Transfered Employee</option></select>';
var content2='<input size=20 name="Fname'+ELpntr+'">';
var content3='<input size=20 name="Lname'+ELpntr+'">';
var content4='<input size=4 name="Regular'+ELpntr+'">';
var content5='<input size=4 name="PTO'+ELpntr+'">';
var content6='<input size=4 name="Other'+ELpntr+'">';
var content7='<input size=6 name="OtherType'+ELpntr+'">';
var content8='<input size=4 name="Unpaid'+ELpntr+'">';
var content9='<input size=4 name="Extra'+ELpntr+'">';
var content10='<input size=4 name="OT'+ELpntr+'">';
var content11='<input size=4 name="DBL'+ELpntr+'">';
var content12='<input size=6 name="STBOnCall'+ELpntr+'">';
var content13='<input size=6 name="OnCall'+ELpntr+'">';
var content14='<input size=6 name="Comm'+ELpntr+'">';
var content15='<input size=6 name="GTComm'+ELpntr+'">';
var content16='<input size=6 name="ADComm'+ELpntr+'">';
var content17='<input size=6 name="PTODollars'+ELpntr+'">';
var content18='<input size=6 name="ReffBonus'+ELpntr+'">';
var content19='<input size=6 name="LeadBonus'+ELpntr+'">';


tabBody=document.getElementsByTagName("TBODY").item(0);
row=document.createElement("TR");
cell1 = document.createElement("TD");
cell2 = document.createElement("TD");
cell3 = document.createElement("TD");
cell1.innerHTML=content1;
cell2.innerHTML=content2;
cell3.innerHTML=content3;
row=document.createElement("TR");
cell4 = document.createElement("TD");
cell5 = document.createElement("TD");
cell6 = document.createElement("TD");
cell7 = document.createElement("TD");
cell8 = document.createElement("TD");
cell9 = document.createElement("TD");
cell10 = document.createElement("TD");
cell11 = document.createElement("TD");
cell12 = document.createElement("TD");
cell13 = document.createElement("TD");
cell14 = document.createElement("TD");
cell15 = document.createElement("TD");
cell16 = document.createElement("TD");
cell17 = document.createElement("TD");
cell18 = document.createElement("TD");
cell19 = document.createElement("TD");
cell4.innerHTML=content4;
cell5.innerHTML=content5;
cell6.innerHTML=content6;
cell7.innerHTML=content7;
cell8.innerHTML=content8;
cell9.innerHTML=content9;
cell10.innerHTML=content10;
cell11.innerHTML=content11;
cell12.innerHTML=content12;
cell13.innerHTML=content13;
cell14.innerHTML=content14;
cell15.innerHTML=content15;
cell16.innerHTML=content16;
cell17.innerHTML=content17;
cell18.innerHTML=content18;
cell18.innerHTML=content19;
row.appendChild(cell1);
row.appendChild(cell2);
row.appendChild(cell3);
row.appendChild(cell4);
row.appendChild(cell5);
row.appendChild(cell6);
row.appendChild(cell7);
row.appendChild(cell8);
row.appendChild(cell9);
row.appendChild(cell10);
row.appendChild(cell11);
row.appendChild(cell12);
row.appendChild(cell13);
row.appendChild(cell14);
row.appendChild(cell15);
row.appendChild(cell16);
row.appendChild(cell17);
row.appendChild(cell18);
row.appendChild(cell19);
tabBody=document.getElementsByTagName("TBODY").item(0);
tabBody.appendChild(row);

}

function DoSubmit(){
document.getElementById('TotalExceptions').value = ELpntr;
document.forms[0].submit();
}
</script>
</table>
</Div>

<p align="center">
<input type="button" value="Submit" name="B1" onClick="DoSubmit();"><input type="reset" value="Reset" name="B2">
<input type="hidden" value="" name="TotalExceptions" id="TotalExceptions">
</p>
</Form>
</HTML>