function changelink(nummer)
{
up="schaltlink"+nummer;
document.getElementById(up).style.color="#900000";
document.getElementById(up).style.borderColor="#900000";
}


function wartung(){
alert ("Maintenance !!! \n\nDue some necessary maintanance jobs, some functions on this page are not able to use\n\non Wednesday 2009/07/01 between 7:00 PM and 11:00 PM ");
}


function changelinkb(nummer)
{
up="schaltlink"+nummer;
document.getElementById(up).style.color="#808080";
document.getElementById(up).style.borderColor="#ffffff";
}

function aufruf(URL){
parent.frames[3].location.href = URL;
}






function demo(URL){;
window.open(URL,'SKIZZE','width=500,height=500,resizable=no,scrollbars=yes,toolbar=no,status=no,directories=no,menubar=no,location=no');
};

function menueein(nummer)
{
for (var f=1; f < 5; f++)
	{
	up="menue"+f;
	document.getElementById(up).style.visibility="hidden";
	}
up="menue"+nummer;
document.getElementById(up).style.visibility="visible";
}


function menueaus(nummer)
{
for (var f=1; f < 5; f++)
	{
	up="menue"+f;
	document.getElementById(up).style.visibility="hidden";
	}
}


function changeuntermenue(nummer)
{
up="untermenuelink"+nummer;
document.getElementById(up).style.backgroundColor="#808080";
document.getElementById(up).style.color="#FFFFFF";
}
function changebackuntermenue(nummer)
{
up="untermenuelink"+nummer;
document.getElementById(up).style.backgroundColor="#B4B4B4";
document.getElementById(up).style.color="#000000";
}


function changego(nummer)
{
up="goflaeche"+nummer;
document.getElementById(up).style.backgroundColor="#900000";
}

function changegob(nummer)
{
up="goflaeche"+nummer;
document.getElementById(up).style.backgroundColor="#808080";
}

function listensuche(URL){
menueaus();
var SID=document.sid.sid.value;
var land=document.land.land.value;
parent.frames[3].location.href = '/cgi-bin/ab-suche.pl?suchbegriff='+URL+'&sid='+SID+'&land='+land;
}

function listensucheneu(URL){
menueaus();
var SID=document.sid.sid.value;
parent.frames[3].location.href = '/cgi-bin/ab-suche-neu.pl?statement=LAGERLISTE_NACH_KENNUNG  @SUCHKENNUNG='+URL+'&sid='+SID;
}

function listensuchetest(URL){
menueaus();
var SID=document.sid.sid.value;
var LAND=document.sid.land.value;

parent.frames[3].location.href = '/cgi-bin/ab-suche-neu.pl?statement=LAGERLISTE_NACH_LAND  @SUCHKENNUNG='+URL+',@LAND='+LAND+'&sid='+SID;
}
