function backgroundFI(pBackground){
var m = $(pBackground);
m.fade('in');
}


function backgroundFO(pBackground){
var m = $(pBackground);
m.fade('out');
}



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 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;
}


function openpopup(file)
{
win = window.open(file,"popup1","resizable=1,scrollbars=yes,width=800,height=600,screenX=200,screenY=20,left=20,top=20");
if (win != null)
if (win.closed);
win.focus();
}

function openpopupfe(file)
{
win = window.open(file,"popupfe","resizable=1,scrollbars=yes,width=800,height=600,screenX=200,screenY=20,left=20,top=20");
if (win != null)
if (win.closed);
win.focus();
}


function onw (data) {
  thewin = window.open(data, "elektrocity");
if (thewin != null)
if (thewin.closed);
thewin.focus();
}
