President Bush plans to attend opening of Beijing Olympics