I am trying to take a list of names, extract the name and use it for the image name, all while changing one image.ex:John Smith --> JohnSmith.jpg --> img id=pic --> img src=JohnSmith.jpgHopefully that points out what I'm trying to accomplish. Anyways, I know how to do an image swap, but I can't figure out how to extract the text (John Smith) for the image link. Can anyone shed some light. I would like to use as much CSS as possible, but I posted it here cause I think this requires a lot of JavaScript.X