" return res } function writeq () { if (test) { alert('writeq') } document.write(dowriteq()) return true } function dowriteq () { if (test) { alert('dowriteq') } var res = "" res += headerpq res += "
" res += "\n
" k=0 for (i=0;i<8;i++) { for (j=0;j<8;j++) { // writeoneimage( "image"+k, 32, 32, 0) res += "") { return true } if (bshowifblack && qq.charAt(64) == "<") { return true } return false } 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) thelen=aa.length if (test) { alert (aa + ": " + thelen) } for (i=0;i" + "Top" + "

" + thetitle // + "-- Choose here" + "

" ) if (test) { alert('writeform0: table ') } document.writeln ( "\n" ) document.writeln ( "" ) document.writeln ( "" ) document.writeln ( "
" ) writeq () document.writeln ( "
" + whoseturnval ) writeoneimage ( "image"+"64", 32, 32, 0) document.writeln ( "
" ) document.writeln ( "
" ) //document.writeln ( " " ) document.writeln ( "
" ) document.writeln ( "NEW: Print Flash Cards -- " ) writeonebutton ( '5/page', "doflash(5)" ) writeonebutton ( '4/page', "doflash(4)" ) document.writeln ( "
" ) writeonebutton( "stop", 'dostop()' ) writeonebutton( "FAQ", 'dofaq()' ) writeonebutton( helpbval, 'alert (helpline)' ) writeonebutton ( randombval, "dorandomize()" ) writeonebutton ( randomnotbval, "dorandomizenot()" ) document.writeln ( "
" ) writeonebutton ( rotateboardval, "dorotateboard()" ) writeonebutton ( showifwhitetomoveval, "showifwhite()" ) writeonebutton ( showifblacktomoveval, "showifblack()" ) writeonebutton ( showifanytomoveval, "showifany()" ) document.writeln ( "
" ) 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 ( "

" ) writelistofopenings2() document.write ( "

" ) // writelistofopenings1() document.write ( "

" ) // writelistofopenings() document.writeln ( "" ) radio_selection="" return true } var testingmoves = istestingmoves var randomizeit = mustrandomizeit //--- // alert (' writehead & -body ') writehead() writebody() // alert (' writecounter ' ) // writecounter(113749) // alert (' writeform0 ' ) writeform0() // test = true bb = initpos() // bb = "rn11k1nr;888888;RN11K1NR" setboard(forsythtoplain( bb )) // whitemovesfirst = 1 thename = "Startstillingen" thename = "" initwpieces("T","S","L","D","K") // test = true firstiq() // alert ( 'GENNEM firstiq' ) // eco_intro ( ) test = false // test = true secondiq() // alert ( 'GENNEM secondiq' ) test = false rememberquestions() if (false) { } else if (mustshowifwhite) { showifwhite() } else if (mustshowifblack) { showifblack() } else { showifany() } // alert (' kalder setmax(5) ' ) setmax(absmax) // alert (' writelinks' ) writelinks() //test=true if (test) { alert (qsval) } putq(qsval) reseta() didaskq = true doshow() function addqtoflashcard(ii) { return xaddqtoflashcard(ii) } function addatoflashcard(ii) { return xaddatoflashcard(ii) } //alert ('hej med dig igen, du der') // -->

Hosted by www.Geocities.ws

1