// JavaScript Document

// Zellenfarbe (Linke) ändern

 function mOver (zelle)
 {
     zelle.style.cursor = "hand";
     zelle.bgColor = "#20272D";
 }

 function mOut (zelle)
 {
     zelle.style.cursor = "default";
     zelle.bgColor = "#3F403F";
 }

//---------------------------------------------

// auf Hauptseite verweisen

/*if(document.referrer.substring(0,32) != "http://www.fechten-thueringen.de")
{
    window.location.href = "http://www.fechten-thueringen.de";
} */

//-----------------------

<!-- Maissperre --> 
if (document.layers){
window.captureEvents(Event.MOUSEDOWN | Event.MOUSEUP)
window.onmousedown=rightclick;
window.onmouseup=rightclick;
function rightclick(e) {
if (e.which == 3) {
alert('Der Quelltext ist urheberrechtlich geschützt! Daher wurde die rechte Maustaste gesperrt.');
return false;
}
else {
return true;
}
}
}
if (document.all){
function click() {
if (event.button==2) {
alert('Der Quelltext ist urheberrechtlich geschützt! Daher wurde die rechte Maustaste gesperrt.')
}
if (event.button==3) {
alert('Der Quelltext ist urheberrechtlich geschützt! Daher wurde die rechte Maustaste gesperrt.')}
}
document.onmousedown=click
} 
// --------------------

// Link in Stausleiste Ausblenden
/* function statusleiste(){
 window.status ="Herzlich Willkommen beim Thüringer Fechtverband e.V.";
 setTimeout("statusleiste()",1);
}
statusleiste(); */

// --------------

// *** Fügt eine E-Mail-Adresse ein ***

// Popup 

function popup_pdf(URL) {
w = window.open(URL, "", "toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=850,fullscreen=0,height=500,left = 25,top = 25");
}

function popup_2(URL) {
w = window.open(URL, "", "toolbar=0,scrollbars=1,location=0,statusbar=1,menubar=0,resizable=0,width=850,fullscreen=0,height=500,left = 25,top = 25");
}

function popup_KD(URL) {
w = window.open(keinDoku.php, "", "toolbar=0,scrollbars=1,location=0,statusbar=1,menubar=0,resizable=0,fullscreen=0,width=250,height=100,left = 25,top = 25");
}

//---------------------


// Menü zum aufklappen

function Menue_zu(a1,a2,a3,a4,a5,a6)
{
		document.getElementById(a1).style.display = "none";
		document.getElementById(a2).style.display = "none";
		document.getElementById(a3).style.display = "none";
		document.getElementById(a4).style.display = "none";
		document.getElementById(a5).style.display = "none";
		document.getElementById(a6).style.display = "none";
}

function Menue_auf(menue,a1,a2,a3,a4,a5)
{
    if(document.getElementById(menue).style.display == "none")
    {
        document.getElementById(menue).style.display = "inline";
		document.getElementById(a1).style.display = "none";
		document.getElementById(a2).style.display = "none";
		document.getElementById(a3).style.display = "none";
		document.getElementById(a4).style.display = "none";
		document.getElementById(a5).style.display = "none";
    }
    else
    {
        document.getElementById(menue).style.display = "none";
    }

    return true;
}

// download

function download (URL)
	{

	location.href=URL;

	}
//----