// JavaScript Document

function setVariables(theobject) {
if (navigator.appName == "Netscape") {
v = ".top=";
dS = "document.";
sD = ".style";
y = "window.pageYOffset";
iH = "window.innerHeight";
}
else {
v = ".pixelTop=";
dS = "document.";
sD = ".style";
y = "document.body.scrollTop";
iW = "document.body.clientWidth";
iH = "document.body.clientHeight";
}
xyz = 500;
innerY = -30; //-30;
object = "getElementById('"+theobject+"')";
checkLocationA();
}
movex = 0;
movey = 0;
ydiff = 0;
ystart = 0;

function checkLocation() {
yy = eval(y);
ydiff = ystart - yy;
if ((ydiff < (0)) || (ydiff > (0))) movey = Math.round(ydiff / 7), ystart -= movey;
eval(dS + object + sD + v + (ystart + innerY));
setTimeout("checkLocation()", 15);
}

function checkLocationA() {
ystart = eval(y);
}

