function switchImage(imgEl, newImagePath) {
	var img = new Image();
	img.src = newImagePath;
	imgEl.src = newImagePath;
}

