");
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";
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, 0);
var lastcolor="#000000";
var movebgcol="#F8E1B8";
var movecol="#071E47";
var bgcolor="#ECECEC";
var maxvar=0;
var engl=1;
var nbgames = 1;
var diagram=self;
var timer=null;
var dummy2=0;
var dummy3=0;
zg=new Array(
"6k1/1R2pp1p/6p1/B1bB4/P1P2nP1/r7/7P/4K3 1 x"
);
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
)
);
//-->
X - Eric
NIII à St Thomas, 04/06/2008
Au lieu de simplifier par Cxd5, les noirs ont joué : Fe3 puis, sur Rd1, il y eut Ta1+,
Rc2 Tc1+, Rb2 Cd3+, Ra2 et les noirs n'ont plus grand-chose à faire valoir