Without JavaScript enabled, the user will just see text links. With JavaScript, the text will be swapped out with images on the fly (the text will become the alt tags for the images) with rollover effects. The images are created from the id of the link containing the image.
This is more straightforward. Just takes links with a class of newWindow and adds an event that makes them open in a new window.