// Copyright 2000-2008, DataCom/OTA, Inc.

// Setups
var rPics = new Array();
rPics[0]="indexA.jpg";
rPics[1]="indexB.jpg";
rPics[2]="indexC.jpg";
rPics[3]="indexD.jpg";
rPics[4]="indexE.jpg";
rPics[5]="indexF.jpg";
rPics[6]="indexG.jpg";
rPics[7]="indexH.jpg";

var rHline = new Array();
rHline[0]="Little hands";
rHline[1]="Award-winning";
rHline[2]="High Visibility";
rHline[3]="Learn to type";
rHline[4]="One button";
rHline[5]="Color-coded learning";
rHline[6]="Type what you see";
rHline[7]="Colorful Fun";

var rCopy = new Array();
rCopy[0]="Chester Creek's Tiny Mouse is the perfect size for a child&rsquo;s hand.";
rCopy[1]="Chester Creek's KinderBoard was selected by Scholastic Magazine as Teacher&rsquo;s Pick of 2007.";
rCopy[2]="Chester Creek's VisionBoard2 keyboards are perfect for those with vision or dexterity issues.";
rCopy[3]="Chester Creek's LessonBoard is color-coded by finger to help anyone master touch-typing.";
rCopy[4]="Chester Creek's Chester the Mouse makes using a mouse child&rsquo;s play.";
rCopy[5]="Chester Creek's LearningBoard helps kids learn the keyboard with vibrant color-coded keys. ";
rCopy[6]="Chester Creek's MyBoard-lc has lower-case letters on large, color-coded keys. ";
rCopy[7]="Chester Creek's FunKeyBoard & FunMouse will complement your child&rsquo;s fun and colorful ideas.";

var rHref = new Array();
rHref[0]="/TinyMouseOptical.html";
rHref[1]="/KinderBoard.html";
rHref[2]="/VisionBoard2White.html";
rHref[3]="/LessonBoard.html";
rHref[4]="/ChesterMouse.html";
rHref[5]="/LearningBoardWhite.html";
rHref[6]="/MyBoardlc.html";
rHref[7]="/FunKeyBoardMouse.html";

//DO NOT EDIT BELOW THIS LINE

var rPic="0";

//SlideShow
function iImages() {
	if (rPic < rPics.length) {
		document.getElementById('iPic').src = "/media/"+rPics[rPic];
		document.getElementById('iHlin').innerHTML = rHline[rPic];
		document.getElementById('iCpy').innerHTML = rCopy[rPic];
		document.getElementById('iRef').href = rHref[rPic];
	rPic++;
	} else {
	rPic = 0;
		document.getElementById('iPic').src = "/media/"+rPics[rPic];
		document.getElementById('iHlin').innerHTML = rHline[rPic];
		document.getElementById('iCpy').innerHTML = rCopy[rPic];
		document.getElementById('iRef').href = rHref[rPic];
	rPic++;
	}
	setTimeout ("iImages()", 4000);
}

//SlideShow
function rbPics() {
	if (rPic > 0) {
	rPic--;
	document.getElementById('iPic').src = "/images/gallery/"+rPics[rPic];
	document.getElementById('iHlin').innerHTML = rHline[rPic];
	document.getElementById('iCpy').innerHTML = rCopy[rPic];
	} else {
	rPic = rPics.length-1;
	document.getElementById('gallery').src = "/images/gallery/"+rPics[rPic];
	document.getElementById('pTxt').innerHTML = rTxts[rPic];
	}
}