  if(typeof move_start_position 	== 'undefined'){ var move_start_position	= -100;	}
	if(typeof move_end_position 		== 'undefined'){ var move_end_position		=  400;	}
	
	var counter 				= 0;
	
	function dowhile(){
		move_takt = setTimeout("move()",30);
	}
	
	function move(){
		var div 	= document.getElementById('move_div');	
	
		if(counter == 0){
			div.style.left 		= '0px';
			div.style.bottom 	= move_start_position+'px';

			make_main_position();
		}
		
		counter++;
		
		var bottom = parseInt(div.style.bottom);
		bottom += 1;
		if(bottom > move_end_position){
			bottom = move_start_position;	
		}
		
		div.style.bottom = bottom+'px';
		dowhile(); 
	}
	
	function make_main_position(){
		var main 	= document.getElementById('main');	
		var div 	= document.getElementById('move_div');	
		var img 	= document.getElementById('img');	

		main.style.left  	= (img.offsetLeft+(img.clientWidth/2))-(div.offsetWidth/2)+'px';
		
	}
		
	window.onload 	= move;
	window.onresize = make_main_position;
