
var m0 = new Array(1)

m0[0] = new Array(52,36,12,28,62,45,1,18,61,25,13,29,36,29,28,36,25,18,11,18,45,28,6,21,51,35,36,43,99,99,60,62,127,61,5,19,61,60,4,6,71,5,50,43,21,27,54,38,2,29,38,29,5,29,59,38,3,21,28,34,19,26,60,59,26,53,62,63,53,35,38,52,29,53,58,30,21,30,52,20,6,7,20,47,27,37,47,46,30,27);
m0[0].base = new Array(0,1,2,3,4,5,6,7,8,9,10,11,12,13,13,14,14,15,16,17,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,0);
m0[0].root =0;
m0[0].move =0;
var n0 = new Array();
var b0 = -1;
var pieces = "KQNBR ";
var pos_after = "Position after ";
var start_pos = "Startposition ";
function g0(a,b)
{	gm(m0,n0,0,b0,'4roundg0.htm',a,b);}
function MB_50()
{b0=MB_5(m0,n0,0,b0,'4roundg0.htm'); GMS(m0,n0,0,b0,'4roundg0.htm');}
function MB0()
{b0=MB(m0,n0,0,b0,'4roundg0.htm'); GMS(m0,n0,0,b0,'4roundg0.htm');}
function MF_50()
{b0=MF_5(m0,n0,0,b0,'4roundg0.htm'); GMS(m0,n0,0,b0,'4roundg0.htm');}
function MF0(bVarWin)
{b0=MF(m0,n0,0,b0,'4roundg0.htm',bVarWin); GMS(m0,n0,0,b0,'4roundg0.htm');}

var m1 = new Array(1)

m1[0] = new Array(51,35,14,22,50,34,5,14,62,45,11,19,52,36,6,21,57,42,4,6,71,5,61,52,12,28,58,30,1,11,59,51,10,18,60,62,127,61,3,10,56,59,5,4,35,27,18,26,45,60,11,5,48,40,8,24,60,43,21,11,42,25,10,1,49,33,24,33,40,33,13,29,36,29,22,29,52,31,5,22,61,60,9,17,59,57,2,16,33,26,16,25,57,25,19,26,30,23,1,19,23,14,6,14,53,37,28,36,51,49,19,21,49,21,14,21,43,49,0,40,54,38,4,0,60,61,40,56,38,29,56,61,62,61,21,29,55,47,29,37,31,38,22,28,38,20,0,40,49,59,37,45,25,49,36,44,27,19,11,21,49,52,40,43,59,44,21,36,61,60,43,44,20,38,45,37,52,44,37,44,19,11,28,18);
m1[0].base = new Array(42,43,44,45,46,47,48,49,50,51,51,52,53,54,55,56,57,58,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,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,0);
m1[0].root =0;
m1[0].move =0;
var n1 = new Array();
var b1 = -1;
function g1(a,b)
{	gm(m1,n1,1,b1,'4roundg1.htm',a,b);}
function MB_51()
{b1=MB_5(m1,n1,1,b1,'4roundg1.htm'); GMS(m1,n1,1,b1,'4roundg1.htm');}
function MB1()
{b1=MB(m1,n1,1,b1,'4roundg1.htm'); GMS(m1,n1,1,b1,'4roundg1.htm');}
function MF_51()
{b1=MF_5(m1,n1,1,b1,'4roundg1.htm'); GMS(m1,n1,1,b1,'4roundg1.htm');}
function MF1(bVarWin)
{b1=MF(m1,n1,1,b1,'4roundg1.htm',bVarWin); GMS(m1,n1,1,b1,'4roundg1.htm');}

var m2 = new Array(1)

m2[0] = new Array(52,36,10,18,51,35,11,27,57,42,27,36,42,36,1,11,62,45,6,21,36,21,11,21,61,52,2,38,50,42,12,20,58,37,5,12,59,41,3,17,41,17,8,17,55,47,38,31,54,38,31,22,45,28,21,27,28,22,15,22,37,28,7,15,48,40,17,25,52,43,4,11,43,36,25,33,42,34,27,21,36,54,33,40,49,40,0,40,56,57,11,2,60,62,127,61,21,11,28,37,22,30,37,46,13,29,38,29,20,29,61,60,29,37,46,37,30,37,60,12,37,45,54,61,15,39,35,27,39,35,27,18,9,18,12,14,18,26,57,60,35,51,47,39,40,48,61,47,48,16,14,11,16,22,62,63,51,11,60,59,22,23,59,11,2,1,11,13,23,39,13,45);
m2[0].base = new Array(132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,0);
m2[0].root =0;
m2[0].move =0;
var n2 = new Array();
var b2 = -1;
function g2(a,b)
{	gm(m2,n2,2,b2,'4roundg2.htm',a,b);}
function MB_52()
{b2=MB_5(m2,n2,2,b2,'4roundg2.htm'); GMS(m2,n2,2,b2,'4roundg2.htm');}
function MB2()
{b2=MB(m2,n2,2,b2,'4roundg2.htm'); GMS(m2,n2,2,b2,'4roundg2.htm');}
function MF_52()
{b2=MF_5(m2,n2,2,b2,'4roundg2.htm'); GMS(m2,n2,2,b2,'4roundg2.htm');}
function MF2(bVarWin)
{b2=MF(m2,n2,2,b2,'4roundg2.htm',bVarWin); GMS(m2,n2,2,b2,'4roundg2.htm');}

