Getting name attribute of an object
<p>I set up a function that gets the name attribute of an object and runs a function. The name of the object is set up as a variable but it's not working when I called it. What am I missing?</p>

<p><a href="http://jsfiddle.net/rexonms/wPUhK/1/" rel="nofollow">http://jsfiddle.net/rexonms/wPUhK/1/</a></p>
