    function centerOwner(file,width,height,sl,tl,ml,rl,ll,rsa,top,left) {

        var properties;

        if(navigator.appName == "Microsoft Internet Explorer") {
            var startY = (self.screenTop + (document.body.clientHeight/2) - (height/2)) -20;
            var startX = self.screenLeft + (document.body.clientWidth/2) - (width/2);
            properties = "width="+width+",height="+height+",left="+startX+",top="+startY+",toolbar="+tl+",status="+sl+",menubar="+ml+",location="+ll+",scrollbars="+rl+",resizable="+rsa;
        }//if

        else {
            var startX = window.screenX + (window.outerWidth/2) - (width/2);
            var startY = (window.screenY + (window.outerHeight/2) - (height/2));
            properties = "width="+width+",height="+height+",screenX="+startX+",screenY="+startY+",toolbar="+tl+",status="+sl+",menubar="+ml+",location="+ll+",scrollbars="+rl+",resizable="+rsa;
        }//else
        var myWindow = window.open(file,getName(),properties);
    }//centerOwner

    function centerScreen(file,width,height,sl,tl,ml,rl,ll,rsa,top,left) {

        var properties;
        if(navigator.appName == "Microsoft Internet Explorer") {
            var startY = (self.screen.height/2) - (height/2);
            var startX = (self.screen.width/2) - (width/2);
            properties = "width="+width+",height="+height+",left="+startX+",top="+startY+",toolbar="+tl+",status="+sl+",menubar="+ml+",location="+ll+",scrollbars="+rl+",resizable="+rsa;
        }//if

        else {
            var startX = (self.screen.width/2) - (width/2);
            var startY = (self.screen.height/2) - (height/2);
            properties = "width="+width+",height="+height+",screenX="+startX+",screenY="+startY+",toolbar="+tl+",status="+sl+",menubar="+ml+",location="+ll+",scrollbars="+rl+",resizable="+rsa;
        }//else
        var myWindow = window.open(file,getName(),properties);
    }//centerScreen

    function absoluteScreen(file,width,height,sl,tl,ml,rl,ll,rsa,top,left) {
        var properties;
        var startY = top;
        var startX = left;

        if(navigator.appName == "Microsoft Internet Explorer") {
            properties = "width="+width+",height="+height+",left="+startX+",top="+startY+",toolbar="+tl+",status="+sl+",menubar="+ml+",location="+ll+",scrollbars="+rl+",resizable="+rsa;
        }//if

        else {
            properties = "width="+width+",height="+height+",screenX="+startX+",screenY="+startY+",toolbar="+tl+",status="+sl+",menubar="+ml+",location="+ll+",scrollbars="+rl+",resizable="+rsa;
        }//else

        var myWindow = window.open(file,getName(),properties);
    }//absoluteScreen

    function defaultScreen(file,width,height,sl,tl,ml,rl,ll,rsa,top,left) {
        var properties;

        properties = "width="+width+",height="+height+",toolbar="+tl+",status="+sl+",menubar="+ml+",scrollbars="+rl+",location="+ll+",resizable="+rsa;

        var myWindow = window.open(file,getName(),properties);
    }//absoluteScreen

    function getName() {
        var now = new Date();
        var then = new Date(1976,22,10);
        return "newWindow" + (now - then);
    }

    function gotoIndex(index) {
        try {
            if(document.getElementById(index).href) {
                top.location.href = "#"+index
            } else {
                alert("Dette var sidste fundne ord");
            }
        } catch (e) {
            alert("Dette var sidste fundne ord");
        }
    }

    function hlme(mode,index) {
        if(mode) {
            document.getElementById(index).style.color = HLColorOn;
            document.getElementById(index).style.backgroundColor = HLBackgroundOn;
        } else {
            document.getElementById(index).style.color = HLColorOff;
            document.getElementById(index).style.backgroundColor = HLBackgroundOff;
        }
    }
