Converting popups to lightboxes using Jquery?

Converting popups to lightboxes using Jquery?

Hi,

I have a link with the following code:
<a onclick="javascript:void(window.open('link.html','popup','width=580,height=350,toolbar=no,menubar=no,scrollbars=yes,resizable=yes,location=no,directories=no,status=no'));return false" href="link.html">More Info</a>

There are several similar links on the page. Basically I'm using lightboxes on my other pages but don't have access to the source code, only the CSS so I'm looking if possible to change this using jquery.

So in a couple of steps what I'm looking to do is:
- Remove the onclick behaviour from all links
- Append the code &TB_iframe=true&height=500&width=600 onto the URL in the href
- Set the class of the link to "thickbox"

Is any or all of this possible?

Any help would be greatly appreciated

Thanks in advance