
var m0 = new Array(1)

m0[0] = new Array(51,35,6,21,58,30,21,36,30,37,10,26,53,45,3,24,50,42,36,21,57,51,26,35,51,41,24,17,59,35,1,18,35,17,8,17,41,35,12,28,35,18,28,37,18,35,11,27,54,46,5,19,35,25,19,28,46,37,28,37,52,44,37,28,61,47,2,20,47,20,13,20,45,37,28,1,62,45,4,11,63,62,14,22,48,40,7,4,60,58,120,59,20,28,37,28,1,28,58,57,28,19,25,19,11,19,42,34,4,44,45,30,0,5,34,27,44,28,62,46,28,27,59,61,15,23,30,47,22,30,46,45,19,20,47,53,23,31,61,60,27,28,60,59,21,11,45,43,5,53,43,19,20,29,19,11,28,52,11,9,52,49,57,56,49,48,56,57,53,49,57,58,49,55,9,17,48,56,17,57,56,57,58,57,30,38,59,62,55,52,40,32,52,36,62,63,29,30,57,50,36,32,50,51,32,36);
m0[0].base = new Array(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,0);
m0[0].root =0;
m0[0].move =0;
var n0 = new Array();
var b0 = -1;
var pieces = "KQNBR ";
function g0(a,b)
{	gm(m0,n0,0,b0,'round2g0.htm',a,b);}
function MB50()
{b0=MB5(m0,n0,0,b0,'round2g0.htm'); GMS(m0,n0,0,b0,'round2g0.htm');}
function MB0()
{b0=MB(m0,n0,0,b0,'round2g0.htm'); GMS(m0,n0,0,b0,'round2g0.htm');}
function MF50()
{b0=MF5(m0,n0,0,b0,'round2g0.htm'); GMS(m0,n0,0,b0,'round2g0.htm');}
function MF0()
{b0=MF(m0,n0,0,b0,'round2g0.htm',true); iround20.value=GMS(m0,n0,0,b0,'round2g0.htm');}

var m1 = new Array(1)

m1[0] = new Array(52,36,10,26,62,45,12,20,51,35,26,35,45,35,5,26,57,42,3,17,42,32,17,24,50,42,26,35,59,35,6,21,32,26,1,18,35,19,9,17,49,33,18,33,26,41,33,50,60,59,21,36,19,37,24,42,37,36,50,56,41,56,42,56,36,0,56,35,59,60,35,33,58,51,33,57,60,52,4,6,71,5,0,8,57,36,52,59,2,9,8,17,9,18,61,52,36,28,17,33,5,1,33,40,28,35,52,43,18,54,63,60,54,36,59,50,1,2,50,57,2,1,57,58,1,2,58,57,36,27,51,44,35,28,53,37,28,1,57,56,1,10,60,58,10,3,58,2,3,2,40,58,2,0,58,50,15,23,44,35,13,21,35,44,20,28,37,28,21,28,43,15,6,7,15,29,11,19,50,2,0,2,29,2,27,18,44,17,14,30,17,10,7,14,10,19,14,21,56,49,23,31,49,42,30,38,19,10,21,30,10,28,30,39,42,35,39,47,35,44,31,39,44,53);
m1[0].base = new Array(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,0);
m1[0].root =0;
m1[0].move =0;
var n1 = new Array();
var b1 = -1;
var pieces = "KQNBR ";
function g1(a,b)
{	gm(m1,n1,1,b1,'round2g1.htm',a,b);}
function MB51()
{b1=MB5(m1,n1,1,b1,'round2g1.htm'); GMS(m1,n1,1,b1,'round2g1.htm');}
function MB1()
{b1=MB(m1,n1,1,b1,'round2g1.htm'); GMS(m1,n1,1,b1,'round2g1.htm');}
function MF51()
{b1=MF5(m1,n1,1,b1,'round2g1.htm'); GMS(m1,n1,1,b1,'round2g1.htm');}
function MF1()
{b1=MF(m1,n1,1,b1,'round2g1.htm',true); iround21.value=GMS(m1,n1,1,b1,'round2g1.htm');}

