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