No, you made it clear... What I am saying is why functionalize it at all, since you are including it in that file anyhow? It's one less line of code to have to debug later, should you have script problems...
Instead of functionalizing it, just put it at the top of your include file as:
$db = mysql_connect("localhost", "username", "password");
mysql_select_db("ufaadmin_virtualufa",$db);
That way, the call is made to the DB, whenever it is needed, automatically, and since MySQL will close the connection at scripts end automatically, you don't even have to clean up after it. This way, you won't have to remember to code your function call before you code the query... It's always there. Just write the query and go.