Amateur Night

Amateur Night

Not sure if this is the right place to ask, but I currently have these two events (?) in numerous links within a page...
  1. onclick="NewWindow(this.href,'rank','350','140','yes','center');return false" onfocus="this.blur()"
It works fine, but it is repetitive, it is in numerous links. It seems bulky and I don't like it.
I think I have two questions.
1 - Can/how do I do the above events with JQ?
2 - How do I run the script in the doc head so each link can reference it, instead of bulking my code by having it in each link?

I'm running JQ already, and I see some people say that I could give the link an ID...
  1. <a href="#" id="MySuperAmazingScript">Amazingness</a>