//<!--Ulead(R) RollOverButton(TM) 1.0 Generated JavaScript. Please do not edit.
nMaxItem = 4;
NameIndex = 0;
DefaultState = 1;

MouseOverState = 2;
MouseDownState = 3;
imgCounter = 0;

ImageList = new Array();

bIsSupportOK = (
	((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 3 )) ||
	((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 ))
);

function AddImageToImageList(name, Default, MouseOver, MouseDown)
{
	ImageList[imgCounter] = new Array(nMaxItem);
	ImageList[imgCounter][NameIndex] = name;
	ImageList[imgCounter][DefaultState] = new Image();
	ImageList[imgCounter][DefaultState].src = Default;
	if (MouseOver != "") {
		ImageList[imgCounter][MouseOverState] = new Image();
		ImageList[imgCounter][MouseOverState].src = MouseOver;
	}
	if (MouseDown != "") {
		ImageList[imgCounter][MouseDownState] = new Image();
		ImageList[imgCounter][MouseDownState].src = MouseDown;
	}

	imgCounter++;
}

function ReplaceImage(name, state)
{
	for (i = 0; i < imgCounter; i++) {
		if (document.images[ImageList[i][NameIndex]] != null) {
			if ((name == ImageList[i][NameIndex]) && (ImageList[i][state] != null))
				document.images[name].src = ImageList[i][state].src;
		}
	}
}

// ------------
// . First:
// . You can copy the "AddImageToImageList(...)" script and
// . paste it into your HTML file <head> to compile and
// . define your rollover button.
// . ------------

//AddImageToImageList("tag_Holy_Moley_Stories_button", 
//                      "/images/kids/Holy_Moley_Stories_button_normal.gif", 
//                      "/images/kids/Holy_Moley_Stories_button_over.gif", 
//                      "/images/kids/Holy_Moley_Stories_button_down.gif");


// ------------
// . Second: 
// . Setup your hyperlinks where the rollover button 
// . is to exist in <body> like so:
// . ----------

//	<a onmousedown="if (bIsSupportOK) ReplaceImage('tag_Mass_Schedules_button2', MouseDownState);" 
//	   onmouseup="if (bIsSupportOK) ReplaceImage('tag_Mass_Schedules_button2', MouseOverState);" 
//	   onmouseout="if (bIsSupportOK) ReplaceImage('tag_Mass_Schedules_button2',DefaultState);
//                 window.status=window.defaultStatus;
//                 return true" 
//	   onmouseover="if (bIsSupportOK) ReplaceImage('tag_Mass_Schedules_button2', MouseOverState); 
//					window.status='';
//					return true;" 
//	   title="Get a listing of the currently planned Children's Liturgies" 
//	   href="/kids/kids_lit_mass_sched.asp">
//	     <img name="tag_Mass_Schedules_button2" 
//	          src="/images/kids/Mass_Schedules_button_normal.gif" 
//	          alt="" 
//	          width="149" 
//	          height="40" />
//	</a>
