  function SteuerEbenen(URL1,F0,URL2,F1)
     {  
      parent.frames[F0].location.href=URL1;
      parent.frames[F1].location.href=URL2;
     }
    
	                     
if (document.layers) {
        firstBit='document.layers["';
        secondBit='"]';
        styleRef='';
        leftVar='.left';
        topVar='.top';
        heightVar='.clip.height';
        widthVar='.clip.width';
        function checksize() {
                                if (maxheadroom != window.innerHeight || wideload != window.innerWidth) {
                                        document.location=document.location;
                                        }
                                }
        var maxheadroom = window.innerHeight;
        var wideload = window.innerWidth;
        window.captureEvents(Event.RESIZE);
        window.onresize = checksize;
} else if (document.all) {
        firstBit='document.all["';
        secondBit='"]';
        styleRef='.style';
        leftVar='.posLeft';
        topVar='.posTop';
        heightVar='.clientHeight';
        widthVar='.clientWidth';
} else if (document.getElementById) {
        firstBit='document.getElementById("';
        secondBit='")';
        styleRef='.style';
        leftVar='.left';
        topVar='.top';
        heightVar='.offsetHeight';
        widthVar='.offsetWidth';
}

function showLayer(layerName){
        if ( eval(firstBit+layerName+secondBit) ) {
                eval(firstBit+layerName+secondBit+styleRef+'.visibility="visible"');
        }
}

function hideLayer(layerName){
        if ( eval(firstBit+layerName+secondBit) ) {
                eval(firstBit+layerName+secondBit+styleRef+'.visibility="hidden"');
        }
}

function getXpos(layerName) {
        return eval(firstBit+layerName+secondBit+styleRef+leftVar);
}

function getYpos(layerName) {
        return eval(firstBit+layerName+secondBit+styleRef+topVar);
}

function getHeight(layerName) {
        return eval(firstBit+layerName+secondBit+heightVar);
 }
 
 function getWidth(layerName) {
        return eval(firstBit+layerName+secondBit+widthVar);
 }
        
function moveLayer(layerName,whereToX,whereToY) {
        eval(firstBit+layerName+secondBit+styleRef+leftVar+'='+whereToX);
        eval(firstBit+layerName+secondBit+styleRef+topVar+'='+whereToY);
}

function scrollTextDown(layerName,upArrow,downArrow,topStop,inc) {

        if (parseInt(getYpos(layerName)) < topStop) {
                moveLayer(layerName,parseInt(getXpos(layerName)),parseInt(getYpos(layerName))+inc);
                showLayer(downArrow);
                scrolling=setTimeout('scrollTextDown("'+layerName+'","'+upArrow+'","'+downArrow+'",'+topStop+','+inc+')',10);
        } else {
                hideLayer(upArrow);
        }
}

function scrollTextUp(layerName,upArrow,downArrow,bottomStop,inc) {

        if (parseInt(getYpos(layerName))>bottomStop-parseInt(getHeight(layerName))) {
                moveLayer(layerName,parseInt(getXpos(layerName)),parseInt(getYpos(layerName))-inc);
                showLayer(upArrow);
                scrolling=setTimeout('scrollTextUp("'+layerName+'","'+upArrow+'","'+downArrow+'",'+bottomStop+','+inc+')',10);
        } else {
                hideLayer(downArrow);
        }
}

scrolling = null;

function stopScrolling() {
        clearTimeout(scrolling);
}

function showScroller(layerName,downArrow,minSize) {
        if (parseInt(getHeight(layerName))>minSize) {
                showLayer(downArrow);
        } else {
                hideLayer(downArrow);
        }
}var activeLayer="dummylayer";
var scrolling = 0;

function display(layerName) {
        if (activeLayer != layerName) {
                hideLayer(activeLayer);
                showLayer(layerName);
                showLayer("mousetrap");
                activeLayer=layerName;
        }
}

function clearLayers() {
        hideLayer(activeLayer);
        hideLayer("mousetrap");
        activeLayer="dummylayer";
}
     

function newWindow()
         {
          Fenster = window.open("","popup","height=620,width=630,resizable=yes,scrollbars=yes,status=0,menubar=0,toolbar=0,location=0,directories=0,left=170,top=25");
      Fenster.focus();
         }
      
function newWindow2()
         {
          Fenster = window.open("","popup","height=800,width=630,resizable=yes,scrollbars=yes,status=0,menubar=0,toolbar=0,location=0,directories=0,left=170,top=25");
      Fenster.focus();
         }      