I tweaked it a bit for space, and i got it working. thanks a lot both of you. heres what my final came out to be...
$("a").each(function(){ if($(this).attr("href").match('mysite.com')===null) { $(this).attr('href','mysite.com/go?url=' + $ (this).attr('href')).attr('target','_blank'); } }); thanks again, have a great week.