
bild = new Image();

function tausche_icon(name,ob){
	bild = eval("document."+name);
	bild.src = ob;
}


window.onkeypress = Ausgabe;   
function Ausgabe (Ereignis) {    
 	if(Ereignis.which == 13 && document.forms[0].search.value != "Suchen"){     
 		document.forms[0].submit();  
 	}  
} 

function popup (datei)
{
	pop1 = window.open (datei,"newwin","width=500,height=500,resizable=yes,status=no,scrolling=no,scrollbars=no");
	pop1.focus();
} 

function bewege (breite, hoehe)
{
  	x1 = breite + 5;
       	y1 = hoehe + 25;
       	self.resizeTo(x1,y1);
  	
  	x1 = (screen.width - breite)/2;
   	y1 = (screen.height - hoehe)/2;
   	self.moveTo(x1,y1);
   	self.focus();
}

function show_layer(x){
	if (document.layers)
		document.layers[x].visibility="show";
	else if (document.all)
		document.all[x].style.visibility="visible";
	else if (document.getElementById)
	     	document.getElementById(x).style.visibility="visible";
}

function hide_layer(x){
	if (document.layers)
		document.layers[x].visibility="hide";
	else if (document.all)
		document.all[x].style.visibility="hidden";
	else if (document.getElementById)
		document.getElementById(x).style.visibility="hidden";
}