var m3 = new Array(1)

m3[0] = new Array(52,36,10,18,51,35,11,27,57,51,6,21,36,28,21,11,61,43,12,20,62,45,18,26,50,42,1,18,60,62,127,61,3,17,59,32,5,12,32,25,26,35,25,17,11,17,42,35,18,33,43,25,2,11,25,11,4,11,51,41,33,50,56,57,50,33,48,40,33,18,58,51,17,34,51,42,15,31,41,51,9,25,61,60,8,24,51,34,25,34,57,59,24,32,60,52,18,8,52,50,8,25,42,51,7,2,59,58,0,1,55,39,2,10,54,46,10,9,62,61,25,8,51,42,8,25,42,51,1,2,61,52,13,21,52,59,2,5,59,52,5,6,51,44,12,3,28,21,14,21,58,59,3,17,59,51,17,24,51,59,34,42,59,58,42,49,50,49,25,42,52,43,9,49,44,51,42,48,58,26,24,51,45,51,6,2,26,2,11,2,53,45,49,9);
m3[0].base = new Array(217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,0);
m3[0].root =0;
m3[0].move =0;
var n3 = new Array();
var b3 = -1;
function g3(a,b)
{	gm(m3,n3,3,b3,'4roundg3.htm',a,b);}
function MB_53()
{b3=MB_5(m3,n3,3,b3,'4roundg3.htm'); GMS(m3,n3,3,b3,'4roundg3.htm');}
function MB3()
{b3=MB(m3,n3,3,b3,'4roundg3.htm'); GMS(m3,n3,3,b3,'4roundg3.htm');}
function MF_53()
{b3=MF_5(m3,n3,3,b3,'4roundg3.htm'); GMS(m3,n3,3,b3,'4roundg3.htm');}
function MF3(bVarWin)
{b3=MF(m3,n3,3,b3,'4roundg3.htm',bVarWin); GMS(m3,n3,3,b3,'4roundg3.htm');}

var m4 = new Array(1)

m4[0] = new Array(52,36,10,26,62,52,11,19,57,42,6,21,51,35,26,35,52,35,8,16,54,46,1,18,55,47,3,17,35,41,14,22,58,44,17,10,61,54,5,14,60,62,127,61,4,6,71,5,59,51,18,28,44,30,28,34,51,58,12,20,42,59,2,11,50,42,5,2,30,23,14,7,41,51,34,28,53,37,10,26,62,55,28,38,55,63,38,23,51,41,26,31,41,35,21,36);
m4[0].base = new Array(313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,333,334,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,0);
m4[0].root =0;
m4[0].move =0;
var n4 = new Array();
var b4 = -1;
function g4(a,b)
{	gm(m4,n4,4,b4,'4roundg4.htm',a,b);}
function MB_54()
{b4=MB_5(m4,n4,4,b4,'4roundg4.htm'); GMS(m4,n4,4,b4,'4roundg4.htm');}
function MB4()
{b4=MB(m4,n4,4,b4,'4roundg4.htm'); GMS(m4,n4,4,b4,'4roundg4.htm');}
function MF_54()
{b4=MF_5(m4,n4,4,b4,'4roundg4.htm'); GMS(m4,n4,4,b4,'4roundg4.htm');}
function MF4(bVarWin)
{b4=MF(m4,n4,4,b4,'4roundg4.htm',bVarWin); GMS(m4,n4,4,b4,'4roundg4.htm');}

var m5 = new Array(1)

