TFrameBrowser component
function GetViewerURLBase(Viewer: THtmlViewer): string;
Given a THtmlViewer currently displayed in TFrameBrowser, this function returns the portion of the URL up to and including the last forward slash.