
<!--
topW = 40;
topH = 80;
topX = 100;
topY = 100;
topRefresh = 10;

if (!document.all) document.all = document;
if (!document.all.miltop.style) document.all.miltop.style = document.all.miltop;

wtop = document.all.miltop.style;
wtop.width = topW;
wtop.height = topH;
navDOM = window.innerHeight;
 
function setVals() {
 barW = 0;
 barH = 0;
 if (navDOM) {
  if (document.height > innerHeight) barW = 20;
  if (document.width > innerWidth) barH = 20;
  } else {
  innerWidth = document.body.clientWidth;
  innerHeight = document.body.clientHeight;
  }
 posX = ((innerWidth - topW)-barW) * (topX/100);
 posY = ((innerHeight - topH)-barH) * (topY/100);
 }

function wRefresh() {
 wtop.left = posX + (navDOM?pageXOffset:document.body.scrollLeft);
 wtop.top = posY + (navDOM?pageYOffset:document.body.scrollTop);
 }

function topMe() {
 setVals();
 window.onresize=setVals;
 topID = setInterval ("wRefresh()",topRefresh);
 }

window.onload=topMe