" return res } function writeq () { if (test) { alert('writeq') } document.write(headerpq) document.write("
") document.write("
") k=0 res="" for (i=0;i<8;i++) { for (j=0;j<8;j++) { writeoneimage( "image"+k, 32, 32, 0) k++ } document.write( "
" ) } document.write("
") return true } function dorotateboard () { if (bottomcolor == whitebottom) { bottomcolor = blackbottom } else { bottomcolor = whitebottom } putq(getone(qs,offset)) } function writea () { //if (test) { alert('writea') } document.write(headerpa) document.write("
") writeonetextarea( '', '', 6, 50 ) return true } function putq (bb) { // e.g. bb = "r1bqkbnr;pppp1ppp;2n5;1B2p4;4P3;5N2;PPPP1PPP;RNBQKB1R;>" aa=forsythtoplain(bb) // alert (bb+'\n'+aa) // e.g. aa = "rxbqkbnr;ppppxppp;xxnxxxxx;xBxxpxxxx;" // +"xxxxPxxx;xxxxxNxx;PPPPxPPP;RNBQKBxR;>" aa = new String (aa) thelen=aa.length if (test) { alert (aa + ": " + thelen) } for (i=0;i" ) document.writeln ( "

"+thetitle+"

" ) // if (test) { alert('writeform0: whichway ') } // writewhichwayradio(wwqval,"whichway=wwqfirst") // writewhichwayradio(wwxval,"whichway=wwxfirst") // writewhichwayradio(wwaval,"whichway=wwafirst") // document.form0.whichwayradio[0].checked = true document.write('
') if (test) { alert('writeform0: help ') } if (test) { alert('helpline: ' + helpline) } if (test) { alert('writeform0: help ') } if (test) { alert('writeform0: table ') } document.writeln ( "" ) document.writeln ( "" ) document.writeln ( "" ) document.writeln ( "
" ) writeq () document.writeln ( "
" + whoseturnval ) writeoneimage ( "image"+"64", 32, 32, 0) writeonebutton ( rotateboardval, "dorotateboard()" ) document.writeln ( "
" ) writeonebutton( helpbval, 'alert (helpline)' ) // control buttons (which regulate number of questions considered) // writeonebutton ( veryeasybval, veryeasybonclick ) // writeonebutton ( easybval, easybonclick ) // writeonebutton ( hardbval, hardbonclick ) // writeonebutton ( hardbval1, hardbonclick1 ) // writeonebutton ( megahardbval, megahardbonclick ) document.writeln ( "

" ) writea () document.writeln ( "

" ) writeonebutton ( showbval, "doshow()" ) document.writeln ( "
" ) writeoneradio ( knewbval, "radio_selection=didknowval" ) writeoneradio ( knewnotbval, "radio_selection=didknownotval" ) document.writeln ( "
" ) writeonebutton ( nextbval, "donext()" ) writeonebutton ( stopbval, "dostop()" ) document.writeln ( "

" ) document.writeln ( "

" ) document.writeln ( "" ) radio_selection="" if (test) { alert(' writeform-end ') } return true } // alert (' writehead & -body ') writehead() writebody() // alert (' writecounter ' ) // writecounter(113749) // alert (' writeform0 ' ) writeform0() if (test) { alert(' setup_0 ') } setup_e4() setup_d4() if (test) { alert(' doiq_0 ') } doiq_1() doiq_11() doiq_21() doiq_e4() doiq_d4() if (test) { alert(' setmax ') } setmax(absmax) // alert (' writelinks' ) writelinks() //test=true if (test) { alert (qsval) } putq(qsval) reseta() if (test) { alert ('hej med dig igen, du der') } // -->

Opdateret d. 27.4.2000

Hosted by www.Geocities.ws

1