﻿// JScript File
/*
        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
        */

//These functions are called from SaabGroup/Web/Scripts/windowload.js
function setVariables() {
if (document.layers) {
    v=".top=";
    dS="document.";
    sD="";
    y="window.pageYOffset";
}
else if (document.all){
    v=".pixelTop=";
    dS="";
    sD=".style";
    if(document.compatMode && document.compatMode != "BackCompat")
        y="document.documentElement.scrollTop";
    else 
	    y = "document.body.scrollTop";
}
else if (document.getElementById){
    y="window.pageYOffset";
}   
}
function checkLocation() {
   object="editmenu";
   yy=eval(y);
   if (document.getElementById)
        document.getElementById(object).style.top=yy
   else
        eval(dS+object+sD+v+yy)
        setTimeout("checkLocation()",10);
}
    








  