functionsetvariables(){
if(navigator.appname=="netscape"){
v=".top=";
ds="document.";
sd="";
y="window.pageyoffset";
}
else{
v=".pixeltop=";
ds="";
sd=".style";
y="document.body.scrolltop";
}
}
functionchecklocation(){
object="object1";
yy=eval(y);
eval(ds+object+sd+v+yy);
settimeout("checklocation()",10);
}