When you click the link you are getting that message? I am not sure, what do you recommend?
Does anything stand out? This is my latest code:
window.onload = initAll;
var usedNums = new Array(76);
function initAll() {
if (document.getElementById) {
document.getElementById(“reload”). onclick = anotherCard;
newCard();
}
}
function newCard() {
for (var i=0; i<24; i++) {
setSquare(i);
}
}
function setSquare(thisSquare) {
var currSquare = document.getElementById(“square” + thisSquare);
var colPlace = new Array(0,1,2,3,4,0,1,2,3,4,0,1,3,4,0,1,2,3,4,0,1,2,3,4);
var colBasis = colPlace[thisSquare] * 15;
var newNum;
var image;
do {
newNum = colBasis + getNewNum() + 1;
} while (usedNums[newNum]);
usedNums[newNum] = true;
image = new Image();
image.src = 'http://consultantwithvision.com/radar/br1.jpg';
empty(currSquare);
currSquare.appendChild(image);
}
function getNewNum() {
return Math.floor(Math.random() * 15);
}
function anotherCard() {
for (var i=1; i<usedNums.length; i++) {
usedNums[1] = false;
}
}