Say URL1: http://domainname.com/hi/hello/world/ilikethis.htm
RelativePath: ../../hello.htm

Hence absolute path is http://domainname.com/hi/hello.htm

Is there a function that do that?