var y1 = 245;   // change the # on the left to adjuct the Y co-ordinate
var x1 = 604;

(document.getElementById) ? dom = true : dom = false;

function hideIt() {
  if (dom) {document.getElementById("layerScroll").style.visibility='hidden';}
  if (document.layers) {document.layers["layerScroll"].visibility='hide';} 
}

function showIt() {
  if (dom) {document.getElementById("layerScroll").style.visibility='visible';}
  if (document.layers) {document.layers["layerScroll"].visibility='show';} }

function placeIt() {
  if (dom && !document.all) {document.getElementById("layerScroll").style.top = window.pageYOffset + (window.innerHeight - (window.innerHeight-y1));document.getElementById("layerScroll").style.left=x1;}
  if (document.layers) {document.layers["layerScroll"].top = window.pageYOffset + (window.innerHeight - (window.innerHeight-y1));document.layers["layerScroll"].left=x1;}
  if (document.all) {document.all["layerScroll"].style.top = document.body.scrollTop + (document.body.clientHeight - (document.body.clientHeight-y1));document.all["layerScroll"].style.left=x1;}
  //window.setTimeout("placeIt()", 20); 
}

function placeItFooter() {
  if (dom && !document.all) {document.getElementById("footer").style.top = window.pageYOffset + (window.innerHeight - (window.innerHeight-(window.innerHeight-25)));document.getElementById("footer").style.left=0;}
  if (document.layers) {document.layers["footer"].top = window.pageYOffset + (window.innerHeight - (window.innerHeight-(window.innerHeight-25)));document.layers["footer"].left=0;}
  if (document.all) {document.all["footer"].style.top = document.body.scrollTop + (document.body.clientHeight - (document.body.clientHeight-(document.body.clientHeight-25)));document.all["footer"].style.left=0;}
}

function place() {
	/*placeIt();
	placeItFooter();
	window.setTimeout("place()", 20); */
}
//window.onload=place;


