Added isActivelink checking to documents link: