 
function next() {
  var page = getpagefromnav();
  page += 1;
  if (page >= 198) page = 197
  parent.parent.frames[1].location.href = "node" + page + ".html";
  tocref = "ffcont.html#node" + page;
  parent.frames[0].location.href = tocref;
 // starttoc(tocref);
}  
    
function prev() {
  var page = getpagefromnav();
  page -= 1;
  if (page < 0) cover();
  else {
  parent.parent.frames[1].location.href = "node" + page + ".html";
  tocref = "ffcont.html#node" + page;
  parent.frames[0].location.href = tocref;
 // starttoc(tocref);
  } 
}  
    
function cover() {
  parent.parent.frames[1].location.href = "ffcover.html";
 // starttoc("ffcont.html"); 
  parent.frames[0].location.href = "ffcont.html";
}
    
function index() {
  parent.parent.frames[1].location.href = "node196.html";
  parent.frames[0].location.href = "ffcont.html#node196";
}  
    
function refs() {
  parent.parent.frames[1].location.href = "node195.html";
  parent.frames[0].location.href = "ffcont.html#node195";
}  

function getpagefromnav() 
{
  var page = -1;
  var ib, ie;
  var mainwin = parent.parent.frames[1].location.href;
  if ((ib = mainwin.indexOf("node")) != -1) {
     ie = mainwin.length-5;
     page = parseInt(mainwin.substring(ib+4,ie));
  } else {
  if (mainwin.indexOf("search.html") != -1) {
     page = parent.parent.frames[1].frames[1].document.datasource.page;
  }}
  return page;
}

function showcode(file) {
handle = open(file,"codeframe","width=250,height=400,alwaysRaised=yes,scrollbars=yes,status=no,toolbar=no,resizable=yes,menubar=no,titlebar=no,screenX=0,screenY=250");
}