var m2 = new Array(1)

m2[0] = new Array(51,35,12,20,50,34,5,33,57,42,1,18,62,45,11,19,58,51,6,21,35,27,33,42,51,42,18,1,27,20,2,20,52,44,1,11,59,50,3,12,45,35,8,24,61,52,11,26,49,41,4,6,71,5,35,20,13,20,53,45,20,28,60,62,127,61,6,7,48,40,19,27,41,33,27,35,44,35,28,35,42,35,26,20,35,53,24,33,40,33,20,37,56,0,5,0,52,43,37,43,50,43,12,33,61,57,33,40,43,29,40,42,55,39,42,34);
m2[0].base = new Array(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,25,26,27,28,29,30,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,0);
m2[0].root =0;
m2[0].move =0;
var n2 = new Array();
var b2 = -1;
var pieces = "KQNBR ";
function g2(a,b)
{	gm(m2,n2,2,b2,'round2g2.htm',a,b);}
function MB52()
{b2=MB5(m2,n2,2,b2,'round2g2.htm'); GMS(m2,n2,2,b2,'round2g2.htm');}
function MB2()
{b2=MB(m2,n2,2,b2,'round2g2.htm'); GMS(m2,n2,2,b2,'round2g2.htm');}
function MF52()
{b2=MF5(m2,n2,2,b2,'round2g2.htm'); GMS(m2,n2,2,b2,'round2g2.htm');}
function MF2()
{b2=MF(m2,n2,2,b2,'round2g2.htm',true); iround22.value=GMS(m2,n2,2,b2,'round2g2.htm');}

var m3 = new Array(1)

m3[0] = new Array(51,35,12,20,52,36,11,27,36,28,10,26,50,42,1,18,62,45,2,11,61,52,6,12,60,62,127,61,26,35,42,35,12,2,57,42,5,12,52,43,8,16,61,60,2,17,45,51,3,10,51,41,18,33,43,57,17,34,59,45,33,18,45,46,4,5,55,39,15,23,42,52,10,3,52,37,12,39,46,45,5,6,37,31,39,12,45,38,14,30,53,37,3,17,37,30,18,28,38,46,28,22,30,23,6,15,58,30,17,3,46,53,13,29,30,12,3,12,57,29,0,5,29,22,15,22,31,37,22,23,41,26,20,28,35,28,12,30,54,46,30,38,28,20,11,2,20,12,5,6,62,54,34,19,26,20);
m3[0].base = new Array(0,1,2,3,4,5,6,7,8,9,10,11,12,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,0);
m3[0].root =0;
m3[0].move =0;
var n3 = new Array();
var b3 = -1;
var pieces = "KQNBR ";
function g3(a,b)
{	gm(m3,n3,3,b3,'round2g3.htm',a,b);}
function MB53()
{b3=MB5(m3,n3,3,b3,'round2g3.htm'); GMS(m3,n3,3,b3,'round2g3.htm');}
function MB3()
{b3=MB(m3,n3,3,b3,'round2g3.htm'); GMS(m3,n3,3,b3,'round2g3.htm');}
function MF53()
{b3=MF5(m3,n3,3,b3,'round2g3.htm'); GMS(m3,n3,3,b3,'round2g3.htm');}
function MF3()
{b3=MF(m3,n3,3,b3,'round2g3.htm',true); iround23.value=GMS(m3,n3,3,b3,'round2g3.htm');}

var m4 = new Array(1)

