// Nofollow striken
// Styles nofollow links with a strike through

/*
Script source:
  
  http://speed.insane.com/files/nofollow.user.js

Changes:
  Rewritten completely by liorean, 2005-03-20. Repackaged by Rijk.
*/

function noFollowStriken() {
  var
        re=/nofollow/i,
        i=0
        candidates=document.getElementsByTagName('a'),
        cand,
        theStyle;
  while(cand=candidates.item(i++))
        if(re.test(cand.getAttribute('rel')))
            cand.style.textDecoration='line-through;';
}
