clicking onclick link with in a frame

Hi All,

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

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

while in that html return there is a link

123456

how can I get his link to launch/fire?

Any and all help deeply appreciated.