﻿// JScript File

//function swaps a image
function changeImage(imgName,imgPath){
	//imageName is the name given to the image in the <img> tag, imgPath is the path of the image to replace the exist one
	//alert(imgPath+" "+imgName);
	document[imgName].src =imgPath;
	//document.getElementByID(imgName).value = imgPath;
}
