<!--

// rollover image replacement
function imgOn(img, imgName, activesfx) {
	//grab url to image folder
	var imgfolder = img.src.substr(0, img.src.lastIndexOf('/')+1);
	// split imgName and insert activesfx
	var newimg = imgName.substr(0,imgName.lastIndexOf('.')) + activesfx + imgName.substr(imgName.lastIndexOf('.'), imgName.length - imgName.lastIndexOf('.'));
	// set img to = new image as long as its not already set to that
	if( img.src.indexOf(newimg) < 0 && imgName.indexOf(activesfx) < 0 )
	{
		img.src = imgfolder + newimg;
	}
}

function imgOff(img, imgName, activesfx) {
	//grab url to image folder
	var imgfolder = img.src.substr(0, img.src.lastIndexOf('/')+1);
	// set img to = new image as long as its not already set to that
	if( img.src.indexOf(imgName) < 0 )
	{
		img.src = imgfolder + imgName;
	}
}

-->
