
/*
Created by Randy Bennet http://home.thezone.net/~rbennett/utility/javahead.htm
Featured on JavaScript Kit (http://javascriptkit.com)
For this and over 400+ free scripts, visit http://javascriptkit.com
*/


function setVariables() {
if (document.layers) {
v=".top=";
dS="document.";
sD="";
y="window.pageYOffset";
}
else if (document.all){
v=".pixelTop=";
dS="";
sD=".style";
y="document.body.scrollTop";
}
else if (document.getElementById){
y="window.pageYOffset";
}
}

function checkLocation() {
object="holdm";
yy=eval(y)/*+15*/;  /* hoogte van de bovenste rand  */
if (document.getElementById)
document.getElementById("holdm").style.top=yy;
else
eval(dS+object+sD+v+yy);
setTimeout("checkLocation()",10);
}



window.onload=function(){
    setVariables();
    checkLocation();
    /* pass the function the id of the top level UL */
    /* remove one, when only using one menu */
    activateMenu('nav'); 

 //   activateMenu('vertnav'); 
placeScrollbox();

}
