var WID=31, HEI=31, pxWID=15; var x = Math.floor(Math.random() * (WID - 1)); var y = Math.floor(Math.random() * HEI); if ((x + y) % 2 == 1) x++; var html = '