<!--
// Function to set the rollover state for each individual page
// so that the rollover image source is not reset when the template is applied.
// In the editable script area below add a definition for an array named roImages
// that contains names of image names and source paths.  example:
// roImages = ['name_1', 'source_1', 'name_2', 'source_2', 'name_n', 'source_n'];
// The array can contain as many name/source combinations as you want.
var roImages = [];
var safeToSwap = false; // var to tell MM_swapImage that it is safe to swap.
						// we cannot engage swapping until the rollovers are set.
						// otherwise the wrong images will swap out.
function setRollover() {
	var i;
	if (roImages.length > 0) {
		for (i=0;i<=(roImages.length-2);i+=2) {
			document.images[roImages[i]].src = roImages[i+1];
		}
	}
	safeToSwap = true; // set var to true now that the rollovers are set.
}
//-->
