public synchronized void movemouse (int i, int j)
	{	if (Pos.haschildren()) return;
		if (P.color(i,j)!=0) return;
		if (captured==1 && capturei==i && capturej==j &&
			GF.getParameter("preventko",true)) return;
		if (Pos.isMain() && CGF.wantsmove())
		{	if (CGF.moveset(i,j))
			{	sendi=i; sendj=j;
				update(i,j); copy();
				MyColor=P.color();
			}
			JagoSound.play("click","",false);
		}
		else set(i,j); // try to set a new move
	}