Changed back to local vars, removed unnecessary anchor src tags from when they were imgs.