var helpServer = {
  navigateToFragment: function () {
    var path = "";
    if (window.location.hash)
      path = window.location.hash.substring(1);
    var iframeToc = document.getElementById('toc');
    var iframeHelper = document.getElementById('help');
    if (path != "") {
      if (iframeToc)
        iframeToc.src = "/toc#" + path;
      if (iframeHelper)
        iframeHelper.src = "/help" + path;
    }
  },
  checkNavigation: function (path, from) {
    if (path && path != "" && ("#" + path) !== window.location.hash) {
      var parentWindow = window.parent.window;
      var newLocation = parentWindow.location.pathname + "#" + path;
      parentWindow.location.replace(newLocation);
    }
    var iframeToc = document.getElementById('toc');
    var iframeHelper = document.getElementById('help');
    if (from != 'toc' && iframeToc) {
      if (iframeToc.contentWindow.setSelectedPage) {
        iframeToc.contentWindow.setSelectedPage(path);
      }
    }
    if (from != 'help' && iframeHelper) {
      iframeHelper.src = "/help" + path;
    }
  },
  onLoad: function () {
    this.navigateToFragment();
  },
  onHashChange: function () {
    this.navigateToFragment();
  },
  helpFrameLoad: function () {
    var path = document.getElementById('help').contentWindow.location.pathname.substr(5);
    this.checkNavigation(path, 'help');
  }
};


@@ -257,24 +257,25 @@
 ');%0A    if (
+ 
 path != %22%22) 
@@ -272,16 +272,17 @@
 th != %22%22
+ 
 ) %7B%0A    
@@ -1303,20 +1303,97 @@
 name
-.substr(5);%0A
+;%0A    if( path.substring(0,5) == '/help' ) %7B %0A        path = path.substr(5);        %0A    
     
@@ -1428,16 +1428,22 @@
 help');%0A
+    %7D%0A
   %7D%0A%7D;%0A%0A

check the path (allows for non /help initial content)