I have a link I am trying to click via applescript do javascript


I can return the frames html by doing


tell application "Safari"
 do JavaScript
 
"document.getElementById('iframesearch').contentDocument.getElementById('frmAccountList').innerHTML"
 in document 1
 end tell


the html returned contains the link link I want to click/fire
  <span id="SWGrdAccSearch_ctl06_lblAsterix">&nbsp;</span>

<a onclick="javascript:return getDefaultAccount('John
 Doe','0890','0','0');" id="SWGrdAccSearch_ctl06_lnkAccount"
 href="javascript:__doPostBack('SWGrdAccSearch
 $ctl06$lnkAccount','')">123456</a>


how can I get his link to launch/fire?


Any and all help deeply appreciated.