var Fenster;
function oeffnei(){
        if (navigator.platform.indexOf("M")!=-1 && navigator.appName=="Microsoft Internet Explorer"){
        Fenster=window.open('iframe.htm','neu','width=640,height=300,toolbar=no,menubar=no,location=no,status=no,left=100,top=200');
                Fenster.focus();
        }else{
                if(Fenster!=null && Fenster.closed==false){
                        Fenster.close();
        }
Fenster=window.open('iframe.htm','neu','toolbar=no,menubar=no,location=no,status=no,left=100,top=200,width=640,height=300');
        Fenster.focus();
}
}



function wechsel(f1,url1,f2,url2){
parent.frames[f1].location.href=url1;
parent.frames[f2].location.href=url2;
}


function textda(blind,textNr){
if(document.all){
document.images["blind"+blind].src="../../bilda/rest/text"+textNr+".gif";
}else{
document.layers["blindid"+blind].document.images[0].src="../../bilda/rest/text"+textNr+".gif";
}
}


function textfutsch(blind){
if(document.all){
window.document.images["blind"+blind].src="../../bilda/rest/blind.gif";
}else{
document.layers["blindid"+blind].document.images[0].src="../../bilda/rest/blind.gif";
}
}

function bildwechsel(bild,grafik){
if (document.images){
window.document.images[bild].src="../../bilda/but/"+grafik+".gif";}
}


function Bildwechsel(bild,grafik){
if (document.images){
window.document.images[bild].src="../../bilda/rest/"+grafik+".jpg";}
}


function Bildw(bild,grafik){
if (document.images){
window.document.images[bild].src="../../bilda/projekte/"+grafik+".jpg";}
}

//mitarbeiter
function infox(x){
if (navigator.platform.indexOf("M")!=-1 && navigator.appName=="Microsoft Internet Explorer"){
        Fenster=window.open('mitinf.asp?mitNr='+x,'info','scrollbars=yes,width=250,height=260')
        Fenster.focus();
        }else{
                if(Fenster!=null && Fenster.closed==false){
                        Fenster.close();
                        }
        Fenster=window.open('mitinf.asp?mitNr='+x,'info','scrollbars=yes,width=250,height=260')
        Fenster.focus();
        }
}

