
	nMaxItem = 1;
	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 ))
		);
		
//	window.status= navigator.appName + parseInt(navigator.appVersion);

	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) {
		// window.alert("imgCounter: " + imgCounter + "\n" + "name: " + name);
		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;
					}
				}
			}
		}
		
		/* MOVE THIS TO INDEX HEAD */
		AddImageToImageList("ckid_button_HOME", 
							"images--index//HOME_norm.gif", 
							"images--index//HOME_glow.gif", 
							"images--index//HOME_glow.gif");
		AddImageToImageList("ckid_button_OURSTORY", 
							"images--index//OURSTORY_norm.gif", 
							"images--index//OURSTORY_glow.gif", 
							"images--index//OURSTORY_glow.gif");
		AddImageToImageList("ckid_button_GAL01", 
							"images--index//GAL01_norm.gif", 
							"images--index//GAL01_glow.gif", 
							"images--index//GAL01_glow.gif");
		AddImageToImageList("ckid_button_GAL02", 
							"images--index//GAL02_norm.gif", 
							"images--index//GAL02_glow.gif", 
							"images--index//GAL02_glow.gif");
		AddImageToImageList("ckid_button_FAQ", 
							"images--index//FAQ_norm.gif", 
							"images--index//FAQ_glow.gif", 
							"images--index//FAQ_glow.gif");
		AddImageToImageList("ckid_button_LINKS", 
							"images--index//LINKS_norm.gif", 
							"images--index//LINKS_glow.gif", 
							"images--index//LINKS_glow.gif");
							








