if (document.images) {
	
	continueButtonOn = new Image();
	continueButtonOn.src = "./images/buttons/continue-a.png";
	continueButtonOff = new Image();
	continueButtonOff.src = "./images/buttons/continue-na.png";
	
}

function overcontinue(over, num) {	
	showImageWithNum("continueButton", num, over);
}

function showCommonImage(name, image, over) {
	if(over) {
		document.getElementById(name).src = eval(image + "On.src");
	} else {
		document.getElementById(name).src = eval(image + "Off.src");
	}
}

function showImageWithNum(name, num, over) {
	var newName = name + num;
	showCommonImage(newName, name, over);
}