We were on the right track but the trouble was the code I posted only worked in Chrome... It needed a little editing to work in Firefox and IE-
HTML Code:
<td class="smallfont"><a href="javascript:void(0);" onclick="location.hash = '#qrform'; document.getElementById('vB_Editor_QR_textarea').focus();"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
That code works great in IE9, FF, and Chrome, and I would think all other browsers.
Should just have an option for people who are visiting without javascript enabled.