Function within a function problem

I’m having troubles getting a function to work inside of another function…

function (HideSearches) {
	search_container_mc._visible = false;
}

function SSdown() {
	HideSearches;
	gotoAndStop(2);
}

Then later on down in my code where i create by buttons…

searchbutton_mc.onPress = SSdown;

My HideSearches function wont get executed in the SSdown function. But the SSdown function works fine. What am i doing wrong?

Thanks