if (document.images) {
}
<!-- start rollover menue links -->
var IMG01 = "images/menue_movr.gif"  
var IMG02 = "images/menue_mout.gif" 
var IMG03 = "images/menue_click.gif"


function imgover(imgname){
     imgname.src = IMG01
}

function imgout(imgname){
     imgname.src = IMG02
}

function imgclick(imgname){
     imgname.src = IMG03
}
<!-- ende rollover menue links -->

<!-- start move in-out -->
var bpos=new Array();
var bdir=new Array();

var maxbilder=5;

var delay=20;


function do_bild(bild){
	for(i=0; i<maxbilder; i++){	
		if(bild!=i && bpos[i] < 1200){
			bdir[i]= 20;
			if(bpos[i]>=180)
				move_bild(i);
		}
	}
	bdir[bild]=-bdir[bild];
	if(bpos[bild]<= 1200 || bpos[bild]>=180)
		move_bild(bild);
}


function move_bild(bild){
	bpos[bild]+=bdir[bild];
	if(document.layers)
		document.layers["bild"+bild].left=bpos[bild];
	else
		document.all["bild"+bild].style.left=bpos[bild];

	if(bpos[bild]<1200  && bpos[bild] >180)
		setTimeout("move_bild("+bild+")", delay);
}

function init(){
	for(i=0; i<maxbilder; i++){
		bpos[i]=1200;
		bdir[i]=20;
	}
}
<!-- ende move in-out -->
