// JavaScript Document

function animate() {
	var t = setTimeout('timed_anim(400)', 8);
}
function timed_anim(x) {
	if(x != 0) {
		x = x - 8;
		move_all(x);
		t = setTimeout('timed_anim('+x+')', 8);
	}
}
function move_all(x) {
	shift_im('abso', -x, -x);
	shift_im('dmil', 0, -x);
	shift_im('pont', x, -x);
	shift_im('ybio', x, x);
	shift_im('pind', 0, x);
	shift_im('vmil', -x, x);
}
function shift_im(which, x, y) {
	var obj = document.getElementById(which);
	obj.style.left = x + 'px';
	obj.style.top = y + 'px';
}
