
var geklickt=null;

function RollOverLinkCss(tabzelle,x) 
{
if(geklickt != x) 
{
if (document.all)
	{
	document.all[tabzelle].style.setAttribute("border","1px solid #2161D6","false");
	document.all[tabzelle].style.setAttribute("backgroundColor","#88BBFF","false");
	}
	else 
	{
	document.getElementById("+ tabzelle +").style.border = "1px solid #2161D6";
	document.getElementById("+ tabzelle +").style.backgroundColor = "#88BBFF";
	}
}
}

function RollOutLinkCss(tabzelle,x)
{
if(geklickt != x) 
{
if (document.all)
	{
	document.all[tabzelle].style.setAttribute("border","1px solid #EFF7FF","false");
	document.all[tabzelle].style.setAttribute("backgroundColor","#EFF7FF","false");
	}
	else 
	{
	document.getElementById("+ tabzelle +").style.border = "1px solid #EFF7FF";
	document.getElementById("+ tabzelle +").style.backgroundColor = "#EFF7FF";
	}
}
}

function ClickLinkCss(tabzelle,verweis,x)
{
if (document.all)
	{
	document.all[tabzelle].style.setAttribute("border","1px solid #2161D6","false");
	document.all[tabzelle].style.setAttribute("backgroundColor","#88BBFF","false");
	document.all[verweis].style.setAttribute("Color","#2B66DD","false");
	document.all[verweis].style.setAttribute("textDecoration","none","false");
	}
	else 
	{
	document.getElementById("+ tabzelle +").style.border = "1px solid #2161D6";
	document.getElementById("+ tabzelle +").style.backgroundColor = "#88BBFF";
	document.getElementById("+ verweis +").style.Color = "#2B66DD";
	document.getElementById("+ verweis +").style.textDecoration = "none";
	}
geklickt = x;
}


function RollOverLink(nr,stellung)
{
if (geklickt != nr) document.images['linknr'+nr].src = pfeil[stellung].src; 
}

function ClickLink(nr,anzahl)
{
if(geklickt != nr)
 {
document.images['linknr'+nr].src = pfeil[1].src; 
 
 x = eval(nr);
for (i = 1; i < x; i++) document.images['linknr'+i].src = pfeil[0].src;
for (i = x + 1; i <= anzahl; i++) document.images['linknr'+i].src = pfeil[0].src;

geklickt  = nr;
}
}

function ZweiFrames(url1,f1,url2,f2)
{
parent.frames[f1].location.href=url1;
parent.frames[f2].location.href=url2;
} 


function InfoFenster(x)
// Eingabe des Parameters in Hochkommata 
 {
infowin = window.open(x,"REFERENZEN","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,height=465,width=380,left=40,top=40");
}

function InfoFensterG(x)
// Eingabe des Parameters in Hochkommata 
 {
infowin = window.open(x,"REFERENZEN","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,height=420,width=380,left=40,top=40");
}

function StartTimer()
{
var time = new Date();
hours = time.getHours();
mins = time.getMinutes();
secs = time.getSeconds();

endzeit = hours*3600 + mins*60 + secs;
endzeit = endzeit + 120; // Sekunden bis zum Schliessen

Timer();
}

function Timer()
{
var time = new Date();
hours = time.getHours();
mins = time.getMinutes();
secs = time.getSeconds();

aktuell = hours*3600 + mins*60 + secs;
if (aktuell >= endzeit)
	{
	self.close();
	}
	else
	{
	window.setTimeout("Timer()",1000)
	}
}
