removing elements from DOM not working as expected
<p>In <a href="http://jsfiddle.net/gV8qU/19/" rel="nofollow">this fiddle</a> click the blue buttons to select Agents and add them to the list.</p>

<p>I create legend elements to show the Agent's name to the right of the respective input's label. (I do this so that long names don't disturb my table layout. If there's a better way, I'm all ears!)</p>

<p>You can remove Agents from the list by right-clicking on the respective blue button.</p>

<p>In a list of three of more Agents the legends of the Agents moved up (after removing the first Agent), all go to the same place, instead of staying with their respective label elements.</p>

<p>The code responsible for this starts with: <code>if (selectName != "undefined" &amp;&amp; selectName) {</code></p>

<p>I've spent three days on this! Please help me understand what I'm doing wrong.</p>

<p>Also, how do I prevent the need for two clicks to do anything after using the right-click to remove an Agent?</p>

<p>Thank you</p>

<p>Chris</p>
