var y1 = 25;   // change the # on the left to adjust the Y co-ordinate
var y2 = 173;   // change the # on the left to adjust the Y co-ordinate
var y3 = 0;   // change the # on the left to adjust the Y co-ordinate
(document.getElementById) ? dom = true : dom = false;

function hideIt() {
  if (dom) {document.getElementById("layer1").style.visibility='hidden';}
  if (document.layers) {document.layers["layer1"].visibility='hide';}
  if (dom) {document.getElementById("layer2").style.visibility='hidden';}
  if (document.layers) {document.layers["layer2"].visibility='hide';} }

function hideIt2() {
  if (dom) {document.getElementById("bigbutt1").style.visibility='hidden';}
  if (document.layers) {document.layers["bigbutt1"].visibility='hide';}
  if (dom) {document.getElementById("bigbutt2").style.visibility='hidden';}
  if (document.layers) {document.layers["bigbutt2"].visibility='hide';} }

function showIt() {
  if (dom) {document.getElementById("layer1").style.visibility='visible';}
  if (document.layers) {document.layers["layer1"].visibility='show';} 
  if (dom) {document.getElementById("layer2").style.visibility='visible';}
  if (document.layers) {document.layers["layer2"].visibility='show';} }

function showIt2() {
  if (dom) {document.getElementById("bigbutt1").style.visibility='visible';}
  if (document.layers) {document.layers["bigbutt1"].visibility='show';} 
  if (dom) {document.getElementById("bigbutt2").style.visibility='visible';}
  if (document.layers) {document.layers["bigbutt2"].visibility='show';} }

function placeIt() {
  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));}
  if (dom && !document.all) {document.getElementById("layer2").style.top = window.pageYOffset + (window.innerHeight - (window.innerHeight-y2))}
  if (document.layers) {document.layers["layer2"].top = window.pageYOffset + (window.innerHeight - (window.innerHeight-y2))}
  if (document.all) {document.all["layer2"].style.top = document.body.scrollTop + (document.body.clientHeight - (document.body.clientHeight-y2));}
  if (dom && !document.all) {document.getElementById("bigbutt1").style.top = window.pageYOffset + (window.innerHeight - (window.innerHeight-y3))}
  if (document.layers) {document.layers["bigbutt1"].top = window.pageYOffset + (window.innerHeight - (window.innerHeight-y3))}
  if (document.all) {document.all["bigbutt1"].style.top = document.body.scrollTop + (document.body.clientHeight - (document.body.clientHeight-y3));}
  if (dom && !document.all) {document.getElementById("bigbutt2").style.top = window.pageYOffset + (window.innerHeight - (window.innerHeight-y3))}
  if (document.layers) {document.layers["bigbutt2"].top = window.pageYOffset + (window.innerHeight - (window.innerHeight-y3))}
  if (document.all) {document.all["bigbutt2"].style.top = document.body.scrollTop + (document.body.clientHeight - (document.body.clientHeight-y3));}
  window.setTimeout("placeIt()", 10); }

window.onload=placeIt;
onResize="window.location.href = window.location.href"