m5[0] = new Array(52,36,10,26,62,45,11,19,51,35,6,21,57,42,26,35,45,35,1,18,53,45,12,28,35,41,5,12,58,44,4,6,71,5,59,51,8,24,48,32,2,20,51,53,19,27,36,27,21,27,42,27,3,27,41,26,20,29,56,59,18,35,26,43,5,4,50,42,0,3,55,39,15,23,39,31,27,41,59,51,41,32,54,38,29,15,53,54,35,45,54,45,28,36,45,46,36,43,60,53,12,19,46,39,19,37,44,17,37,51,17,3,51,60);
m5[0].base = new Array(359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,0);
m5[0].root =0;
m5[0].move =0;
var n5 = new Array();
var b5 = -1;
function g5(a,b)
{	gm(m5,n5,5,b5,'4roundg5.htm',a,b);}
function MB_55()
{b5=MB_5(m5,n5,5,b5,'4roundg5.htm'); GMS(m5,n5,5,b5,'4roundg5.htm');}
function MB5()
{b5=MB(m5,n5,5,b5,'4roundg5.htm'); GMS(m5,n5,5,b5,'4roundg5.htm');}
function MF_55()
{b5=MF_5(m5,n5,5,b5,'4roundg5.htm'); GMS(m5,n5,5,b5,'4roundg5.htm');}
function MF5(bVarWin)
{b5=MF(m5,n5,5,b5,'4roundg5.htm',bVarWin); GMS(m5,n5,5,b5,'4roundg5.htm');}

var m6 = new Array(1)

m6[0] = new Array(51,35,12,20,62,45,10,26,52,44,6,21,61,43,1,18,60,62,127,61,11,27,49,41,3,10,58,49,26,35,44,35,18,33,57,42,8,16,45,28,5,19,53,37,33,43,59,43,4,6,71,5,61,45,9,25,45,47,14,22,56,61,25,33,42,59,21,36,43,52,16,24,59,44,13,29,52,60,24,32,60,39,10,14,54,38,32,41,48,41,0,48,49,58,2,16,61,60,19,28,35,28,27,35,44,59,48,50,58,49,35,43,60,44,50,51,39,60,14,8,38,29,22,29,49,58,51,50,58,49,5,13,60,39,13,14,47,46,14,46,55,46,50,51,39,3,6,14,49,35,51,59,62,55,8,13,46,38,29,38,3,39,13,37);
m6[0].base = new Array(415,416,417,418,419,420,421,422,423,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,0);
m6[0].root =0;
m6[0].move =0;
var n6 = new Array();
var b6 = -1;
function g6(a,b)
{	gm(m6,n6,6,b6,'4roundg6.htm',a,b);}
function MB_56()
{b6=MB_5(m6,n6,6,b6,'4roundg6.htm'); GMS(m6,n6,6,b6,'4roundg6.htm');}
function MB6()
{b6=MB(m6,n6,6,b6,'4roundg6.htm'); GMS(m6,n6,6,b6,'4roundg6.htm');}
function MF_56()
{b6=MF_5(m6,n6,6,b6,'4roundg6.htm'); GMS(m6,n6,6,b6,'4roundg6.htm');}
function MF6(bVarWin)
{b6=MF(m6,n6,6,b6,'4roundg6.htm',bVarWin); GMS(m6,n6,6,b6,'4roundg6.htm');}

var m7 = new Array(1)

m7[0] = new Array(52,36,10,26,62,45,11,19,51,35,26,35,45,35,6,21,57,42,8,16,58,44,12,28,35,52,21,38,42,27,38,44,27,44,1,11,52,42,11,26,48,32,2,20,61,52,5,12,60,62,127,61,4,6,71,5,32,24,0,2,44,27,13,29,36,29,20,29,27,17,2,1,49,33,26,11,17,34,5,21,42,27,21,23,34,44,29,20,52,38,20,38,59,38,12,5,50,34,1,2,61,59,23,22,38,45,2,18,56,48,3,30,45,29,30,3,48,51,3,4,29,36,18,2,44,29,4,13,29,44,6,7,55,39,22,23,44,29,23,20,29,44,20,23,44,29,23,20,29,44,20,23);
m7[0].base = new Array(495,496,497,498,499,500,501,502,503,504,505,506,507,508,509,510,511,512,513,514,515,516,517,518,519,519,520,520,521,522,523,524,525,526,527,528,529,530,531,532,533,534,535,536,537,538,539,540,541,542,543,544,545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562,563,564,565,566,567,568,0);
m7[0].root =0;
m7[0].move =0;
var n7 = new Array();
var b7 = -1;
function g7(a,b)
{	gm(m7,n7,7,b7,'4roundg7.htm',a,b);}
function MB_57()
{b7=MB_5(m7,n7,7,b7,'4roundg7.htm'); GMS(m7,n7,7,b7,'4roundg7.htm');}
function MB7()
{b7=MB(m7,n7,7,b7,'4roundg7.htm'); GMS(m7,n7,7,b7,'4roundg7.htm');}
function MF_57()
{b7=MF_5(m7,n7,7,b7,'4roundg7.htm'); GMS(m7,n7,7,b7,'4roundg7.htm');}
function MF7(bVarWin)
{b7=MF(m7,n7,7,b7,'4roundg7.htm',bVarWin); GMS(m7,n7,7,b7,'4roundg7.htm');}

