Asfunction text problem!

I’m loading a text file with:

<a href="asfunction:_global.direct,home"><font color="#FFFFFF">home 
</font></a>

It works, in this example the user gets directed to home.html,
which is an url from the root directory(index.html).

But I want the user to go to a different url than that of the page’s
root directory. From mysite.com to yoursite.com.
Tried a couple of things, but they didn’t work.

thanks

This is the AS:

_global.direct = function(url) {
    getURL(url, "_blank");
};