	//////////////////////
	// GLOBAL VARIABLES //
	//////////////////////
	
var pathToImages = "/images/";// PATH FROM HTML FILE TO IMAGES
var textImageName = "DISPLAY";		// NAME OF TEXT DISPLAY IMAGE BELOW
var thisPage = 4;			// NUMBER MATCHING ARRAYS BELOW WITH THIS PAGE
var suffix = '.gif';			// EXTENSION OF IMAGE FILES
var displayStatus = true;		// DISPLAY STATUS MESSAGES? TRUE OR FALSE
var able = document.images;		// TEST FOR IMAGE SWAP SUPPORT

	//////////////////////////
	// NAMES OF IMAGE FILES //
	//////////////////////////
	
var filenames = new Array();
filenames[1] = "redfly";
filenames[2] = "orangefly";
filenames[3] = "yellowfly";
filenames[4] = "greenfly";
filenames[5] = "lightbluefly";
filenames[6] = "darkbluefly";
filenames[7] = "pinkfly";

	/////////////////////////////
	// NAMES OF IMAGES ON PAGE //
	/////////////////////////////
	
var imageNames = new Array();
imageNames[1] = "RED";	
imageNames[2] = "ORANGE";	
imageNames[3] = "YELLOW";	
imageNames[4] = "GREEN";	
imageNames[5] = "LIGHTBLUE";	
imageNames[6] = "DARKBLUE";	
imageNames[7] = "PINK";	

	/////////////////////////
	// STATUS BAR MESSAGES //
	/////////////////////////

var statusline = new Array();
statusline[1] = "Storytelling supports speaking, listening, reading, and writing skills";
statusline[2] = "Storytelling lesson plans and language arts curriculum ideas";
statusline[3] = "Concise folktale plots for students to retell";
statusline[4] = "Storytelling recordings and books for the classroom";
statusline[5] = "Thoughts on the art of storytelling";
statusline[6] = "A webliography of storytelling and language arts connections";
statusline[7] = "A place to share lesson plans";

	//////////////////////////////
	// FILENAMES OF TEXT IMAGES //
	//////////////////////////////

var textImage = new Array();
textImage[1] = "storytelling";
textImage[2] = "lesson";
textImage[3] = "listening";
textImage[4] = "books";
textImage[5] = "articles";
textImage[6] = "links";
textImage[7] = "curriculum";

	/////////////////////
	// PRELOADS IMAGES //
	/////////////////////

if (able) {
	for (i = 1; i < filenames.length; i++) {
		eval("var " + filenames[i] + "_norm = new Image();");
		eval(filenames[i] + "_norm.src = '" + pathToImages + filenames[i] + suffix + "'");
	}
	for (i = 1; i < filenames.length; i++) {
		eval("var " + filenames[i] + "_hi = new Image();");
		eval(filenames[i] + "_hi.src = '" + pathToImages + filenames[i] + "_over" + suffix + "'");
	}
	for (i = 1; i < filenames.length; i++) {
		eval("var " + textImage[i] + "_text = new Image();");
		eval(textImage[i] + "_text.src = '" + pathToImages + textImage[i] + suffix + "'");
	}
}

	////////////////////////
	// MOUSEOVER FUNCTION //
	////////////////////////

function mouseOver(which, linkNo) {
	if (able) {
		if (which != imageNames[thisPage]) {
			eval("document.images['" + which + "'].src = " + filenames[linkNo] + "_hi.src");
			eval("document.images['" + textImageName + "'].src = " + textImage[linkNo] + "_text.src");
		}
	}
	if (displayStatus) {
		window.status = statusline[linkNo];
	}
}

	///////////////////////
	// MOUSEOUT FUNCTION //
	///////////////////////

function mouseOut(which, linkNo) {
	if (able) {
		if (which != imageNames[thisPage]) {
			eval("document.images['" + which + "'].src = " + filenames[linkNo] + "_norm.src");
			eval("document.images['" + textImageName + "'].src = " + textImage[thisPage] + "_text.src");
		}
	}
	if (displayStatus) {
		window.status = "";
	}
}
