<!--
    // BROWSER OBJEKT
    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 = getFrameBreite;
    	this.getFrameHoehe = getFrameHoehe;    	
    }
    
    function getFrameBreite()
    {
    	if (this.ie) 
    	{
    		return document.body.clientWidth;
    	}
        else
        {
    		return window.innerWidth;
    	}
    }

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

    /* HIER BROWSER OBJECT INITIALISIEREN */
    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;
    
    /* HIER DIV-Variablen */
    var div_active = null;
    var div_timer = null;
    
    // Set DIV Koords absolute (false) or attached to mouse (true)
    var div_att_to_mouse = false;

    /* HIER DIV-Funktionen */
    function div_vis(id, visibility)
    {
        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)
    {
        el = document.getElementById(id);
        el.style.background = color;
    }

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

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