var m8 = new Array(1)

m8[0] = new Array(51,35,11,19,52,44,14,22,62,45,5,14,61,52,6,21,60,62,127,61,4,6,71,5,49,41,10,26,58,49,26,35,44,35,21,27,61,60,1,18,57,51,27,37,52,61,8,16,48,40,9,25,50,34,3,17,34,25,16,25,51,36,37,20,36,30,18,35,45,35,20,35,60,12,2,29,61,43,15,23,43,29,35,29,49,14,6,14,30,20,14,21,20,5,21,12,5,15,17,35,59,52,35,28,52,61,12,3,56,60,28,42,61,52,0,40,52,4,3,10,4,13,10,17,13,4,40,0,4,20,0,56,62,61,56,60,20,60,42,41,54,46,41,13,46,38,13,34,60,52,29,35,52,34,25,34,15,21,17,26,21,36,26,27,36,42,27,28,55,47,35,20,61,54,19,27,54,46,27,35,42,25,34,42,25,40,35,43,46,45,42,50,40,34,28,27,34,44,27,26);
m8[0].base = new Array(569,570,571,572,573,574,575,576,577,577,578,578,579,580,581,582,583,584,585,586,587,588,589,590,591,592,593,594,595,596,597,598,599,600,601,602,603,604,605,606,607,608,609,610,611,612,613,614,615,616,617,618,619,620,621,622,623,624,625,626,627,628,629,630,631,632,633,634,635,636,637,638,639,640,641,642,643,644,645,646,647,648,649,650,651,652,653,654,655,656,657,658,659,660,661,662,663,664,665,666,0);
m8[0].root =0;
m8[0].move =0;
var n8 = new Array();
var b8 = -1;
function g8(a,b)
{	gm(m8,n8,8,b8,'4roundg8.htm',a,b);}
function MB_58()
{b8=MB_5(m8,n8,8,b8,'4roundg8.htm'); GMS(m8,n8,8,b8,'4roundg8.htm');}
function MB8()
{b8=MB(m8,n8,8,b8,'4roundg8.htm'); GMS(m8,n8,8,b8,'4roundg8.htm');}
function MF_58()
{b8=MF_5(m8,n8,8,b8,'4roundg8.htm'); GMS(m8,n8,8,b8,'4roundg8.htm');}
function MF8(bVarWin)
{b8=MF(m8,n8,8,b8,'4roundg8.htm',bVarWin); GMS(m8,n8,8,b8,'4roundg8.htm');}

var m9 = new Array(1)

m9[0] = new Array(51,35,11,27,62,45,10,18,50,34,27,34,52,44,9,25,48,32,8,16,49,41,12,20,41,34,25,34,61,34,6,21,60,62,127,61,18,26,58,40,1,11,57,51,26,35,40,5,11,5,45,35,5,22,59,41,4,6,71,5,51,45,16,24,61,59,3,12,55,39,2,11,56,57,20,28,35,25,11,38,25,19,21,4,19,13,5,13,45,30,22,7,30,13,7,13,53,45,38,29,41,9,0,8,9,12,8,12,57,1,29,50,59,11,6,5,11,12,5,12,1,9,12,3,34,13,4,19,9,8,50,32,8,24,32,11,13,6,28,36,6,15,36,45,54,45,3,12,62,53,12,21,15,43);
m9[0].base = new Array(667,668,669,670,671,672,673,674,675,676,677,678,679,680,681,682,683,683,684,685,686,687,688,689,690,691,692,693,694,694,695,696,697,698,699,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,0);
m9[0].root =0;
m9[0].move =0;
var n9 = new Array();
var b9 = -1;
function g9(a,b)
{	gm(m9,n9,9,b9,'4roundg9.htm',a,b);}
function MB_59()
{b9=MB_5(m9,n9,9,b9,'4roundg9.htm'); GMS(m9,n9,9,b9,'4roundg9.htm');}
function MB9()
{b9=MB(m9,n9,9,b9,'4roundg9.htm'); GMS(m9,n9,9,b9,'4roundg9.htm');}
function MF_59()
{b9=MF_5(m9,n9,9,b9,'4roundg9.htm'); GMS(m9,n9,9,b9,'4roundg9.htm');}
function MF9(bVarWin)
{b9=MF(m9,n9,9,b9,'4roundg9.htm',bVarWin); GMS(m9,n9,9,b9,'4roundg9.htm');}

