Function invoke b4 onPress

goto = function(where:String) {
	 getURL("http://esample.com/"+where+".htm","_self");
}

button1.onRelease = goto("home");

when the movie loads, flash immediately ‘getURL’ BEFORE i press my button1. how come the code execute even before i press it 1st? what’s wrong with my code?

thx in advance.