function bild(nummer) {
bild[nummer]=new Image;
}
function bringbild(platzhalter,bildnummer) {
document [platzhalter].src=bild[bildnummer].src;
}

function popup(XPix,YPix,w_url,w_name,scrollen,resizen){
popupwind=window.open(w_url,w_name, "width=" + XPix + ",height=" + YPix+", resizable="+resizen+", scrollbars="+scrollen);
popupwind.focus();
}

function schliessen() {
top.close();
}

function FindLayer(n, d) {
var i,x;
if(!(x=d[n]) && d.all) x=d.all[n];
for(i=0;!x && d.layers && i<d.layers.length;i++) x=FindLayer(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;}
  
function zval(si){
var i,iz,ef=false,wf,obj,pargs=args;
if (window.frames.length==0){
for (i=0; i<(pargs.length); i++) {
if ((obj=FindLayer(pargs[i], eval(si.concat(".window.document"))))!=null) { 
if (obj.style) { obj=obj.style; }
obj.visibility=v;}}}
else {
while (ef==false) {
for (i=0; i<(pargs.length); i++) {
if ((obj=FindLayer(pargs[i], eval(si.concat(".window.document"))))!=null) { 
if (obj.style) { obj=obj.style; }
obj.visibility=v;}}
if (eval(si.concat('.frames.length'))>0) {si=si+".frames[0]";}
else {
iz=parseInt(si.slice(si.lastIndexOf("[")+1,si.lastIndexOf("]")));
if (eval(si.slice(0,si.lastIndexOf(".")).concat(".frames.length"))>iz+1) {
si=si.slice(0,si.lastIndexOf("[")+1).concat(eval(iz+1)).concat("]");}        
else {
wf=true;
while (wf==true) {
si=si.slice(0,si.lastIndexOf("."));
if (si.lastIndexOf("[")==(-1)) {ef=true; wf=false;}
else {
iz=parseInt(si.slice(si.lastIndexOf("[")+1,si.lastIndexOf("]")));
if (eval(si.slice(0,si.lastIndexOf(".")).concat(".frames.length"))>iz+1) {
si=si.slice(0,si.lastIndexOf("[")+1).concat(eval(iz+1)).concat("]");
wf=false;}}}}}}}}


var v,args;

function zeigen() {v="visible"; args=zeigen.arguments; zval("top");}
function verstecken() {v="hidden"; args=verstecken.arguments; zval("top");}
