
anz=new Array()
anz[6]="Library of the Friedrich Ebert Foundation";
frei=new Array()
url=new Array()
au=new Array();
for(i=0;i<6;i++){
        au[i]=false;
}
function akt(x){
        if(frei[x]==1){
                adr=document.subnav[x].src;
                adr=adr.replace(/.3.gif/,".4.gif");
                document.subnav[x].src=adr;
                window.status=anz[x];
        }
}
function deakt(x){
        if((frei[x]==1)&&(au[x]==false)){
                adr=document.subnav[x].src;
                adr=adr.replace(/.4.gif/,".3.gif");
                document.subnav[x].src=adr;
                window.status=anz[6];
        }
}
function start(){
        for(i=0;i<6;i++){
                frei[i]=0;
                anz[i]="";
        }
}
function kli(x){
        if(frei[x]==1){
                if((url[x]!="")&&(url[x])){
                        parent.rechts.location.href=url[x];
                }
                for(i=0;i<6;i++){
                        adr=document.subnav[i].src;
                        adr=adr.replace(/4.gif/,"3.gif");
                        document.subnav[i].src=adr;
                }
                adr=document.subnav[x].src;
                adr=adr.replace(/3.gif/,"4.gif");
                document.subnav[x].src=adr;
                for(i=0;i<6;i++){
                        au[i]=false;
                }
                if(parent.navi.bleib_aktiv==true){
                        au[x]=true;
                }
        }
}
function takt(x){
        document.tbut[x].src="/library/images/titel_en/t"+x+".4.gif";
}
function tdeakt(x){
        document.tbut[x].src="/library/images/titel_en/t"+x+".3.gif";
}
function tklick(x){
        if(x==0){
                window.open("contact-entry.html","","width=500,height=400,scrollbars=1,menubar=1,status=0,toolbar=0,location=0,left=100,top=50");
        }
        else if(x==1){
                if(parent.rechts.sp){
                        loc=parent.rechts.location;
                        win=window.open(loc)
                        win.doSaveAs()
                }
                else{
                        alert("Leider ist das automatische Speichern dieser Seite aus technischen Gründen nicht möglich.")
                }
        }
        else if(x==2){
                if(parent.rechts.sp){
                        dru()
                }
                else{
                        alert("Leider ist das automatische Generieren einer Druckversion dieser Seite aus technischen Gründen nicht möglich.");
                }
        }
}
function dru(){
        parent.rechts.druck();
}
