
// This script is used to change the display of an 
// image when another image or object is clicked
// ====================================================
// The following line of code is inserted into the page
// <a href="javascript:imgChange('image_name.jpg','path/to/image')">some object</a>

function imgChange(path,img)
{
	var path = 'images/large/' ;
	document.images['mainpic'].src = path + img;
}
