<!--
var indexlay = "index";
var whatlay = "whtxpct";
var alllyrs = new Array();
alllyrs[0] = "index";
alllyrs[1] = "whtxpct";
alllyrs[2] = "thngscnsdr";
alllyrs[3] = "pkgsoffrd1";
alllyrs[4] = "pkgsoffrd2";
alllyrs[5] = "pkgsoffrd3";
alllyrs[6] = "pkgsoffrd4";
var pbut = "prevbut";
var nbut = "nextbut";
var ibut = "indexbut";
function navlayrs(directn) {
  var arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15;
  var jay, g, arg;
  var curlay, alayvis;

  // default to showing all of the buttons
  var pbutstate = "show";
  var nbutstate = "show";
  var ibutstate = "show";

  // determine the active layer
  for (g=0; g<(alllyrs.length); g++) {
    if (navigator.appName == 'Netscape' && document.layers != null) {
      arg = "document.layers['" + alllyrs[g] + "'].visibility";
      alayvis = eval(arg);
      if (alayvis == "show"){
         curlay = alllyrs[g];
         break;
      } 
    } else if (document.all != null) { //IE
      arg = "document.all['" + alllyrs[g] + "'].style.visibility";
      alayvis = eval(arg);
      if (alayvis == "visible"){
         curlay = alllyrs[g];
         break;
      } 
    }
  }

  for (jay=0; jay<(alllyrs.length); jay++) {
    if (alllyrs[jay] == curlay) {

      // hide the current layer
      arg1 = "document.layers['" + curlay + "']";
      arg2 = "document.all['" + curlay + "']";
      arg3 = "hide";

      // set the current layer and the button states
      if (directn == "for"){
        // set the new current layer to the next one
        if (jay >= alllyrs.length-2){
          curlay = alllyrs[alllyrs.length-1];
          nbutstate = 'hide';
	}else{
          curlay = alllyrs[jay+1];
        }
      } else if (directn == "back"){ 
        // set the new current layer to the previous one
        if (jay <= 1){
          curlay = alllyrs[0];
          pbutstate = 'hide';
	}else{
          curlay = alllyrs[jay-1];
        }
      } else { 
        // set the new current layer to index
          curlay = indexlay;
        // need to set the the button state because the index layer 
        // happens to be the first one
          pbutstate = 'hide';
      }
      break;
    }
  }

  // show the new layer
  arg4 = "document.layers['" + curlay + "']";
  arg5 = "document.all['" + curlay + "']";
  arg6 = "show";

  // if this is the index page then hide the index and previous buttons
  if (curlay == indexlay){
    pbutstate = 'hide';
    ibutstate = 'hide';
  }

  // if this is the 2nd page then hide the previous button
  if (curlay == whatlay){
    pbutstate = 'hide';
  }

  // setup the buttons
  arg7 = "document.layers['" + pbut + "']";
  arg8 = "document.all['" + pbut + "']";
  arg9 = pbutstate;
  arg10 = "document.layers['" + nbut + "']";
  arg11 = "document.all['" + nbut + "']";
  arg12 = nbutstate;
  arg13 = "document.layers['" + ibut + "']";
  arg14 = "document.all['" + ibut + "']";
  arg15 = ibutstate;
  
  // display the current layer and hide previous
  jay_showHideLayers(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15);
}

function jay_showHideLayers() {
  var i, visStr, jargs, theObj;
  jargs = jay_showHideLayers.arguments;
  for (i=0; i<(jargs.length-2); i+=3) { //with arg triples (objNS,objIE,visStr)
    visStr   = jargs[i+2];
    if (navigator.appName == 'Netscape' && document.layers != null) {
      theObj = eval(jargs[i]);
      if (theObj) theObj.visibility = visStr;
    } else if (document.all != null) { //IE
      if (visStr == 'show') visStr = 'visible'; //convert vals
      if (visStr == 'hide') visStr = 'hidden';
      theObj = eval(jargs[i+1]);
      if (theObj) theObj.style.visibility = visStr;
  } }
}
//-->