// fix the pesky pipes

function hasPath(sPath)
{
    re = new RegExp("\/" + sPath + "(\/|$)");
    return re.test(window.location)
}
