function changeimage(imgName, filePath) { //resetImg(); imageName="document."+imgName+".src='"+filePath+"';"; eval(imageName); }