m4[0] = new Array(52,36,10,26,62,45,1,18,57,42,12,20,61,25,18,35,60,62,127,61,6,12,45,35,26,35,42,52,8,16,25,32,12,18,51,43,14,22,32,18,11,18,58,51,5,14,50,42,35,42,51,42,20,28,53,37,3,12,37,28,14,28,43,35,28,14,59,51,12,36,56,60,4,6,71,5,52,37,36,29,35,27,14,42,51,42,29,30,27,18,9,18,42,18,2,29,37,27,0,2,18,19,2,50,27,21,6,14,19,5,14,5);
m4[0].base = new Array(0,1,2,3,4,5,6,7,8,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,0);
m4[0].root =0;
m4[0].move =0;
var n4 = new Array();
var b4 = -1;
var pieces = "KQNBR ";
function g4(a,b)
{	gm(m4,n4,4,b4,'round2g4.htm',a,b);}
function MB54()
{b4=MB5(m4,n4,4,b4,'round2g4.htm'); GMS(m4,n4,4,b4,'round2g4.htm');}
function MB4()
{b4=MB(m4,n4,4,b4,'round2g4.htm'); GMS(m4,n4,4,b4,'round2g4.htm');}
function MF54()
{b4=MF5(m4,n4,4,b4,'round2g4.htm'); GMS(m4,n4,4,b4,'round2g4.htm');}
function MF4()
{b4=MF(m4,n4,4,b4,'round2g4.htm',true); iround24.value=GMS(m4,n4,4,b4,'round2g4.htm');}
var nMoves = new Array(0,0,0,0,0);
var nLevels = new Array(0,0,0,0,0);
var nNameCount = new Array(0,0,0,0,0);
var nOld = new Array(-1,-1,-1,-1,-1);
baseName = 'round2';
var EmptyWhitePath = "gif/w.gif";
var EmptyBlackPath = "gif/b.gif";
// Copyright 98,99 by ChessBase GmbH, Germany
function Init( path )
{ gifs = new Array(6);
	for ( var i=0; i< 26; i++)
		gifs[i]= new Image();
	gifs[0].src = path + "b.gif";
	gifs[1].src = path + "bbb.gif";
	gifs[2].src = path + "bbw.gif";
	gifs[3].src = path + "bkb.gif";
	gifs[4].src = path + "bkw.gif";
	gifs[5].src = path + "bqb.gif";
	gifs[6].src = path + "bqw.gif";
	gifs[7].src = path + "brb.gif";
	gifs[8].src = path + "brw.gif";
	gifs[9].src = path + "bnb.gif";
	gifs[10].src = path + "bnw.gif";
	gifs[11].src = path + "wbb.gif";
	gifs[12].src = path + "wbw.gif";
	gifs[13].src = path + "wrb.gif";
	gifs[14].src = path + "wrw.gif";
	gifs[15].src = path + "wqb.gif";
	gifs[16].src = path + "wqw.gif";
	gifs[17].src = path + "wkb.gif";
	gifs[18].src = path + "wkw.gif";
	gifs[19].src = path + "wnb.gif";
	gifs[20].src = path + "wnw.gif";
	gifs[21].src = path + "wpb.gif";
	gifs[22].src = path + "wpw.gif";
	gifs[23].src = path + "bpb.gif";
	gifs[24].src = path + "wpb.gif";
	gifs[25].src = path + "b.gif";
}
function SyncPicture( base, basename )
{	if ( base > -1 ) return base;
	for ( i=0; i < document.images.length; i++ )
	{	if ( document.images[i].name != "" )
			if ( document.images[i].name == basename )
				return i;
			else if ( document.images[i].name.substring(0,3) == basename.substring(0,3) )
				i+= 63;
	}
	return -1;
}
function MF5( moves, names, nm, base, basename )
{	base = SyncPicture( base, basename );
	for ( i=0; nMoves[nm] < moves[nLevels[nm]].length / 2 && i < 10; i++ )
		MF( moves, names, nm, base, false );
	return base;
}
function MB5( moves, names, nm, base, basename )
{	base = SyncPicture( base, basename );
	for ( i=0; ( nMoves[nm] > 0 || nLevels[nm] > 0 ) && i < 10; i++ )
		MB( moves, names, nm, base );
	return base;
}
function GoStart( moves, names, nm, base, basename )
{	base = SyncPicture( base, basename );
	while ( nMoves[nm] > 0 || nLevels[nm] > 0 )
		MB( moves, names, nm, base );
	return base;
}
function GoEnd( moves, names, nm, base, basename )
{	base = SyncPicture( base, basename );
	while ( nMoves[nm] < moves[nLevels[nm]].length / 2 )
		MF( moves, names, nm, base, false );
	return base;
}
function MF( moves, names, nm, base, basename, bCheckV )
{	base = SyncPicture( base, basename );
	if ( bCheckV )
	{	var b = false;
		for ( i=0; i < moves.length; i++ )
			if ( i != nLevels[nm] && moves[i].root == nLevels[nm] && moves[i].move == nMoves[nm] )
				b = true;
		if ( b )
		{	var vf = window.open('', 'Frank', 'status=no,scrollbars=no,menubar=no,toolbar=no,width=240,height=160')
			with ( vf.document )
			{	open();
				write('<HTML><HEAD><TITLE>Varianten</TITLE></HEAD><BODY><DIV ID="disp"></DIV><LAYER id="NS"></LAYER></BODY></HTML>')
				close()
			}
			vf.erzeuger = self;
			var ihtml="<a href=\"javascript:erzeuger.MF(erzeuger.m" + nm +
						 ",erzeuger.n" + nm + "," + nm + ",erzeuger.b" + nm + ",'" + basename + "',false);";
			ihtml = ihtml + "erzeuger.GMS(erzeuger.m" + nm +
						",erzeuger.n" + nm + "," + nm + ",erzeuger.b" + nm + ",'" + basename + "');";
			ihtml = ihtml + "self.close()\">";
			ihtml = ihtml + "Hauptvariante - Main line" + "<\a>";
			ihtml = ihtml + "<BR>";
			var nCurrentLevel=nLevels[nm];
			var nMoveNum=nMoves[nm];
			for ( j=0; j < moves.length; j++ )
			{	if ( j != nCurrentLevel && moves[j].root == nCurrentLevel && moves[j].move == nMoveNum )
				{	gm( moves,names,nm,base,basename,1,j);
					var moveStr = GMS2( moves, names, nm, base, 1, j, basename );
					ihtml = ihtml + "<a href=\"javascript:erzeuger.gm(erzeuger.m" + nm +
						",erzeuger.n" + nm + "," + nm + ",erzeuger.b" + nm + ",'" + basename + "',";
					ihtml = ihtml + "1," + j + ");self.close()\">";
					ihtml = ihtml + moveStr + "<\a>";
					ihtml = ihtml + "<BR>";
					gm( moves,names,nm,base,basename,nMoveNum,nCurrentLevel);
				}
			}
			if ( document.all )
				vf.document.all.disp.innerHTML=ihtml
			else if ( document.layers )
			{	vf.document.layers[0].document.clear();
				vf.document.layers[0].document.write(ihtml);
				vf.document.layers[0].document.close();
			}
			return base;
		}
	}
	if ( nMoves[nm] < moves[nLevels[nm]].length / 2 )
	{	var n = nMoves[nm]*2;
		var from = moves[nLevels[nm]][ n ] & 0x3f;
		var to = moves[nLevels[nm]][ n+1 ] & 0x3f;
		names[ nNameCount[nm]   ] = document.images[ base + from ].src;
		names[ nNameCount[nm]+1 ] = document.images[ base + to ].src;
		var len = names[nNameCount[nm]].length;
		var nn = (Math.floor(( to / 8 )) + ( to % 8 ));
		var dest = ( nn % 2 ) == 1 ? "b" : "w";
		var piece = names[nNameCount[nm]].substring(len-6,len-5);
		if (( moves[nLevels[nm]][ n ] & 0x380 ) == 0x80 )
			piece = "q";
		else if (( moves[nLevels[nm]][ n ] & 0x380 ) == 0x100 )
			piece = "n";
		else if (( moves[nLevels[nm]][ n ] & 0x380 ) == 0x180 )
			piece = "b";
		else if (( moves[nLevels[nm]][ n ] & 0x380 ) == 0x200 )
			piece = "r";
		document.images[ base + to ].src = names[nNameCount[nm]].substring(0,len-6) + piece + dest + names[nNameCount[nm]].substring(len-4,len);
		nn = (Math.floor(( from / 8 )) + ( from % 8 ));
		if (( nn % 2 ) == 1 )
			document.images[ base + from ].src = EmptyBlackPath;
		else
			document.images[ base + from ].src = EmptyWhitePath;
		nMoves[nm]++;
		nNameCount[nm] = nNameCount[nm] + 2;
		if ( nMoves[nm] < moves[nLevels[nm]].length / 2 && ( moves[nLevels[nm]][ nMoves[nm]*2 ] & 0x40 ) == 0x40 )
			MF( moves, names, nm, base, bCheckV );
	}
	return base
}
function MB( moves, names, nm, base, basename )
{	base = SyncPicture( base, basename );
	if ( nMoves[nm] > 0 )
	{	nMoves[nm]--;
		nNameCount[nm] -= 2;
		var from = moves[nLevels[nm]][ nMoves[nm]*2 ] & 0x3f;
		var to = moves[nLevels[nm]][ nMoves[nm]*2+1 ] & 0x3f;
		document.images[ base + from ].src = names[ nNameCount[nm] ];
		document.images[ base + to ].src = names[ nNameCount[nm]+1 ];
		if (( moves[nLevels[nm]][ nMoves[nm]*2 ] & 0x40 ) == 0x40 )
			MB( moves, names, nm, base );
	}
	if ( nMoves[nm] == 0 )
		if ( nLevels[nm] > 0 )
		{	nMoves[nm] = moves[nLevels[nm]].move;
			nLevels[nm] = moves[nLevels[nm]].root;
			if (( moves[nLevels[nm]][nMoves[nm]*2] & 0x40 ) == 0x40 )
				nMoves[nm]--;
		}
	return base;
}
function GMS2(  moves, names, nm, base, nMoveNumber, nLevel, basename )
{	if ( nMoveNumber > 0 )
	{	var n = (nMoveNumber-1)*2;
		var off=1;
		for ( i=0; i <= n; i += 2 )
			if (( moves[nLevel][i] & 0x40 ) == 0x40 )
				off = off+1;
		var from = moves[nLevel][ n ] & 0x3f;
		var to = moves[nLevel][ n+1 ] & 0x3f;
		var len = document.images[ base + to ].src.length;
		var piece = document.images[ base + to ].src.substring(len-6,len-5);
		if ( piece == "q" )
			piece = pieces.substring(1,2);
		else if ( piece == "r" )
			piece = pieces.substring(4,5);
		else if ( piece == "b" )
			piece = pieces.substring(3,4);
		else if ( piece == "n" )
			piece = pieces.substring(2,3);
		else if ( piece ==  "k" )
			piece = pieces.substring(0,1);
		else piece = pieces.substring(5,6);
		var piece2 = "";
		if (( moves[nLevel][ n ] & 0x380 ) == 0x80 )
			piece2 = pieces.substring(1,2);
		else if (( moves[nLevel][ n ] & 0x380 ) == 0x100 )
			piece2 = pieces.substring(2,3);
		else if (( moves[nLevel][ n ] & 0x380 ) == 0x180 )
			piece2 = pieces.substring(3,4);
		else if (( moves[nLevel][ n ] & 0x380 ) == 0x200 )
			piece2 = pieces.substring(4,5);
		var lines = "abcdefgh";
		var rows = "87654321";
		var fromLine = from%8;
		var fromRow = Math.floor(from/8);
		var toLine = to%8;
		var toRow = Math.floor(to/8);
		var moveNumber = gmn( moves, nLevel ) + nMoveNumber-off;
		var result = (Math.floor((moveNumber)/2)+1).toString() + ". ";
		if ( document.images[ base + to ].src.substring(len-7,len-6) == "b" )
			result = result + "... ";
		if ( n >= 2 && (( moves[nLevel][n] & 0x40 ) == 0x40 ))
		{	if (( moves[nLevel][n-1] == 62 ) || ( moves[nLevel][n-1] == 6 ))
				result = result + "0-0"
			else if (( moves[nLevel][n-1] == 2 + 7 * 8 ) || ( moves[nLevel][n-1] == 2 + 0 * 8 ))
				result = result + "0-0-0"
			else
			{	var sep = "x";
				from = moves[nLevel][ n-2 ] & 0x3f;
				to = moves[nLevel][ n-1 ] & 0x3f;
				fromLine = from%8;
				fromRow = Math.floor(from/8);
				toLine = to%8;
				toRow = Math.floor(to/8);
				result = result	+ lines.substring( fromLine, fromLine+1 ) + rows.substring( fromRow, fromRow+1 )
										+ sep
										+ lines.substring( toLine, toLine+1 ) + rows.substring( toRow, toRow+1 )
										+ piece2 + " ep";
			}
		}
		else
		{	var len = names[ nNameCount[nm]-1 ].length;
			var substr = names[ nNameCount[nm]-1 ].substring( len-6, len );
			var sep = (( substr == "/w.gif" ) || ( substr == "\\w.gif" ) ||
						  ( substr == "/b.gif" ) || ( substr == "\\b.gif" )) ? "-" : "x";
			if ( piece2 != "" ) piece = "";
			result = result + piece.toUpperCase() + lines.substring( fromLine, fromLine+1 ) + rows.substring( fromRow, fromRow+1 )
				+ sep
				+ lines.substring( toLine, toLine+1 ) + rows.substring( toRow, toRow+1 )
				+ piece2;
		}
	}
	else
		result='';
	if (document.all)
	{	name = 'i' + baseName + nm;
		if ( result == '' )
			document.all.tags( "DIV" )[name].innerHTML = "Startposition";
		else
			document.all.tags( "DIV" )[name].innerHTML = "Position after " + result;
	}
	else if ( document.layers )
	{	document.layers[nm].document.layers[0].document.clear();
		var gesamt = "<center>Position after " + result + "</center>";
		document.layers[nm].document.layers[0].document.write(gesamt);
		document.layers[nm].document.layers[0].document.close();
	}
	return result;
}
function GMS( moves, names, nm, base, basename )
{	base = SyncPicture( base, basename );
	var nLevel = nLevels[nm];
	var nMoveNumber = nMoves[nm];
	if ( nMoveNumber >= 0 && nMoveNumber <= moves[nLevel].length / 2 )
	{	if ( document.all )
		{	if ( nOld[nm] != -1 )
				document.anchors[nOld[nm]].style.background="#FFF8B3";
			if ( nMoveNumber > 0 )
			{	nOld[nm] = moves[nLevel].base[nMoveNumber-1];
				document.anchors[nOld[nm]].style.background="gray";
			}
			else
				nOld[nm] = -1;
		}
		return GMS2( moves, names, nm, base, nMoveNumber, nLevel, basename );
	}
	else
		return "??";
}
function gm( moves, names, nm, base, basename, n, m )
{	base = SyncPicture( base, basename );
	GoStart(moves,names,nm,base,basename );
	gm_sub( moves,names,nm,base,basename,n,m);
	GMS( moves, names, nm, base, basename );
}
function gmn( moves, m )
{	if ( m > 0 )
	{	var off=0;
		var n2 = moves[m].move;
		var m2 = moves[m].root;
		for ( i=0; i <= n2*2; i += 2 )
			if (( moves[m2][i] & 0x40 ) == 0x40 )
				off = off+1;
		return gmn( moves, m2 ) + ( n2 - off );
	}
	return 0;
}
function gm_sub( moves, names, nm, base, basename, n, m )
{	if ( m > 0 )
	{	var off=0;
		var n2 = moves[m].move;
		var m2 = moves[m].root;
		for ( i=0; i <= n2*2; i += 2 )
			if (( moves[m2][i] & 0x40 ) == 0x40 )
				off = off+1;
		gm_sub( moves,names,nm,base, basename, n2-off, m2  );
	}
	nLevels[nm]=m;
	nMoves[nm]=0;
	for ( i=0; i < n; i++ )
		MF(moves,names,nm,base,basename, false);
}

