<!--

function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
				junk1 = newImage("images/educational_toys.gif");
				photoLrg_chemistryBtn_over = newImage("images/chemistry_kit.gif");
				photoLrg_mechanicalBtn_over = newImage("images/mechanical_toys.jpg");
				photoLrg_solarBtn_over = newImage("images/fuel-cell.jpg");
				photoLrg_electronicsBtn_over = newImage("images/electronic-toys.jpg");
				photoLrg_gamesBtn_over = newImage("images/educational_games.gif");
				photoLrg_craftsBtn_over = newImage("images/crafts.gif");
				photoLrg_scienceBtn_over = newImage("images/science_toys.gif");
				chemistryBtn_over = newImage("images/chemistry-kits-button-on.gif");
				mechanicalBtn_over = newImage("images/mechanical-toys-button-on.gif");
				solarBtn_over = newImage("images/fuel-cell-kits-button-on.gif");
				electronicsBtn_over = newImage("images/electronics-toys-button-on.gif");
				craftsBtn_over = newImage("images/crafts-button-on.gif");
				scienceBtn_over = newImage("images/science-toys-button-on.gif");
				gamesBtn_over = newImage("images/educational-games-button-on.gif");
		preloadFlag = true;
	}
}

// -->
