var y1 = 20;   // change the # on the left to adjuct the Y co-ordinate
(document.getElementById) ? dom = true : dom = false;

function hideIt1() {
  if (dom) {document.getElementById("layer1").style.visibility='hidden';}
  if (document.layers) {document.layers["layer1"].visibility='hide';} }

function showIt1() {
  if (dom) {document.getElementById("layer1").style.visibility='visible';}
  if (document.layers) {document.layers["layer1"].visibility='show';} }

function placeIt1() {
  if (dom && !document.all) {document.getElementById("layer1").style.top = window.pageYOffset + (window.innerHeight - (window.innerHeight-y1))}
  if (document.layers) {document.layers["layer1"].top = window.pageYOffset + (window.innerHeight - (window.innerHeight-y1))}
  if (document.all) {document.all["layer1"].style.top = document.body.scrollTop + (document.body.clientHeight - (document.body.clientHeight-y1));}
  window.setTimeout("placeIt1()", 10); }

window.onload=placeIt1();
onResize="window.location.href = window.location.href"

//2

var y1 = 20;   // change the # on the left to adjuct the Y co-ordinate
(document.getElementById) ? dom = true : dom = false;

function hideIt2() {
  if (dom) {document.getElementById("layer2").style.visibility='hidden';}
  if (document.layers) {document.layers["layer2"].visibility='hide';} }

function showIt2() {
  if (dom) {document.getElementById("layer2").style.visibility='visible';}
  if (document.layers) {document.layers["layer2"].visibility='show';} }

function placeIt2() {
  if (dom && !document.all) {document.getElementById("layer2").style.top = window.pageYOffset + (window.innerHeight - (window.innerHeight-y1))}
  if (document.layers) {document.layers["layer2"].top = window.pageYOffset + (window.innerHeight - (window.innerHeight-y1))}
  if (document.all) {document.all["layer2"].style.top = document.body.scrollTop + (document.body.clientHeight - (document.body.clientHeight-y1));}
  window.setTimeout("placeIt2()", 10); }

window.onload=placeIt2();
onResize="window.location.href = window.location.href"

//3
var y1 = 20;   // change the # on the left to adjuct the Y co-ordinate
(document.getElementById) ? dom = true : dom = false;

function hideIt3() {
  if (dom) {document.getElementById("layer3").style.visibility='hidden';}
  if (document.layers) {document.layers["layer3"].visibility='hide';} }

function showIt3() {
  if (dom) {document.getElementById("layer3").style.visibility='visible';}
  if (document.layers) {document.layers["layer3"].visibility='show';} }

function placeIt3() {
  if (dom && !document.all) {document.getElementById("layer3").style.top = window.pageYOffset + (window.innerHeight - (window.innerHeight-y1))}
  if (document.layers) {document.layers["layer3"].top = window.pageYOffset + (window.innerHeight - (window.innerHeight-y1))}
  if (document.all) {document.all["layer3"].style.top = document.body.scrollTop + (document.body.clientHeight - (document.body.clientHeight-y1));}
  window.setTimeout("placeIt3()", 10); }

window.onload=placeIt3();
onResize="window.location.href = window.location.href"


