First, see this previous post.
Anybody know how to get Jquery to perform this function, as soon as the page loads, rather than having to enter the rel attribute in?
'O.K.W' (original answer-er) - If you see this post and know of a solution, please feel free to reply to either post.
You can have a jquery selector for all images or specific classes, ids, or attribute values. I think you should do a crash course tutorial and get the basics real quick. You'll answer a lot in about 15 minutes of reading. Focus on this section of the jQuery tutorials related to selectors and events: http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery#Find_me:_Using_selectors_and_events