code: function(lon, lat) {
          if (OpenLayers.Util.isArray(lon)) {
              lat = lon[1];
              lon = lon[0];
          }
          this.lon = OpenLayers.Util.toFloat(lon);
          this.lat = OpenLayers.Util.toFloat(lat);
      }
docs: Constructor: OpenLayers.LonLat
  Create a new map location. Coordinates can be passed either as two
  arguments, or as a single argument.
  
  Parameters (two arguments):
  lon - {Number} The x-axis coordinate in map units.  If your map is in
  a geographic projection, this will be the Longitude.  Otherwise,
  it will be the x coordinate of the map location in your map units.
  lat - {Number} The y-axis coordinate in map units.  If your map is in
  a geographic projection, this will be the Latitude.  Otherwise,
  it will be the y coordinate of the map location in your map units.
  
  Parameters (single argument):
  location - {Array(Float)} [lon, lat]