Function decides whether link is highglighted