var halten;
halten = "leer";
var halteni;
halteni = "leer";

function show_layer(x,fr)
{
	if(document.layers)
		{
		top.frames[fr].document.layers[x].visibility="show";
		}
	else
		{
		top.frames[fr].document.all[x].style.visibility="visible";
		}
}

function hide_layer(x,fr)
{
	if(document.layers)
		{
		top.frames[fr].document.layers[x].visibility="hide";
		 }
	else
		{
		top.frames[fr].document.all[x].style.visibility="hidden";
		}
}

// Biderwechsel
 function select(i,newsrc) 
  {
 	 document.images[i].src = newsrc;     
  }

  function select2(i,newsrc) 
  {
  	fest=newsrc;
 	 if (halten!=fest)
 	 {
      document.images[i].src = newsrc;
     }
  }

   function select3(i,newsrc,fenster) 
  {
 	 top.frames[fenster].document.images[i].src = newsrc;  
  }


// Bildhalten 
 function save(newsrc,i)
   {
	if (halten!="leer")
		{
			if (halteni != i)
			{
				document.images[halteni].src = halten;
			}
		}
 		halten = newsrc;
 		halteni = i;
    }  


function two_frames (fr1,dat1,fr2,dat2)
  {
    top.frames[fr1].location.href=dat1;
    top.frames[fr2].location.href=dat2;
  }

function three_frames (fr1,dat1,fr2,dat2,fr3,dat3)
  {
       frames[fr1].location.href=dat1;
       frames[fr2].location.href=dat2;
	frames[fr3].location.href=dat3;
  }

 function anzeige(datei)
	{
	datei2= datei;
	window.open(datei2,"","width=410,height=340");
	}

function anzeige2(datei)
	{
	datei2= datei;
	window.open(datei2,"","width=420,height=300");
	}

function anzeige22(datei)
	{
	datei2= datei;
	window.open(datei2,"","width=420,height=270");
	}

function anzeige3(datei)
	{
	datei2= datei;
	window.open(datei2,"","width=500,height=320");
	}	
	
function anzeige4(datei)
	{
	datei2= datei;
	window.open(datei2,"","width=540,height=320");
	}	

function anzeige5(datei)
	{
	datei2= datei;
	window.open(datei2,"","width=500,height=420");
	}	
function anzeige55(datei)
	{
	datei2= datei;
	window.open(datei2,"","width=500,height=480");
	}	
function anzeige55s(datei)
	{
	datei2= datei;
	window.open(datei2,"","width=500,height=500,scrollbars=yes");
	}	
	
function anzeige6(datei)
	{
	datei2= datei;
	window.open(datei2,"","width=670,height=550");
	}
	
function anzeige6_auto(datei)
	{
	datei2= datei;
	window.open(datei2,"","width=670,height=550,scrollbars=yes");
	}	
	
function anzeige6s(datei)
	{
	datei2= datei;
	window.open(datei2,"","width=600,height=420,scrollbars=yes");
	}	
	
function anzeige7(datei)
	{
	datei2= datei;
	window.open(datei2,"","width=670,height=580");
	}

function anzeige33(datei)
	{
	datei2= datei;
	window.open(datei2,"","width=500,height=280");
	}
