/*
  var strURL = new String(self.location);
  if ((top.location == self.location) && ((strURL.substring(0,7) == "file://") || (strURL.substring(0,7) == "http://"))) {
    strs = strURL.split("/");
    top.location.replace("sbkhelp.html" + "?" + strs[strs.length - 1]);
  }
*/

var strURL = new String(self.location);
if ((top.location == self.location) && ((strURL.substring(0,7) == "file://") || (strURL.substring(0,7) == "http://"))) {
  var nodeIns = document.getElementById('content');
  var nodeA   = document.createElement('a');
  var strs = strURL.split("/");

  strURL = 'sbkhelp.html?' + strs[strs.length - 1];
  nodeA.href = strURL;
  nodeA.innerText = "目次を表示する";
  nodeIns.insertBefore(nodeA, nodeIns.firstChild);
}

