/*
This script does the rollover swap for the small SPCB
image button--the button that is long and not tall.
*/
var imagePath='spcbhomebuttons/';
var OnOff=new Array();
OnOff[0] = new Image();
OnOff[1] = new Image();
/*
This function takes a modification to the path to the buttons.
Input is a string such as "../" or "../../"
String shows how many levels down the calling file is.
Called from page that may not be in the same folder.
*/
function modifyPath(PathMod) {
	imagePath=PathMod + imagePath;
	OnOff[0].src=imagePath + 'homeoff2.gif';
	OnOff[1].src=imagePath + 'homeon2.gif';
	}

function kickIn(whichImage) { document.images[whichImage].src=OnOff[1].src }
function kickOut(whichImage) { document.images[whichImage].src=OnOff[0].src }

