function chndiv(nid,bgca,bgcp)
{
document.getElementById('n0').style.display='none';
document.getElementById('n1').style.display='none';
document.getElementById('n2').style.display='none';

document.getElementById('nb0').style.backgroundColor=bgcp;
document.getElementById('nb1').style.backgroundColor=bgcp;
document.getElementById('nb2').style.backgroundColor=bgcp;

var tempvar1='n' + nid;
document.getElementById(tempvar1).style.display='block';

var tempvar2='nb' + nid;
document.getElementById(tempvar2).style.backgroundColor=bgca;

}

function popme(Lang,Ziel)
{
Ziel=Ziel + '&index=' + Lang;
win = window.open(Ziel,"nocheinfenster","resizable=1,scrollbars=yes,width=400,height=250,screenX=0,screenY=0,left=0,top=0");
if (win != null)
if (win.closed);
win.focus();
}


function popmember(Ziel)
{
win = window.open(Ziel,"Mitglieder","resizable=1,scrollbars=yes,width=500,height=275,screenX=0,screenY=0,left=0,top=0");
if (win != null)
if (win.closed);
win.focus();
}


function xxlimg(img)
{
var phpsite="xxl.php?img=" + img;
win = window.open(phpsite,"nocheinfenster","resizable=1,scrollbars=yes,width=400,height=250,screenX=0,screenY=0,left=0,top=0");
if (win != null)
if (win.closed);
win.focus();
}


function presse(Ziel)
{
win = window.open(Ziel,"Pressearchiv","resizable=1,scrollbars=yes,width=100,height=100,screenX=0,screenY=0,left=0,top=0");
if (win != null)
if (win.closed);
win.focus();
}



function openjupgal(page,repage)
{
backmsg = showModalDialog(page,"Dialog Box Arguments # 10","dialogHeight: 410px; dialogWidth: 400px; unadorned: No; center: No; help: No; resizable: No; status: No; scroll: No;dialogTop: 200px; dialogLeft: 300px");
location.href=repage;
}
