var x1 = 550;  // change the # on the left to adjuct the X co-ordinate
var y1 = 500;   // change the # on the left to adjuct the Y co-ordinate

(document.getElementById && !document.all) ? dom = true : dom = false;

function typeStart() {
  if (dom) {
    document.write('<div id="logoBox" style="position:absolute; left:' + (window.innerWidth-x1) + 'px; visibility:visible">') }
  if (document.all) {
    document.write('<div id="logoBox" style="position:absolute; left:' + (document.body.clientWidth-x1) + 'px; visibility:visible">') }
 }

function typeEnd() {
  if (document.all || dom) { document.write('</div>') }
 }

function placeIt() {
   
  if (dom) 
  {
  	if (window.pageYOffset <= 1000)
  		document.getElementById("logoBox").style.visibility = 'hidden';
  	else
  		document.getElementById("logoBox").style.visibility = 'visible';
  		
	document.getElementById("logoBox").style.top = window.pageYOffset + y1 + "px";
	document.getElementById("logoBox").style.left = window.pageXOffset + x1 + "px";
  }
  if (document.all) 
  {
  	if (document.documentElement.scrollTop <= 1000)
  		document.getElementById("logoBox").style.visibility = 'hidden'; 
  	else
  		document.getElementById("logoBox").style.visibility = 'visible'; 
  		
  		
	document.all["logoBox"].style.top = document.documentElement.scrollTop + y1 + "px";
    document.all["logoBox"].style.left = document.documentElement.scrollLeft + x1 + "px";
  }
  window.setTimeout("placeIt()", 10);
 }