If you use a string array with 3 elements, and set each equal to the code for the last row:
lastrow[0]="<TR><TD>I am row option #1</TD></TR>";
lastrow[1]="<TR><TD>I am row option #2</TD></TR>";
lastrow[2]="<TR><TD>I am row option #3</TD></TR>";
... then you could use a document.write(lastrow[ choice ]), or a variant thereof, to display the proper last row. Where the
drop-down is in relation to the table will determine how you throw the parameter, but at least this should handle the row aspect.
Shawn