function checkImage(numID) {

	if (numFound < numTotal) {
		for (i = 0; i < arrImages.length; i++) {
			if (arrImages[i] == numID) {
				numFound++;
				arrImages.splice(i,1);

				eval("var i" + numID + "_on" + "= new Image()");
				eval("i" + numID.toString() + "_on.src = \"" + strFolder + "\/i" + numID + "-f.gif\"");
				document["i" + numID].src = eval("i" + numID + "_on.src");
				
				/*
				else alert("You found one! You've still got " + (numTotal - numFound) + " left!");
				*/
				
         		document.form1.number.value = numTotal - numFound;
         		         		
         		if (numFound == numTotal){
      	
					myTimer=setTimeout("whatToDo()",4000);
				
				}	
				break;

			}
		}
	}

}

function showStatus(msg) {
	window.status = msg;
	return true;	
}				
//	
function whatToDo() {
	location.href = "playagain.html";
}
	
