public string getPageUrl(Node node, string siteUrl)
{
string localPath = node.Path;
string sitePath = PortalContext.Current.Site.Path;
if (localPath.StartsWith(sitePath))
{
localPath = localPath.Remove(0, sitePath.Length);
}
return "http://" + siteUrl + localPath;
}