<!--//--><![CDATA[//><!--

    //Funktion zum Ein- und Ausblenden der Hauptmenueunterpunkte
    sfHover = function() {
        var sfEls = document.getElementById("open");	
    		sfEls.onmouseover=function() {
    			this.className+=" sfhover";
    		}
    		sfEls.onmouseout=function() {
    			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
    		}
    	var collection = sfEls.childNodes;
    	for(var e in collection) {
        e.onmouseover = function() {
          sfEls.className+=" sfhover";
        }
        e.onmouseout = function() {
          sfEls.className=sfEls.className.replace(new RegExp(" sfhover\\b"), "");
        }
      }
    }
    if (window.attachEvent) window.attachEvent("onload", sfHover);

    //Funktion zum Ein- und Ausblenden des Mehr Informationen-Fensters von Flash
    var switch_videoextra;
    function videoextra(){
        if(switch_videoextra != "on"){
            document.getElementById("player_area1").style.width = "930px";
            document.getElementById("projektboxen").style.filter = "alpha(opacity=10)";
            document.getElementById("projektboxen").style.opacity = "0.1";
            document.getElementById("projektboxen").style.MozOpacity = "0.1";
            switch_videoextra = "on";
        } else{
            document.getElementById("player_area1").style.width = "550px";
            document.getElementById("projektboxen").style.filter = "alpha(opacity=100)";
            document.getElementById("projektboxen").style.opacity = "1";
            document.getElementById("projektboxen").style.MozOpacity = "1";
            switch_videoextra = "off";
        }
    }
    
    //Funktion zum Aufruf eines Extrafensters
    function fenster(page,width,height){
        //window.alert("Page: "+page+" Width: "+width+" Height: "+height);
        extrafenster = window.open(page,'extrafenster','location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no,width='+ width +',height='+ height +',left=150,top=10');
        if(parseInt(navigator.appVersion)>2){
            extrafenster.focus();
        }        
    }
    
    //Funktionen zum Aus- und Einfahren der Metamenues
    var scriptSwitch = "0";
    var startTop = "-28";
    var endTop = "0";
   	
    function changeContent(){
        if(scriptSwitch == "1"){	
            window.setTimeout("SlideIn()", 5);
            scriptSwitch = "0";
        } else{
            window.setTimeout("SlideOut()", 5);
            scriptSwitch = "1";
        }
    }
    function SlideOut(){
        var currentTop = parseInt(document.getElementById('meta').style.top);
        if(currentTop >= endTop){
            document.getElementById('meta').style.top = endTop+"px";     	
        } else{
            nextTop = currentTop+5;
            document.getElementById('meta').style.top = nextTop+"px";
            window.setTimeout("SlideOut()", 5);
        }
    }
    function SlideIn(){
        var currentTop = parseInt(document.getElementById('meta').style.top);      	
        if(currentTop <= startTop){
            document.getElementById('meta').style.top = startTop+"px";
        } else{
            nextTop = currentTop-5;
            document.getElementById('meta').style.top = nextTop+"px";
            window.setTimeout("SlideIn()", 5);
        }
    }
//--><!]]>