```
                var pic3 = document.createElement("IMG");
                pic3.setAttribute("src", "img/mutantpre.jpg");
                pic3.setAttribute("onclick", "display()");
                pic3.setAttribute("id", "mutantpre");
                pic3.setAttribute("height", "250px");
                pic3.setAttribute("width", "150px");
                document.getElementById("product4").appendChild(pic3);

```

Im trying to create a function to set all pictures to hidden when this one is clicked. However from that function I dont know which one was clicked. How do i figure out which one they clicked get the id of it so i can set the visibility of the other ones.