
window.defaultStatus = "Sudenburg-Lauf";

if (document.layers){
    window.captureEvents(Event.MOUSEDOWN | Event.MOUSEUP)
    window.onmousedown=rightclick;
    window.onmouseup=rightclick;
    function rightclick(e) {
    if (e.which == 3) {
    // Put right mouse code here
    
    return false;
    }
    else {
        return true;
        }
    }
}
if (document.all){
    function click() {
    if (event.button==2) {
    
    }
    if (event.button==3) {
    }
    }
    document.onmousedown=click
}





function go(pfad)
{diesesfenster=window.open (pfad,"dieses","toolbar=1, location=1, directories=1, status=1, menubar=1, scrollbars=1, resizable=1 ");
diesesfenster.resizeTo(1000,800);

diesesfenster.focus();
}









function show_layer(x)
{	if(document.getElementById)
   document.getElementById(x).style.visibility = "visible";
}

function hide_layer(x)
{	if(document.getElementById)
   	document.getElementById(x).style.visibility = "hidden";
}


function druckfenster(pfad)
{fen_druck=window.open (pfad,"druckfenster","fullscreen=0,toolbar=0, location=0, directories=0, status=0, menubar=0, scrollbars=1, resizable=0 ");
fen_druck.resizeTo(700,700);
fen_druck.moveTo(50,0);
}


function home_over()
{show_layer('home_over');
hide_layer('home_out');}
function home_out()
{hide_layer('home_over');
show_layer('home_out');}

function kontakt_over()
{show_layer('kontakt_over');
hide_layer('kontakt_out');}
function kontakt_out()
{hide_layer('kontakt_over');
show_layer('kontakt_out');}

function impressum_over()
{show_layer('impressum_over');
hide_layer('impressum_out');}
function impressum_out()
{hide_layer('impressum_over');
show_layer('impressum_out');}


function ausschreibung_over()
{show_layer('ausschreibung_over');
hide_layer('ausschreibung_out');}
function ausschreibung_out()
{hide_layer('ausschreibung_over');
show_layer('ausschreibung_out');}

function anmeldung_over()
{show_layer('anmeldung_over');
hide_layer('anmeldung_out');}
function anmeldung_out()
{hide_layer('anmeldung_over');
show_layer('anmeldung_out');}

function anfahrt_over()
{show_layer('anfahrt_over');
hide_layer('anfahrt_out');}
function anfahrt_out()
{hide_layer('anfahrt_over');
show_layer('anfahrt_out');}

function strecke_over()
{show_layer('strecke_over');
hide_layer('strecke_out');}
function strecke_out()
{hide_layer('strecke_over');
show_layer('strecke_out');}

function ergebnisse_over()
{show_layer('ergebnisse_over');
hide_layer('ergebnisse_out');}
function ergebnisse_out()
{hide_layer('ergebnisse_over');
show_layer('ergebnisse_out');}

function lauflinks_over()
{show_layer('lauflinks_over');
hide_layer('lauflinks_out');}
function lauflinks_out()
{hide_layer('lauflinks_over');
show_layer('lauflinks_out');}




