function changeimage(imgx,placex) { if (document.images) { document.images[placex].src = eval(imgx + ".src"); } }