// mouseover topnavigation
var act = 1;
function over01(x){
	if(document.all) x.style.cursor = "hand"; 
	else x.style.cursor = "pointer"; 
		
	if(x.className=="high"){
		act = 0;
		return;
	}
	else{
		act = 1;
	}
	if(!x.childNodes) return;
	if(x.childNodes[0].innerHTML) x.innerHTML=x.childNodes[0].innerHTML;
	x.style.backgroundPosition = "0px -34px";
	x.style.color="#000000";
}

function out01(x){
	if(act==0) return;
	x.style.backgroundPosition = "0px 0px";
	x.style.color="#ffffff";
}



// mouseover leftnavigation
function over02(x){
	if(document.all) x.style.cursor = "hand"; 
	else x.style.cursor = "pointer"; 
	

	if(!x.style) return;
	oldcolor = x.style.backgroundColor;
	x.style.backgroundColor="#FCD116";
}

function out02(x){
	if(!x.style) return;
	x.style.backgroundColor=oldcolor;
}

//topnavigation & leftnavigation
function linkme(x){
if(x) document.location.href = x;
else document.location.href = "#";
}


//sitemap
function openSitemap(url) {
	satellit =window.open(url,"SiteMap","location=yes,menubar=yes,resizable=yes,scrollbars=yes,status=yes,toolbar=yes");
	satellit.window.focus();
}
//kontakt
if(document.layers){
height00 = 680;
}
else{
height00 = 650;
}
function openKontakt(url) {
	satellit =eval('window.open(url,"Form","location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no,width=830,height='+height00+'")');
	satellit.window.focus();
}
//zoom
function zoom(img,w,h){
satellit =eval('window.open(img,"Form","location=no,menubar=no,resizable=yes,scrollbars=no,status=no,toolbar=no,width='+w+',height='+h+'")');
	satellit.window.focus();

}