var m10 = new Array(1)

m10[0] = new Array(52,36,10,26,50,42,12,28,62,45,1,18,61,34,15,23,60,62,127,61,3,10,51,43,18,24,34,25,8,16,25,32,9,25,32,50,5,12,43,35,24,18,35,28,18,28,45,28,10,28,53,37,28,10,36,28,2,9,57,51,11,27,59,38,14,30,28,20,13,21,38,31,4,3,51,45,30,37,45,39,9,18,39,22,7,15,58,37,12,19,37,19,10,19,22,28,21,28,50,15,19,20,15,6,20,6,31,28,3,2,28,12);
m10[0].base = new Array(742,743,744,745,746,747,748,749,750,750,751,752,753,754,755,756,757,758,759,760,761,762,763,764,765,766,767,768,769,770,771,772,773,774,775,776,777,778,779,780,781,782,783,784,785,786,787,788,789,790,791,792,793,794,795,796,0);
m10[0].root =0;
m10[0].move =0;
var n10 = new Array();
var b10 = -1;
function g10(a,b)
{	gm(m10,n10,10,b10,'4roundg10.htm',a,b);}
function MB_510()
{b10=MB_5(m10,n10,10,b10,'4roundg10.htm'); GMS(m10,n10,10,b10,'4roundg10.htm');}
function MB10()
{b10=MB(m10,n10,10,b10,'4roundg10.htm'); GMS(m10,n10,10,b10,'4roundg10.htm');}
function MF_510()
{b10=MF_5(m10,n10,10,b10,'4roundg10.htm'); GMS(m10,n10,10,b10,'4roundg10.htm');}
function MF10(bVarWin)
{b10=MF(m10,n10,10,b10,'4roundg10.htm',bVarWin); GMS(m10,n10,10,b10,'4roundg10.htm');}

var m11 = new Array(1)

m11[0] = new Array(51,35,6,21,62,45,11,19,50,34,1,11,57,42,10,18,52,36,12,28,61,52,5,12,60,62,127,61,4,6,71,5,61,60,8,16,58,30,5,4,30,21,12,21,35,27,18,26,48,40,14,22,49,33,21,14,45,51,13,29,42,32,9,17,33,26,11,26,56,57,29,36,32,26,17,26,52,38,4,5,38,2,0,2,51,36,5,37,54,46,37,13,59,38,13,29,57,9,2,1,9,8,3,24,60,61,14,5,38,39,5,14,39,12);
m11[0].base = new Array(797,798,799,800,801,802,803,804,805,806,807,808,809,809,810,810,811,812,813,814,815,816,817,818,819,820,821,822,823,824,825,826,827,828,829,830,831,832,833,834,835,836,837,838,839,840,841,842,843,844,845,846,847,848,849,850,851,0);
m11[0].root =0;
m11[0].move =0;
var n11 = new Array();
var b11 = -1;
function g11(a,b)
{	gm(m11,n11,11,b11,'4roundg11.htm',a,b);}
function MB_511()
{b11=MB_5(m11,n11,11,b11,'4roundg11.htm'); GMS(m11,n11,11,b11,'4roundg11.htm');}
function MB11()
{b11=MB(m11,n11,11,b11,'4roundg11.htm'); GMS(m11,n11,11,b11,'4roundg11.htm');}
function MF_511()
{b11=MF_5(m11,n11,11,b11,'4roundg11.htm'); GMS(m11,n11,11,b11,'4roundg11.htm');}
function MF11(bVarWin)
{b11=MF(m11,n11,11,b11,'4roundg11.htm',bVarWin); GMS(m11,n11,11,b11,'4roundg11.htm');}
var nMoves = new Array(0,0,0,0,0,0,0,0,0,0,0,0);
var nLevels = new Array(0,0,0,0,0,0,0,0,0,0,0,0);
var nNameCount = new Array(0,0,0,0,0,0,0,0,0,0,0,0);
var nOld = new Array(-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1);
baseName = '4round';
var EmptyWhitePath = '/design/images/view/w.gif';
var EmptyBlackPath = '/design/images/view/b.gif';
var gifPath = '/design/images/view/';
var BackColor = "#FFFFFF";
var leftWindow		= this;
var rightWindow		= this;
var bFrames = 0;
var leftDocument		= leftWindow.document;
var rightDocument	= rightWindow.document;
