var abc1On = new Image();
var abc1Off = new Image();
var abc1Arrow = new Image();
var abc2On = new Image();
var abc2Off = new Image();
var abc2Arrow = new Image();
var abc3On = new Image();
var abc3Off = new Image();
var abc3Arrow = new Image();


abc1On.src = root + "new/junior_files/a-on.gif";
abc1Off.src = root + "new/junior_files/a-off.gif";
abc1Arrow.src = root + "new/junior_files/a-arrow.gif";
abc2On.src = root + "new/junior_files/b-on.gif";
abc2Off.src = root + "new/junior_files/b-off.gif";
abc2Arrow.src = root + "new/junior_files/b-arrow.gif";
abc3On.src = root + "new/junior_files/c-on.gif";
abc3Off.src = root + "new/junior_files/c-off.gif";
abc3Arrow.src = root + "new/junior_files/c-arrow.gif";


var iconstep1 = new Image();
var iconstep2 = new Image();
var iconstep3 = new Image();


iconstep1.src = root + "new/junior_files/icon-a.gif";
iconstep2.src = root + "new/junior_files/icon-b.gif";
iconstep3.src = root + "new/junior_files/icon-c.gif";


// Defines first arrow
var isArrow = "1";

var abctext = new Array();
abctext[0] = "";
abctext[1] = "Junior Kumon is a fully interactive program. A trained Kumon Assistant works closely and patiently with Junior Kumon students, providing attention, positive reinforcement, and instruction at each session. Consistent and positive interaction at the Center and at home is crucial at this stage of learning.";
abctext[2] = "The Junior Kumon curriculum is individualized for each student. Reading aloud to children, counting with them, and using tools like worksheets, flashcards, books, alphabet and number boards form the basis of the Junior Kumon curriculum. Each child progresses through these materials at his or her own pace.";
abctext[3] = "Junior Kumon introduces children to basic skills required to learn math and reading. It takes time and practice to develop these pre-reading and numeracy skills. At this input stage of learning, students may not be able to demonstrate to you what they know upon command. Parents should be patient and understanding.";


function rollOffArrow(sImageName){
	if(sImageName.charAt(3) == isArrow){
		//document.images[sImageName].src = eval(sImageName+"Arrow").src;
	}else{
		rollOff(sImageName);
	}
}

function highlightAbc(sImageName){
	
	rollOff("abc"+isArrow);
	isArrow = sImageName.charAt(3);
	rollOn("abc"+isArrow);
	

	document.images["iconstep"].src = eval("iconstep"+isArrow).src;
	
	document.getElementById("abclayer").innerHTML = abctext[isArrow];
	
}

