
function move_them() {	
	var boxid=new Array();


	/*neues Element erzeugen*/			 		
	boxid[shown_boxes]=document.createElement("DIV");
	boxid[shown_boxes].id="boxen_"+shown_boxes;
	boxid[shown_boxes].onmouseover=new Function ("stop_move()");
	boxid[shown_boxes].onmouseout=new Function ("lade_move()");
	boxid[shown_boxes].style.height=boxheight+'px';
	/*boxen mit inhalten füllen*/
	if(whichtochange>felder_cal.length-1) whichtochange=1; else whichtochange=whichtochange;
	boxid[shown_boxes].innerHTML='<div class="event_date"><div class="event_grau_box"><span class="tag_datum">'+felder_cal[whichtochange][0]+'</span><br /><span class="monat_datum">'+felder_cal[whichtochange][1]+'</span></div><div class="event_info"><strong>'+felder_cal[whichtochange][3]+'</strong><br />'+felder_cal[whichtochange][4]+'<br /><a href="'+felder_cal[whichtochange][2]+'">mehr Infos</a>&nbsp;</div></div>';

							
	var altertop=shown_boxes-1;
	boxid[shown_boxes].style.top=$("boxen_"+altertop).style.top;

	$('umfang').appendChild(boxid[shown_boxes]);
	

	for(i=todelete;i<shown_boxes+1;i++) {
		var el = $('boxen_'+i);
		new Effect.Move(el, { x: 0, y: verschieben });
	}
	

	
	
	shown_boxes+=1;
	whichtochange+=1;
	todelete+=1;
	
	lade_move();
}


function lade_move() {
	aktiv=window.setTimeout("move_them()", 4000);
}

function stop_move() {
	window.clearTimeout(aktiv);
}