// JavaScript Document

function gallimg(getpic) {
	
	var lnk = document.getElementById("placeholder"); //this picks up the id of the placeholder image
	var source = getpic.getAttribute("href"); //takes anchor tag of each element
	
	lnk.setAttribute("src", source); //takes the placeholder variable, sets the src to be the source of the href thats sent to the placeholder
}