changed common function name to avoid conflicts

changed curpageurl() (and all calls) to braftoncurpageurl()