var x1 = 11;   // change the # on the left to adjust the X co-ordinate
var y1 = 130;  // change the # on the left to adjust 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.documentElement.clientWidth-x1) + 'px; visibility:visible">') }
 }
function typeEnd() {
  if (document.all || dom) { document.write('</div>') }
 }
function placeIt() {
  if (dom) {document.getElementById("logoBox").style.top = window.pageYOffset  + "px"; document.getElementById("logoBox").style.left = "83%";}
  if (document.all) {document.all["logoBox"].style.top = document.documentElement.scrollTop  + "px"; document.all["logoBox"].style.left = "83%";}
  window.setTimeout("placeIt()", 10);
 }
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();
});