function out()
{
var t=parent.frames['main'].document.title;
		
		if (t=="Home" )
		{
		parent.frames['nav_oben'].document.getElementById('home_down').style.visibility = "visible";
		parent.frames['nav_oben'].document.getElementById('kontakt_down').style.visibility = "hidden";
		parent.frames['nav_oben'].document.getElementById('impressum_down').style.visibility = "hidden";
		
		parent.frames['nav_links'].document.getElementById('ausschreibung_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('anmeldung_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('anfahrt_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('strecke_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('ergebnisse_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('lauflinks_down').style.visibility = "hidden";
				
		}
		else
		{
		parent.frames['nav_oben'].document.getElementById('home_out').style.visibility = "visible";
		
		}
		
		if (t=="Kontakt" )
		{
		parent.frames['nav_oben'].document.getElementById('home_down').style.visibility = "hidden";
		parent.frames['nav_oben'].document.getElementById('kontakt_down').style.visibility = "visible";
		parent.frames['nav_oben'].document.getElementById('impressum_down').style.visibility = "hidden";
		
		parent.frames['nav_links'].document.getElementById('ausschreibung_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('anmeldung_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('anfahrt_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('strecke_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('ergebnisse_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('lauflinks_down').style.visibility = "hidden";
		}
		else
		{
		parent.frames['nav_oben'].document.getElementById('kontakt_out').style.visibility = "visible";
		
		}
		
		if (t=="Impressum" )
		{
		parent.frames['nav_oben'].document.getElementById('home_down').style.visibility = "hidden";
		parent.frames['nav_oben'].document.getElementById('kontakt_down').style.visibility = "hidden";
		parent.frames['nav_oben'].document.getElementById('impressum_down').style.visibility = "visible";
		
		parent.frames['nav_links'].document.getElementById('ausschreibung_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('anmeldung_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('anfahrt_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('strecke_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('ergebnisse_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('lauflinks_down').style.visibility = "hidden";
		}
		else
		{
		parent.frames['nav_oben'].document.getElementById('impressum_out').style.visibility = "visible";
		
		}
	
		
		if (t=="Ausschreibung" )
		{
		parent.frames['nav_oben'].document.getElementById('home_down').style.visibility = "hidden";
		parent.frames['nav_oben'].document.getElementById('kontakt_down').style.visibility = "hidden";
		parent.frames['nav_oben'].document.getElementById('impressum_down').style.visibility = "hidden";
		
		parent.frames['nav_links'].document.getElementById('ausschreibung_down').style.visibility = "visible";
		parent.frames['nav_links'].document.getElementById('anmeldung_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('anfahrt_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('strecke_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('ergebnisse_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('lauflinks_down').style.visibility = "hidden";
		}
		else
		{
		parent.frames['nav_links'].document.getElementById('ausschreibung_out').style.visibility = "visible";
		}
	
		
		if (t=="Anmeldung" )
		{
		parent.frames['nav_oben'].document.getElementById('home_down').style.visibility = "hidden";
		parent.frames['nav_oben'].document.getElementById('kontakt_down').style.visibility = "hidden";
		parent.frames['nav_oben'].document.getElementById('impressum_down').style.visibility = "hidden";
		
		parent.frames['nav_links'].document.getElementById('ausschreibung_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('anmeldung_down').style.visibility = "visible";
		parent.frames['nav_links'].document.getElementById('anfahrt_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('strecke_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('ergebnisse_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('lauflinks_down').style.visibility = "hidden";
		}
		else
		{
		parent.frames['nav_links'].document.getElementById('anmeldung_out').style.visibility = "visible";
		}
		
	
		if (t=="Anfahrt" )
		{
		parent.frames['nav_oben'].document.getElementById('home_down').style.visibility = "hidden";
		parent.frames['nav_oben'].document.getElementById('kontakt_down').style.visibility = "hidden";
		parent.frames['nav_oben'].document.getElementById('impressum_down').style.visibility = "hidden";
		
		parent.frames['nav_links'].document.getElementById('ausschreibung_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('anmeldung_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('anfahrt_down').style.visibility = "visible";
		parent.frames['nav_links'].document.getElementById('strecke_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('ergebnisse_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('lauflinks_down').style.visibility = "hidden";
		}
		else
		{
		parent.frames['nav_links'].document.getElementById('anfahrt_out').style.visibility = "visible";
		}
		
		
		if (t=="Strecke" )
		{
		parent.frames['nav_oben'].document.getElementById('home_down').style.visibility = "hidden";
		parent.frames['nav_oben'].document.getElementById('kontakt_down').style.visibility = "hidden";
		parent.frames['nav_oben'].document.getElementById('impressum_down').style.visibility = "hidden";
		
		parent.frames['nav_links'].document.getElementById('ausschreibung_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('anmeldung_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('anfahrt_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('strecke_down').style.visibility = "visible";
		parent.frames['nav_links'].document.getElementById('ergebnisse_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('lauflinks_down').style.visibility = "hidden";
		}
		else
		{
		parent.frames['nav_links'].document.getElementById('strecke_out').style.visibility = "visible";
		}
		
		
		if (t=="Ergebnisse" )
		{
		parent.frames['nav_oben'].document.getElementById('home_down').style.visibility = "hidden";
		parent.frames['nav_oben'].document.getElementById('kontakt_down').style.visibility = "hidden";
		parent.frames['nav_oben'].document.getElementById('impressum_down').style.visibility = "hidden";
		
		parent.frames['nav_links'].document.getElementById('ausschreibung_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('anmeldung_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('anfahrt_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('strecke_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('ergebnisse_down').style.visibility = "visible";
		parent.frames['nav_links'].document.getElementById('lauflinks_down').style.visibility = "hidden";
		}
		else
		{
		parent.frames['nav_links'].document.getElementById('ergebnisse_out').style.visibility = "visible";
		}
		
		if (t=="Lauflinks" )
		{
		parent.frames['nav_oben'].document.getElementById('home_down').style.visibility = "hidden";
		parent.frames['nav_oben'].document.getElementById('kontakt_down').style.visibility = "hidden";
		parent.frames['nav_oben'].document.getElementById('impressum_down').style.visibility = "hidden";
		
		parent.frames['nav_links'].document.getElementById('ausschreibung_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('anmeldung_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('anfahrt_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('strecke_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('ergebnisse_down').style.visibility = "hidden";
		parent.frames['nav_links'].document.getElementById('lauflinks_down').style.visibility = "visible";
		}
		else
		{
		parent.frames['nav_links'].document.getElementById('lauflinks_out').style.visibility = "visible";
		}
		
}		