<!--
// Style-writing script for Human Action pages
function initfoot() {  // set top property for footer division;
  if (d.getElementById) {  // get the elements you're working with;
  var h = d.getElementById('head');
  var l = d.getElementById('barl');
  var m = d.getElementById('main');
  var r = d.getElementById('barr');
  var f = d.getElementById('foot');
  l.style.top = 20 + h.offsetHeight + h.offsetTop  // move for header section;
  m.style.top = 20 + h.offsetHeight + h.offsetTop;
  r.style.top = 20 + h.offsetHeight + h.offsetTop;
  var lht = l.offsetHeight + l.offsetTop;
  var mht = m.offsetHeight + m.offsetTop;
  var rht = r.offsetHeight + r.offsetTop;
  var maxht = 15 + Math.max(lht,mht,rht);
  f.style.top = maxht + "px";
  }
  else {  // assume Netscape 4, which needs some extra help
    var wide = screen.width - 24;
    var h = d.layers['head'];
    var l = d.layers['barl'];
    var m = d.layers['main'];
    var r = d.layers['barr'];
    var f = d.layers['foot'];
    l.top = 20 + h.top + h.clip.height  // move for header;
    m.top = 20 + h.top + h.clip.height;
    r.top = 20 + h.top + h.clip.height;
    var lht = l.top + l.clip.height;
    var mht = m.top + m.clip.height;
    var rht = r.top + r.clip.height;
    var maxht = 15 + Math.max(lht,mht,rht);
    f.top = maxht  // move footer to bottom;
    d.height = f.clip.height + f.top  // patch up total document height;
    l.clip.width = (9*wide)/100; r.clip.width = (9*wide)/100  // fix width of menu bars;
    l.clip.height += 10; r.clip.height += 10;
    }
}  // end of function initfoot()

// Output some style sheet stuff
  var s1 = "{position: absolute; ";
  var s2 = "background-color: ";
  var s3 = "height: auto; width: ";
  var s4 = "top: 200px; left: ";
  var s5 = "#FFF7F7; ";
  if(p.name == "names") s5 = "#F7F7FF; ";
  var s6 = "padding-top: 10px; padding-bottom: 10px;} ";
  if (!b.isNtscp || b.ver >= 5) {  // use percentages if new browser;
  d.write('<style type="text/css"> div.header ' + s1 + 'top: 140px; left: 0px; ' + s3 + '100%; text-align: center;} ');
  d.write('div.left '+ s1 + s4 + '1%; ' + s3 + '9%; ' + s2 + s5 + s6);
  d.write('div.mid ' + s1 + s4 + '11%; ' + s3 + '78%; ' + s2 + 'white;} ');
  d.write('div.right ' + s1 + s4 + '90%; ' + s3 + '9%; ' + s2 + s5 + s6);
  d.write('div.footer ' + s1 + 'top: 800px; left: 1%; ' + s3 + '98%; ' + s2 + 'white;} </style>');
  }
    else {  // figure it out for NS 4;
    var wide = screen.width - 24;
    d.write('<style type="text/css"> div.header ' + s1 + 'top: 140px; left: 0px; ' + s3 + wide + 'px; text-align: center;} ');
    d.write('div.left ' + s1 + s4 + wide/100 + 'px; ' + s3 + (9*wide)/100 + 'px; ' + s2 + s5 + s6);
    d.write('div.mid ' + s1 + s4 + (11*wide)/100 + 'px; ' + s3 + (78*wide)/100 + 'px; ' + s2 + 'white;} ');
    d.write('div.right ' + s1 + s4 + (9*wide)/10 + 'px; ' + s3 + (9*wide)/100 + 'px; ' + s2 + s5 + s6);
    d.write('div.footer ' + s1 + 'top: 800px; left: ' + wide/100 + 'px; ' + s3 + (98*wide)/100 + 'px; ' + s2 + 'white;} </style>');
    }
// -->
