//	Funktionen
//

function popup(ziel,titel,breite,hoehe,werte) {
  if (werte == 'nothing') werte = "location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no";
  if (screen.availWidth <= breite || screen.availHeight <= hoehe) {
    links = 1;
    oben = 1;
  }
  else {
    links = (screen.availWidth - breite) / 2;
    oben = (screen.availHeight - hoehe) / 2;
  }
  fenster=window.open(''+ziel+'',''+titel+'',''+werte+',width='+breite+',height='+hoehe+',left='+links+',top='+oben+'');
  fenster.focus();
}

function wechsel(ImgName,ImgNeu) {
	document.images[ImgName].src = ImgNeu;
}

function winStat(txt) {
	window.status = txt;
	return true;
}

function bgAn(zelle) {
	if(document.all) {
		document.all[zelle].style.background = "#003366";
                document.all[zelle].style.paddingLeft = "2mm";
	}
}

function bgAus(zelle) {
	if(document.all) {
		document.all[zelle].style.background = "#6699CC";
                document.all[zelle].style.paddingLeft = "2mm";
	}
}

function schriftAn(l) {
	if(document.all) {
		l.style.color = "#FFFFFF";
	}
}


function schriftAus(l) {
	if(document.all) {
		l.style.color = "#000000";
	}
}





function GruenAn()
            {
                document.all.WEB100.style.background = "#00c605";
}
function GruenAus()
            {
                document.all.WEB100.style.background = "#E68411";
}

function EUAn()
            {
                document.all.EU100.style.background = "#006699";
}
function EUAus()
            {
                document.all.EU100.style.background = "#E68411";
}

function NetAn()
            {
                document.all.Net.style.background = "#00c6c4";
}
function NetAus()
            {
                document.all.Net.style.background = "#E68411";
}


function LandAn()
            {
                document.all.Land.style.background = "#c64100";
}
function LandAus()
            {
                document.all.Land.style.background = "#E68411";
}

function DanceAn()
            {
                document.all.Dance.style.background = "#c60090";
}
function DanceAus()
            {
                document.all.Dance.style.background = "#E68411";
}

function ArchiveAn()
            {
                document.all.Archive.style.background = "#c60004";
}
function ArchiveAus()
            {
                document.all.Archive.style.background = "#E68411";
}
function StaAn()
            {
                document.all.Start.style.background = "#BD6907";
}
function StaAus()
            {
                document.all.Start.style.background = "#E69739";
}
function NeuAn()
            {
                document.all.Neu.style.background = "#BD6907";
}
function NeuAus()
            {
                document.all.Neu.style.background = "#E69739";
}
function dancAn()
            {
                document.all.danc.style.background = "#BD6907";
}
function dancAus()
            {
                document.all.danc.style.background = "#E69739";
}
function euAn()
            {
                document.all.eu.style.background = "#BD6907";
}
function euAus()
            {
                document.all.eu.style.background = "#E69739";
}
function euroAn()
            {
                document.all.euro.style.background = "#BD6907";
}
function euroAus()
            {
                document.all.euro.style.background = "#E69739";
}
function inetAn()
            {
                document.all.inet.style.background = "#BD6907";
}
function inetAus()
            {
                document.all.inet.style.background = "#E69739";
}
function radAn()
            {
                document.all.rad.style.background = "#BD6907";
}
function radAus()
            {
                document.all.rad.style.background = "#E69739";
}
function deuAn()
            {
                document.all.deu.style.background = "#BD6907";
}
function deuAus()
            {
                document.all.deu.style.background = "#E69739";
}
function leuAn()
            {
                document.all.leu.style.background = "#BD6907";
}
function leuAus()
            {
                document.all.leu.style.background = "#E69739";
}
function weltAn()
            {
                document.all.welt.style.background = "#BD6907";
}
function weltAus()
            {
                document.all.welt.style.background = "#E69739";
}
function carAn()
            {
                document.all.car.style.background = "#BD6907";
}
function carAus()
            {
                document.all.car.style.background = "#E69739";
}
function comAn()
            {
                document.all.com.style.background = "#BD6907";
}
function comAus()
            {
                document.all.com.style.background = "#E69739";
}
function lamAn()
            {
                document.all.lam.style.background = "#006666";
}
function lamAus()
            {
                document.all.lam.style.background = "#66cccc";
}
function hvoAn()
            {
                document.all.hvo.style.background = "#336666";
}
function hvoAus()
            {
                document.all.hvo.style.background = "#99cccc";
}

