XBee transparent mode with Alternate pins.

Ah, Still not getting to the bottom of the global variable thing..

I am thinking that

SoftwareSerial WirelessSerial = SoftwareSerial(2, 13);

is being declared globally because it is outside of the instance of:

void setup() { 
Serial.begin(9600); // Setup Serial library at 9600 bps 
}

or rather the "{}"
etc.

But where do I have to place the:

WirelessSerial.begin(9600); // Setup Serial library at 9600 bps

?

Or am I missing something else?