");
anawin.document.writeln(" Нажмите на фигуру,которую вы хотите переместить, а затем нажмите на клетку - адресат. ");
anawin.document.write("
");}
function initdia(){
if (dummy1 == 1) return;
window.status = "Init. diagrams...";
j=0;
with(document){
for(i=0;i" + t + " ");}
function st(id,t){
document.getElementById(id).innerText=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){
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, 9, 24, 36, 0);
var lastcolor="#000000";
var movebgcol="#F8E1B8";
var movecol="#071E47";
var bgcolor="#FFFFFF";
var maxvar=0;
var engl=1;
var nbgames = 4;
var diagram=self;
var timer=null;
var dummy2=0;
var dummy3=0;
if ((navigator.appName=="Netscape")&&(navigator.appVersion.substring(0,1) == "3"))
{idnet1=1}else{idnet1=0};
zg=new Array(
"1k6/8/3K4/8/6B1/8/8/7Q 1 x","1kB5/8/3K4/8/8/8/8/7Q x3802 z","b2 8 5 ","2k5/8/3K4/8/8/8/8/7Q x0102 z","1kB5/8/3K4/8/8/8/8/7Q 1 2","2B5/k7/3K4/8/8/8/8/7Q x0108 z","2B5/kQ6/3K4/8/8/8/8/8 x6309 z","2k5/8/3K4/8/8/8/8/7Q 2 3","Q1k5/8/3K4/8/8/8/8/8 x6300 z"
,
"5B2/8/8/4k3/7K/8/B1Q5/8 1 x","5B2/8/8/4k3/7K/8/2Q5/1B6 x4857 z","b2 23 14 17 20 ","5B2/8/8/8/3k3K/8/2Q5/1B6 x2835 z","5B2/8/8/4k3/7K/8/2Q5/1B6 1 11","5B2/8/8/3k4/7K/8/2Q5/1B6 x2827 z","5B2/8/8/3k4/4Q2K/8/8/1B6 x5036 z","5B2/8/8/4k3/7K/8/2Q5/1B6 1 11","5B2/8/4k3/8/7K/8/2Q5/1B6 x2820 z","5B2/8/4k3/5Q2/7K/8/8/1B6 x5029 z","5B2/8/8/4k3/7K/8/2Q5/1B6 1 11","5B2/8/5k2/8/7K/8/2Q5/1B6 x2821 z","5B2/8/5k2/5Q2/7K/8/8/1B6 x5029 z","5B2/8/8/8/3k3K/8/2Q5/1B6 2 12","5B2/8/8/2Q5/3k3K/8/8/1B6 x5026 z"
,
"B7/8/8/1k6/7R/8/K7/4Q3 1 x","B7/8/8/1k6/R7/8/K7/4Q3 x3932 z","b2 35 29 32 ","B7/8/8/8/k7/8/K7/4Q3 x2532 z","B7/8/8/1k6/R7/8/K7/4Q3 1 26","B7/8/8/2k5/R7/8/K7/4Q3 x2526 z","B7/8/8/2k5/RQ6/8/K7/8 x6033 z","B7/8/8/1k6/R7/8/K7/4Q3 1 26","B7/8/1k6/8/R7/8/K7/4Q3 x2517 z","B7/8/1k6/Q7/R7/8/K7/8 x6024 z","B7/8/8/8/k7/8/K7/4Q3 2 27","8/8/2B5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,x,x,x,x,x,x,x,x,x,x,x,x,x
)
);
//-->
Шахматы
дают нам удовлетворение, в котором порой отказывает жизнь. (