Will the webcrawlers find this link and give credit the the linked site? Seems I've heard somewhere they don't like javascript. <a href="javascriptopWindow('http://www.DOMAINNAME.com')" class=graylinks>LINK TEXT</a>
google follows two thinks on your page . one is href tag and the other is src tag. if your javascript inside these two tag , google and the other major search engines will follow your javascripts