var lastid = "";
function bildpop(verweis,x,y,status)
{
popup = window.open(verweis, "Zweitfenster", "width="+ x + ",height="+ y + ",status="+ status);
popup.focus();
}
function rootmenue_over(id) {
document.getElementById(id+'_a').style.color = '#082247';
document.getElementById(id).style.backgroundColor = '#FFF';
document.getElementById(id).style.cursor='pointer';
lastid = id;
}
function rootmenue_out(id) {
document.getElementById(id+'_a').style.color = '#FFF';
document.getElementById(id).style.backgroundColor = '#082247';
}
function submenue_over(id) {
document.getElementById(id).style.backgroundColor = '#464121';
document.getElementById(id).style.cursor='pointer';
document.getElementById(id+'_a').style.color = '#FFF';
}
function submenue_out(id) {
document.getElementById(id).style.backgroundColor = '#DBD2BF';
document.getElementById(id).style.cursor='pointer';
document.getElementById(id+'_a').style.color = '#464121';
}
function galerie(galerie)
{
popup = window.open( "sites/" + galerie + "/bilder/index.htm", "Zweitfenster", "width=500,height=600");
popup.focus();
}
function phpgalerie(galerie)
{
popup = window.open( "sites/" + galerie + "/bilder/index.php", "Zweitfenster", "width=500,height=600");
popup.focus();
}
function ls_galeriebild(bild, text) {
var inhalt = '';
if (text) {
inhalt = inhalt + '
' + text + '';
}
document.getElementById('bilder_links_galerie').innerHTML = inhalt;
}
function unhide(id) {
document.getElementsByTagName("div")[2].style.visibility = "visible";
}
function Init(root) {
rootmenue_over('navi_'+root);
}
function NaviOut(root) {
if (root != 'home') {
rootmenue_over('navi_'+root);
}
else {
document.getElementById('sub'+lastid).style.visibility='hidden';
}
}
function popupfenster(verweis,x,y)
{
popup = window.open(verweis, "Zweitfenster", "width="+ x + ",height="+ y + ",status=resizable=no,scrollbars=no");
popup.focus();
}