if (document.images) {

	imgNextLevelOn = new Image();
	imgNextLevelOn.src = "images/game/btnnextlevelon.gif";
	imgNextLevelOff = new Image();
	imgNextLevelOff.src = "images/game/blankbtn.gif";
	
	imgCorrect = new Image();
	imgCorrect.src = "images/game/imgCorrect.gif";
	imgWrong = new Image();
	imgWrong.src = "images/game/imgWrong.gif";
	imgBlank = new Image();
	imgBlank.src = "images/game/imgBlank.gif";

	}



// Globals
var isLoaded = false;
var blnFound1 = false;
var NextLevelImage;

// Functions

function turnOn() {
	blnFound1 = true;
	document.imgNextLevel.src = imgNextLevelOn.src;
	document.result.src = imgCorrect.src;

}
function turnOff() {
	blnFound1 = false;
	document.result.src = imgWrong.src;
	document.imgNextLevel.src = imgNextLevelOff.src;

}
function setBlank() {
    if ( blnFound1 ){
	document.result.src = imgCorrect.src;
	}
	else {
	document.result.src = imgBlank.src;
	}
	
}
function setLoaded( )
{
	isLoaded = true;
}


initializeRollovers( );
//
