");
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, 33, 83, 100, 121, 165, 218, 269, 285, 291, 321, 334, 346, 356, 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 = 14;
var diagram=self;
var timer=null;
var dummy2=0;
var dummy3=0;
zg=new Array(
"r2q1rk1/6bp/1np1p1p1/p4p1P/P2PP1n1/2PQ4/3BN3/R1N1K2R 1 x","3122pAA","b2 16 5 ","3853","r2q1rk1/6bp/1np1p1P1/p4p2/P2PP1n1/2PQ4/3BN3/R1N1K2R 1 2","1522PAA","5237","0321","3628","2113","4347","3823","3720pAA","1320NAA","5123nAA","r2q1rk1/6bp/1np1p1P1/p4p2/P2PP3/2PQ4/3BNn2/R1N1K2R 2 3","2215pAA","0607","w3 24 21 ","4345","r2q1r1k/6bP/1np1p3/p4p2/P2PP3/2PQ4/3BNn2/R1N1K2R 3 18",
"6053nAA","2936PAA","r2q1r1k/6bP/1np1p3/p4p2/P2PP3/2P2Q2/3BNn2/R1N1K2R 3 19","2936PAA","5237","0537NAA","4537rAA","5363RAA","3755","1727","5563nAA","3644"
,
"2rr2k1/p2b1pbp/1pn3p1/3Pp2q/8/B3P1PP/PQ1N1PB1/1R1R2K1 20 x","2836","w21 45 38 ","5136pAA","2rr2k1/p2b1pbp/1pn3p1/3P3q/4p3/B3P1PP/PQ1N1PB1/1R1R2K1 21 35","4950","1835","5036pAA","3552","6255","5242","2rr2k1/p2b1pbp/1pn3p1/3P3q/4N3/B3P1PP/PQ3PB1/1R1R2K1 21 36","b22 59 48 ","1828","2rr2k1/p2b1pbp/1pn3p1/3P3q/4N3/B3P1PP/PQ3PB1/1R1R2K1 21 36","1449QAA","4049bAA","0605","3621","3123","2718nAA",
"1118PAA","5903rAA","0203RAA","5418bAA","2rr2k1/p2b1pbp/1p4p1/3Pn2q/4N3/B3P1PP/PQ3PB1/1R1R2K1 22 46","4638","b23 76 63 ","1138PAA","2rr2k1/p2b1pbp/1p4p1/3Pn2q/4N1P1/B3P2P/PQ3PB1/1R1R2K1 22 60","2845","5445nAA","1449QAA","4049bAA","3147PAA","4554","4723","3621","0605","3830","2339","5935",
"2rr2k1/p4pbp/1p4p1/3Pn2q/4N1b1/B3P2P/PQ3PB1/1R1R2K1 23 61","4738bAA","3138PAA","6261","1329","3651","3839","4925"
,
"1qr3k1/1r1nppbp/b2p1np1/3P4/1Pp2N2/N1B3P1/P3PPBP/R2QR1K1 16 x","0933PAA","4233rAA","0133BAA","4050","3326","5657","2230","5033","1609","3720","1320NAA","2720pAA","0954BAA","2011nAA","2111PAA","6254bAA"
,
"r1b1kb1r/1p1n1p1p/1qpQ1np1/p3p1B1/P1B1P3/2N2N2/1PP2PPP/1K1R3R 1 x","3413pAA","0413BAA","4528pAA","1314","1920","0706","2013","1407","3021nAA","1121BAA","1321nAA","b7 120 115 ","0514","r1b2brk/1p5p/1qp2Qp1/p3N3/P3P3/2N5/1PP2PPP/1K1R3R 6 112","0614","2105bAA","1406","2813","r1b3rk/1p4bp/1qp2Qp1/p3N3/P3P3/2N5/1PP2PPP/1K1R3R 7 113","2813"
,
"r6k/3q2bp/1pn1b1p1/pNPpP3/P5P1/1P2B2P/6B1/2R1Q1K1 1 x","1828PAA","4435","2843","3514bAA","b4 132 129 ","1114BAA","r6k/3q2Bp/1p2b1p1/pNPp4/P5P1/1P1n3P/6B1/2R1Q1K1 3 126","0714BAA","6042","r6k/6qp/1p2b1p1/pNPp4/P5P1/1P1n3P/6B1/2R1Q1K1 4 127","6020bAA","4358RAA","2618","1456","6255","0005","1810","0714","w8 148 143 ","2012",
"5r2/2P3kp/1p2Q1p1/pN1p4/P5P1/1P5P/6BK/q1n5 8 140","1002Q","0502QAA","2002rAA","5628","5r2/2P1Q1kp/1p4p1/pN1p4/P5P1/1P5P/6BK/q1n5 8 141","0513","1204","5852","w10 157 154 ","0452nAA","4Q3/2P2rkp/1p4p1/pN1p4/P5P1/1P5P/4n1BK/q7 10 151","1002Q","5662","8/2P2rkp/1p4p1/pN1p4/P5P1/1P5P/4Q1BK/q7 10 152","5658","5228","1423","3830","2331","2846",
"1337","1002Q"
,
"1rbqr3/pp1npp1k/2p4p/2N3pP/8/3PP1P1/PP1Q1PB1/2R2RK1 22 x","5337","1126NAA","3730pAA","2620","6113pAA","1506","3023pAA","0613RAA","5153","1306","5329","0405","2922","0607","5436","0513","2213rAA","0306","1312pAA","0646PAA",
"6261","4647","6153","4755","5360","5562","6052","6255","5261","5547","6153","4755","3654","b39 211 202 ","0211","1rb4k/pp2Q3/2p1n2P/7P/8/3PP3/PP3KBq/2R5 38 199","5531PAA","1221","0706","5862","3113",
"2315","1315PAA","5436","1r5k/pp1bQ3/2p1n2P/7P/8/3PP3/PP3KBq/2R5 39 200","1221","0715","2129","1506","5863","5510","2922"
,
"r1qr2k1/pb2b1p1/1pn1p2p/5p1Q/2P2B2/P1RB2N1/1P3PPP/4R1K1 21 x","1221","w22 229 223 ","4629pAA","r1qr2k1/pb4p1/1pn1pb1p/5p1Q/2P2B2/P1RB2N1/1P3PPP/4R1K1 22 220","4241","1824","4350","2441RAA","5041nAA","r1qr2k1/pb4p1/1pn1pb1p/5N1Q/2P2B2/P1RB4/1P3PPP/4R1K1 22 221","b23 239 232 ","2142RAA","r1qr2k1/pb4p1/1pn1pb1p/5N1Q/2P2B2/P1RB4/1P3PPP/4R1K1 22 221","2029NAA","4329pAA","2142RAA","2902qAA","0002BAA","4942bAA","r1qr2k1/pb4p1/1pn1p2p/5N1Q/2P2B2/P1bB4/1P3PPP/4R1K1 23 230",
"2923pAA","1423NAA","3122","4214","3723pAA","0311","2215","0605","6020pAA","b28 258 251 ","1112","r1q2k2/pb1r2bQ/1pn1R2B/8/2P5/P2B4/1P3PPP/6K1 27 248","1423BAA","2021","0504","1506","0412","2120","r1q2k2/pb2r1bQ/1pn1R2B/8/2P5/P2B4/1P3PPP/6K1 28 249","2021","0504",
"w29 0 263 ","1506","r1q1k3/pb2r1bQ/1pn2R1B/8/2P5/P2B4/1P3PPP/6K1 29 260","1506","0411","w30 0 268 ","4329","r1q3Q1/pb1kr1b1/1pn2R1B/8/2P5/P2B4/1P3PPP/6K1 30 265","0627"
,
"6rk/pp2pp1p/3q2rb/3P1b2/3P1P2/1P3Q1P/PB1N1R1K/2R5 1 x","2337PAA","4537bAA","b3 0 275 ","2246","6rk/pp2pp1p/3q2r1/3P1b2/3P1Q2/1P5P/PB1N1R1K/2R5 2 272","2246","w3 284 279 ","3719qAA","6rk/pp2pp1p/3q4/3P1b2/3P1Q2/1P4rP/PB1N1R1K/2R5 3 276","3729bAA","4654","5563","1955","6rk/pp2pp1p/3Q4/3P1b2/3P4/1P4rP/PB1N1R1K/2R5 3 277","4647PAA"
,
"1k3r2/7p/1pP5/pP6/P7/6qP/3Q2p1/3R2K1 1 x","0561","5961rAA","4655","6255qAA","5461n"
,
"1r3rk1/1n1bq1p1/Q2p3p/1p1P1p2/1PP2p2/8/P2NB1PP/4RR1K 24 x","1244","5145","0100","1609nAA","0008","5243","0809QAA","6044qAA","2534PAA","4412","3443BAA","4560","0513","1213rAA","0613RAA","6043pAA","1125","6159","2543NAA","5943bAA",
"0933PAA","4359","3332","5951","1430","5539","1321","6362","2128"
,
"3r1Bk1/pp3p1p/2bp2p1/q7/4P3/1BPQ2nP/P1P3P1/3R1RK1 1 x","2426","4335","4652","6255","5235QAA","4235nAA","2617","0512","1927","1203rAA","1703BAA","3628"
,
"4rr2/1b3p1k/2R2Pp1/pp2q2p/4PR2/PB5P/1P1Q2P1/7K 1 x","3729","2836PAA","2931pAA","2231RAA","4150","0918RAA","5130","3622","3031pAA","1506","5022qAA"
,
"br1q1rk1/p3p1bp/6p1/1p1n2B1/2pPB3/P1P4P/2Q2PP1/1R1R1NK1 21 x","2742PAA","3622pAA","0327","2215pAA","0607","5337","4257RAA","5957nAA","2735PAA"
,
"r1b1kb1r/1p3ppp/2n2n2/3p4/pq2p3/1NNPB1P1/PP2PPBP/R2Q1RK1 12 x","4336pAA","3241NAA","4840","3324","3627pAA","1828","5941pAA","0512","4417","2416","1735","2811","4225"
);
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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