<!--
    function Browser()
    {
    	var b = navigator.appName;
    	var version;
    	var v;
    	var ns, ns4, ns5;
    	var ie, ie4, ie5, ie6;
    	var min;

    	if (b == "Netscape")
    	{
    	    this.b = "ns";
    	}
    	else
    	if (b == "Microsoft Internet Explorer")
    	{
    	    this.b = "ie";
    	}
    	else
    	{
    	    this.b = b;
    	}

    	this.version = navigator.appVersion;
    	this.v = parseInt(this.version);
    	this.ns  = (this.b == "ns" && this.v >= 4);
    	this.ns4 = (this.b == "ns" && this.v == 4);
    	this.ns5 = (this.b == "ns" && this.v == 5);
    	this.ie  = (this.b == "ie" && this.v >= 4);
    	this.ie4 = (this.version.indexOf('MSIE 4') > 0);
    	this.ie5 = (this.version.indexOf('MSIE 5') > 0);
    	this.ie6 = (this.version.indexOf('MSIE 6') > 0);
    	this.min = (this.ns || this.ie);

    	this.getFrameBreite = Browser_getFrameBreite;
    	this.getFrameHoehe = Browser_getFrameHoehe;
    	
    	this.getScrollTop = Browser_getScrollTop;
    	this.getScrollLeft = Browser_getScrollLeft;
    	this.getScrollBottom = Browser_getScrollBottom;
    	this.getScrollRight = Browser_getScrollRight;
    }

    function Browser_getFrameBreite()
    {
    	if (this.ie)
    	{
    		return document.body.clientWidth;
    	}
        else
        {
    		return window.innerWidth;
    	}
    }

    function Browser_getFrameHoehe()
    {
        if (this.ie)
        {
            return document.body.clientHeight;
    	}
        else
        {
    		return window.innerHeight;
    	}
    }

    function Browser_getScrollTop()
    {
        if (this.ie)
        {
            return document.body.scrollTop;
        }
        else
        {
            return window.pageYOffset;
        }
    }

    function Browser_getScrollLeft()
    {
        if (this.ie)
        {
            return document.body.scrollLeft;
        }
        else
        {
            return window.pageXOffset;
        }
    }
    
    function Browser_getScrollBottom()
    {
        if (this.ie)
        {
            return document.body.scrollTop + this.getFrameHoehe();
        }
        else
        {
            return window.pageYOffset + this.getFrameHoehe();
        }
    }

    function Browser_getScrollRight()
    {
        if (this.ie)
        {
            return document.body.scrollLeft + this.getFrameBreite();
        }
        else
        {
            return window.pageXOffset + this.getFrameBreite();
        }
    }

    var is = new Browser();
    var mouseX;
    var mouseY;

    function mouseHandle(evt)
    {
        mouseX = (is.ie) ? window.event.clientX : evt.pageX;
        mouseY = (is.ie) ? window.event.clientY : evt.pageY;
    }
    document.onmousemove = mouseHandle;

    var div_active = null;
    var div_timer = null;

    // Set DIV Koords absolute (false) or attached to mouse (true)
    var div_att_to_mouse = true;

    function div_vis(id, visibility)
    {
        var el = document.getElementById(id);
        if (visibility == "visible" || visibility == "hidden")
        {
            el.style.visibility = visibility;
        }
        else
        {
            div_opac(id, visibility);
            el.style.visibility = "visible";
        }

        if (div_att_to_mouse == true)
        {
            el.style.left = mouseX + 5;
            el.style.top = mouseY + 5;
        }

        if (div_active == id && visibility == "hidden")
        {
            div_active = null;
        }
    }

    function div_show(id, opacity)
    {
        if (!opacity)
            opacity = "visible";

        if (div_active == id)
        {
            clearTimeout(div_timer);
        }
        else
        {
            if (div_active != null)
                div_vis(div_active, "hidden");

            div_vis(id, opacity);
            div_active = id;
        }
    }

    function div_hide(id, msek)
    {
        if (!id && !msek)
        {
            if (div_active)
                div_vis(div_active, "hidden");
        }
        else
        if (id && !msek)
        {
            div_vis(id, "hidden");
        }
        else
        {
            div_timer = setTimeout("div_vis(\"" + id + "\", \"hidden\")", msek);
        }
    }

    function div_bg_col(id, color)
    {
        var el = document.getElementById(id);
        el.style.background = color;
    }

    function div_pos(id, left, top)
    {
        var el = document.getElementById(id);
        el.style.left = left;
        el.style.top = top;
    }

    function div_dim(id, width, height)
    {
        var el = document.getElementById(id);
        el.style.width = width;
        el.style.height = height;
    }

    function div_opac(id, opac)
    {
        var el = document.getElementById(id);
        if (!is.ns5)
        {
            el.style.filter="alpha(opacity=" + opac + ")";
        }
        else
        {
            el.style.MozOpacity=opac/100;
        }
    }

    function div_content(id, content)
    {
        var el = document.getElementById(id);
        el.innerHTML = content;
    }
    
    function div_pic(id, path_to_pic)
    {
        var el = document.getElementById(id);
        el.innerHTML = "<img src='" + path_to_pic + "' border='0'>";
    }    
//-->

