Blinking two LEDs in and out of phase

btw - how does it possible you use elapsedTime variable both in the void blink function and in the void loop(){} function ?