function custom_init(){
	$$('.contentmenu a').each(
		function(el,key){
			el.setStyle('left',(0-el.getSize().x));					
			t = function(){
					this.ele = el;
					this.ele.set('tween', {duration: (2*this.ele.getSize().x)});
					this.ele.tween('left',-1);
			}
			t.delay(250*(key+1));
			if(el.getParent('li').hasClass('backlink')){
				el.addEvent('mouseover',
										function(el){
												this.setStyle('left',0);
												this.get('tween', {property: 'font-size', duration: 150}).start('40px');
										} );
				el.addEvent('mouseout', 
										function(el){
												this.setStyle('left',0);
												this.get('tween', {property: 'font-size', duration: 250}).start('30px');
										} );	
			} else {
				el.addEvent('mouseover',
										function(el){
												this.setStyle('left',0);
												this.get('tween', {property: 'font-size', duration: 150}).start('60px');
										} );
				el.addEvent('mouseout', 
										function(el){
												this.setStyle('left',0);
												this.get('tween', {property: 'font-size', duration: 250}).start('40px');
										} );			
			}
		});
		
	$$('#submenu>ul').set('tween', {duration: 'long'}).tween('left','-140','0');
	$$('.page img').setStyle('opacity',0);
	$$('.page h1').setStyle('left',-100).setStyle('opacity',0);
	$$('.spalte').setStyle('opacity',0).setStyle('top',200);

	t1 = function(){
		$$('.page img').each( function(el){
						el.set('morph', {duration: 'normal'});
						el.morph({'opacity':1,
											'width':[ el.getSize().x*0.9,el.getSize().x],
											'height':[ el.getSize().y*0.9,el.getSize().y],
											'left':[el.getSize().x*0.05,0],
											'top':[el.getSize().y*0.05,0]
											});
					});
	}
	t2 = function(){
		$$('.page h1').each( function(el){
						el.set('morph', {duration: 'normal'});
						el.morph({'left':-3 , 'opacity':1});
					});
	}
	t3 = function(){
		$$('.spalte').each(function(el){
			el.set('morph', {duration: 'normal'});
			el.morph({top:0,opacity:1});
		});
	}
	
	t = new Chain();
	t.chain(t1,t2,t3);
	t.callChain();
	t.callChain.delay(500,t);
	t.callChain.delay(500,t);
	
	
	$$('.eintrag').each(function(el){
		el.fade('hide');
		el.setStyle('top','50px');
		el.set('morph', {duration: 'normal'});
		el.morph({top:'0px',opacity:1});
	});
	$$('.wochentag>h1').each( function(el){ el.setStyle('margin-left',(0-(el.getSize().x)*2));el.set('tween', {duration: 'long'});el.tween('margin-left',-3)});
		
}
