The following functions in index.htm provide some useful general purpose services.
var pn = fixPath(location.pathname);
Loads the specified URL into the top level window. This is like doing
top.location.href = theURL;
except that it automatically copes with Floating mode.