function movepic(thisimg,otherimg) { document.images[thisimg].src=otherimg; }