Representatives from 163 countries were to launch a weeklong , United Nations-led meeting on the nuts-and-bolts of an international agreement to replace the 1997 Kyoto global warming pact after its first phase expires in 2012 .