// pre-load roll-over images here

// construct new images

sub_rock_off = new Image
sub_rock_on = new Image
sub_ice_off = new Image
sub_ice_on = new Image
sub_outing_off = new Image
sub_outing_on = new Image
sub_private_off = new Image
sub_private_on = new Image

// define src attributes

sub_rock_off.src = "../banner/sub_rock_off.gif"
sub_rock_on.src = "../banner/sub_rock_on.gif"
sub_ice_off.src = "../banner/sub_ice_off.gif"
sub_ice_on.src = "../banner/sub_ice_on.gif"
sub_outing_off.src = "../banner/sub_outing_off.gif"
sub_outing_on.src = "../banner/sub_outing_on.gif"
sub_private_off.src = "../banner/sub_private_off.gif"
sub_private_on.src = "../banner/sub_private_on.gif"

// here is the rollover function

	// this function switches to a new image in the specified field
	function changeImg(imgField, newImg) {
		if (document.images) {
			document[imgField].src =
				eval(newImg + ".src")
		}
	}
