"
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 += " " } res += " |
| " )
writeq ()
document.writeln ( " " + whoseturnval ) writeoneimage ( "image"+"64", 32, 32, 0) document.writeln ( " | " )
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 ( " " ) document.writeln ( " |
" ) 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') // -->