This is an example that you can use to set the center of the openlayers map.

  map.setCenter(new OpenLayers.LonLat(17.99,59.3),10);