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

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

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

function placeIt() 
{

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

onResize="window.location.href = window.location.href"

function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func;
  } else {
    window.onload = function() {
      if (oldonload) {
        oldonload();
      }
      func();
    }
  }
}
addLoadEvent(function() {	  
  placeIt();
});

