what is the main function of a spiders eyes?