var popy1 = 150;   // change the # on the left to adjust the Y co-ordinate
(document.getElementById) ? dom = true : dom = false;

function hideItdark2() {
  if (dom) {document.getElementById("darklayer2").style.visibility='hidden';}
  if (document.layers) {document.layers["darklayer2"].visibility='hide';}
}

function showItdark2() {
  if (dom) {document.getElementById("darklayer2").style.visibility='visible';}
  if (document.layers) {document.layers["darklayer2"].visibility='show';}
}

function placeItdark2() {
  if (dom && !document.all) {document.getElementById("darklayer2").style.top = window.pageYOffset + (window.innerHeight - (window.innerHeight))}
  if (document.layers) {document.layers["darklayer2"].top = window.pageYOffset + (window.innerHeight - (window.innerHeight))}
  if (document.all) {document.all["darklayer2"].style.top = document.body.scrollTop + (document.body.clientHeight - (document.body.clientHeight));}
  window.setTimeout("placeItdark2()", 10); }
