");
anawin.document.writeln(" Click on the piece you wish to move and then click on its destination square. ");
anawin.document.write("
");}
function initdia(){
if (dummy1 == 1) return;
window.status = "Init. diagrams...";
j=0;
for(i=0;i
");}
function st(id,t){
document.getElementById(id).firstChild.nodeValue=t;}
function st2(id,t){
var e=document.getElementById(id);
e.style.fontSize="8pt";
e.style.fontFamily="MS Sans Serif";
e.style.fontWeight="bold";
return st(id,t);}
function paintframe(ibrd){
if(!document.getElementById)return;
var i=0;
var l=ibrd*100;
if(!rotated[ibrd]){
i=9;
st2(l+140,"a");st2(l+141,"b");st2(l+142,"c");st2(l+143,"d");st2(l+144,"e");st2(l+145,"f");st2(l+146,"g");st2(l+147,"h");
st2(l+130,"a");st2(l+131,"b");st2(l+132,"c");st2(l+133,"d");st2(l+134,"e");st2(l+135,"f");st2(l+136,"g");st2(l+137,"h");
i=0;}
else{
st2(l+140,"h");st2(l+141,"g");st2(l+142,"f");st2(l+143,"e");st2(l+144,"d");st2(l+145,"c");st2(l+146,"b");st2(l+147,"a");
st2(l+130,"h");st2(l+131,"g");st2(l+132,"f");st2(l+133,"e");st2(l+134,"d");st2(l+135,"c");st2(l+136,"b");st2(l+137,"a");
i=9;}
for (j=0; j<8; j++){
st2(l+100+j,Math.abs(i-(8-j)));
st2(l+110+j,Math.abs(i-(8-j)));}}
var fa = "";
var fe = "";
var dc = "#D5D5D5";
function koord(idxbrd, iid) {
var k = "abcdefgh";
document.write("
");
for (i = 0; i < 8; i++) {
wfc(dc, (idxbrd * 100) + iid + i, fa + k.charAt(i) + fe); }
document.write("
"); }
var x="x";
var goback=-1;
var goahead=-2;
var idx=0;
var bidx=0;
var lastidx=new Array(0, 31, 54, 65, 94, 130, 156, 169, 183, 195, 208, 235, 249, 269, 281, 308, 335, 0);
var lastcolor="#000000";
var movebgcol="#FF0000";
var movecol="#00FFFF";
var bgcolor="#ECECEC";
var maxvar=10;
var engl=2;
var lang=new Array("¢","£","¦","¥","¤","");
var nbgames = 17;
var diagram=self;
var timer=null;
var dummy2=0;
var dummy3=0;
zg=new Array(
"b1q1kr2/4bp1p/2p1n1p1/1p2N3/4P1B1/1Q6/1B3PPP/3R2K1 1 x","w1 11 4 ","2813pAA","b1q1kr2/4bp1p/2p1n1p1/1p2N3/4P1B1/1Q6/1B3PPP/3R2K1 1 0","2811","0506","1121","1221NAA","4921bAA","0210","b1q1kr2/4bN1p/2p1n1p1/1p6/4P1B1/1Q6/1B3PPP/3R2K1 1 2","0413NAA","4145","b3 21 16 ","1304","b1q2r2/4bk1p/2p1n1p1/1p6/4P1B1/5Q2/1B3PPP/3R2K1 2 13","1306","4547","2030","4741","b1q1kr2/4b2p/2p1n1p1/1p6/4P1B1/5Q2/1B3PPP/3R2K1 3 14",
"4547","b4 30 25 ","2037","b1q1kr2/4b2p/2p1n1p1/1p6/4P1B1/7Q/1B3PPP/3R2K1 3 22","2030","3811","0413","4741","b1q1kr2/4b2p/2p3p1/1p6/4PnB1/7Q/1B3PPP/3R2K1 4 23","3811"
,
"4k2r/3n1pb1/2pQn1p1/3pPpPp/3P1P1N/1q1NBK1P/8/2R5 1 x","3922pAA","b2 43 36 ","2035PAA","4k2r/3n1pb1/2pQn1N1/3pPpPp/3P1P2/1q1NBK1P/8/2R5 1 33","1322NAA","1920nAA","0403","2018pAA","4143NAA","2820","4k2r/3n1pb1/2pQ2N1/3pPpPp/3n1P2/1q1NBK1P/8/2R5 2 34","4435nAA","4143NAA","3544","1322NAA","2820","1126","1918pAA","0412","1826nAA",
"1220PAA","2610"
,
"3r1rn1/1p1n2kp/pqpN1pp1/6Q1/4P3/1B1R4/PP3PPP/2R3K1 1 x","1929","1407","w2 0 60 ","3022pAA","3r1rnk/1p1n3p/pqp2pp1/5NQ1/4P3/1B1R4/PP3PPP/2R3K1 2 57","3022pAA","1522QAA","4347","0623","4723nAA"
,
"r4r1k/2q2ppp/1np1b3/p1b1pNB1/2B1P3/8/PPP1Q1PP/3R1R1K 19 x","2914pAA","b20 81 70 ","2034BAA","r4r1k/2q2pNp/1np1b3/p1b1p1B1/2B1P3/8/PPP1Q1PP/3R1R1K 19 67","0714NAA","3021","1406","5251","0502","5123","2605","2330","0514","3014bAA","r4r1k/2q2pNp/1np5/p1b1p1B1/2b1P3/8/PPP1Q1PP/3R1R1K 20 68","w20 0 84 ","3021","r4r1k/2q2pNp/1np5/p1b1p1B1/2b1P3/8/PPP1Q1PP/3R1R1K 20 68","3021","b21 93 88 ",
"2612","r4r1k/2q2pNp/1np2B2/p1b1p3/2b1P3/8/PPP1Q1PP/3R1R1K 20 85","3452QAA","1429","0706","2923","r4r1k/2q1bpNp/1np2B2/p3p3/2b1P3/8/PPP1Q1PP/3R1R1K 21 86","5245"
,
"r1q1r1k1/3npp2/bp1p1bp1/p2P4/P1PN2B1/2R1B3/1PQ3PP/5R1K 1 x","3820","b2 104 99 ","0614","r1q1r1k1/3npp2/bp1pBbp1/p2P4/P1PN4/2R1B3/1PQ3PP/5R1K 1 96","1320BAA","5022pAA","2114","3520pAA","r1q1r3/3nppk1/bp1pBbp1/p2P4/P1PN4/2R1B3/1PQ3PP/5R1K 2 97","4423","1423BAA","3529","b4 125 110 ","2229NAA","r1q1r3/3npp2/bp1pBbpk/p2P1N2/P1P5/2R5/1PQ3PP/5R1K 3 107","2315","4247","1506","2912pAA","0412NAA",
"5022pAA","0605","4707","2107RAA","6113pAA","0504","1305","0405RAA","2206","r1q1r3/3npp2/bp1pBb1k/p2P1p2/P1P5/2R5/1PQ3PP/5R1K 4 108","5051","2130","4247","2322","2029pAA"
,
"2rqr1k1/1p1npp1p/3p1npQ/pP1P2N1/2P5/7P/P4PP1/1BR1R1K1 27 x","5722pAA","b28 138 135 ","1522BAA","2rqr1k1/1p1npp1p/3p1nBQ/pP1P2N1/2P5/7P/P4PP1/2R1R1K1 27 132","1322BAA","3020","2rqr1k1/1p1npp2/3p1npQ/pP1P2N1/2P5/7P/P4PP1/2R1R1K1 28 133","6036","1105","3639","2131","5842","1220","w31 150 147 ","4245","2rqrnk1/1p3p2/3pp1pQ/pP1P2Nn/2P4R/2R4P/P4PP1/6K1 31 144","3931nAA","0321","2rqrnk1/1p3p2/3pp1pQ/pP1P2Nn/2P4R/5R1P/P4PP1/6K1 31 145","0210",
"3931nAA","2231RAA","3013pAA","1013NAA","4546"
,
"r3k3/1pqb1p2/p3p3/4n2r/3N1Q2/2P5/PP4B1/4RRK1 23 x","6028nAA","1028RAA","3713pAA","0403","3520pAA","b26 168 165 ","2820NAA","r2k4/1p1b1Q2/p3N3/4q2r/8/2P5/PP4B1/5RK1 25 162","1120NAA","6159","r2k4/1p1b1Q2/p3q3/7r/8/2P5/PP4B1/5RK1 26 163","1331rAA"
,
"r3k2r/pppqb1pp/5p2/n2p2B1/3P4/2PQ4/PP1N2PP/4RRK1 1 x","6121pAA","1421RAA","3021pAA","04020003","6012bAA","1119","4329","0201","1220","1905","2947","0513","2107rAA"
,
"1r3bk1/2p3pp/p2p1p2/2nP1N1Q/4rP2/8/q5PP/B2RR1K1 1 x","2923","1423NAA","3138","0613","6036rAA","0157","3831","1306","3660","4856BAA","5957rAA"
,
"4Q3/2krb3/p3p3/qp1bP1p1/2p5/P4BB1/1PP3PP/1K2R3 1 x","1240PAA","6044","4049PAA","5749bAA","2433","4958","b5 0 205 ","2745BAA","4Q3/2kr4/p3p3/1p1bP1p1/1qp5/4RBB1/2P3PP/2K5 4 202","2745BAA","5445bAA","3442"
,
"rq2k2r/1p1bppbp/3p2p1/pNnP4/4P3/4BP2/PP1Q2PP/2R1KB1R 16 x","5826nAA","1926RAA","2719","1219PAA","2519pAA","0405","1913pAA","1120","1330","2048PAA","4426pAA","0506","4933","b23 230 225 ","4841","rq4kr/1p4bp/6p1/p1B3N1/1P2P3/5P2/b2Q2PP/4KB1R 22 222","2433PAA","5148bAA","0048QAA","6134",
"rq4kr/1p4bp/6p1/p1B3N1/1P2P3/1b3P2/3Q2PP/4KB1R 23 223","5143","4113","3013bAA","0137","1330"
,
"4rbk1/3b2pp/3p4/1p1N1qP1/1P2NP2/3Q4/2P5/1K5R 1 x","3621","1421NAA","2721pAA","0613","6315pAA","0514","1514bAA","1314RAA","2104rAA","1405","4329qAA","1129QAA","0419pAA"
,
"rqr3k1/3nbp1p/p1b1p1p1/Pp1pP3/1n1B1PB1/1NN5/1PPQ2PP/4RR1K 20 x","3729","2229PAA","3829pAA","1105","5123","0522","2922nAA","1522BAA","6044","1205","2339","0514","4447","1804","3915","0605","1522pAA","1321","6121pAA"
,
"r1k4r/2pb1R2/p1np2q1/1p1N2B1/2BP1Q1P/6p1/PPP3P1/2K5 24 x","1311bAA","0211RAA","3738","1104","2710pAA","0405","3837","0514","1020","1415","3443"
,
"r4rk1/1b3p1p/pq2pQp1/n5N1/P7/2RBP3/5PPP/3R2K1 25 x","3015pAA","b26 293 286 ","0615NAA","r4rk1/1b3p1N/pq2pQp1/n7/P7/2RBP3/5PPP/3R2K1 25 283","0503","5539","0311","3931","1703","3123","r4r2/1b3p1k/pq2pQp1/n7/P7/2RBP3/5PPP/3R2K1 26 284","w26 0 296 ","4322pAA","r4r2/1b3p1k/pq2pQp1/n7/P7/2RBP3/5PPP/3R2K1 26 284","4322pAA","b27 305 300 ","1506","r4r2/1b3p1k/pq2pQB1/n7/P7/2R1P3/5PPP/3R2K1 26 297","1322BAA","5911",
"1523","2139","r4rk1/1b3p2/pq2pQB1/n7/P7/2R1P3/5PPP/3R2K1 27 298","2215","0615BAA","4436"
,
"r2q1rk1/p1pp1ppp/1p1n4/n4N2/2bPP3/2PB4/P5PP/R1BQ1RK1 14 x","2923","1423NAA","3628","3443BAA","5943bAA","1934","6121","0607","5823pAA","0312","5661","1127","6145","3428PAA","3528nAA","1228PAA","w22 0 328 ","2305rAA","r4r1k/p1p2p1p/1p3R1B/n2pq3/8/2PQ1R2/P5PP/6K1 22 325","2305rAA",
"0005BAA","2113pAA","0513RAA","4513rAA","2860","1361"
,
"rnb3kr/pp2qpbp/3pp1p1/1N6/2BNP3/4P3/PPP3PP/R2Q1RK1 13 x","2519pAA","1219NAA","3520pAA","1920NAA","5903","1405","6113pAA","0613RAA","0302bAA","2034BAA","0234qAA","1314","3435"
);
br=new Array(
new Array(
x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
),
new Array(
x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
),
new Array(
x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
),
new Array(
x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
),
new Array(
x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
),
new Array(
x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
),
new Array(
x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
),
new Array(
x,x,x,x,x,x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