function randomizeImages() {
        var imgCount = 28;
        var randomNum = -1;
        var imgArray = new Array(imgCount);
	var towrite = '';
        if (document.images) {
            for (i=0; i<imgCount; i++) {
                imgArray[i] = 0;
            }
            for (j=0; j<10; j++) {
                do {
                    randomNum = Math.floor((Math.random() * imgCount));
                }
                while (imgArray[randomNum] != 0);
                imgArray[randomNum] = 1;
                towrite += '<img src=\'game'+ randomNum +'.jpg\' alt=\'\' />'
            }
        }
	return towrite;
}

