top.f1.document.writeln(buf); top.f1.document.close(); buf=''; } function resetGame() { if (autoplayOn) {autoplayOn=0;clearTimeout(timerAP);clearTimeout(timerDR);} drawPos=0; myTurn=0; autoplayOn=0; gameOver=0; for (i=0;i<20;i++) { for (j=0;j<20;j++) { f[i][j]=0; } } if (!top.f1.document) return; if (document.images) { if (!top.f1.document.s9_9) return; for (i=0;i