function get(id) { return document.getElementById(id); }

function init() {
	
	get("headerimg").style.display = "block";
	get("menuanim").style.display = "block";
	get("verdetop").style.display = "block";
	get("verdebottom").style.display = "block";
	
	
	man = new jsAnimManager();
	
	man.registerPosition("headerimg");
	c1 = get("headerimg");
	c1.setPosition(0,450);
	
	man.registerPosition("menuanim");
	c2 = get("menuanim");
	c2.setPosition(-792,29);
	
	man.registerPosition("verdetop");
	c3 = get("verdetop");
	c3.setPosition(0,84);
	
	man.registerPosition("verdebottom");
	c4 = get("verdebottom");
	c4.setPosition(0,128);
	
	man.registerPosition("verdebottom");
	c4 = get("verdebottom");
	c4.setPosition(0,128);
	
	cm1 = man.createAnimObject("headerimg");
	cm2 = man.createAnimObject("menuanim");
	cm3 = man.createAnimObject("verdetop");
	cm4 = man.createAnimObject("verdebottom");
	
	cm1.add({property: Prop.wait, duration: 700});
	cm2.add({property: Prop.wait, duration: 1600});
	cm3.add({property: Prop.wait, duration: 0});
	cm4.add({property: Prop.wait, duration: 0});
	
	cm1.add({property: Prop.position, to: new Pos(0,159), duration: 800, ease: jsAnimEase.parabolicNeg});
	cm2.add({property: Prop.position, to: new Pos(0,29), duration: 700, ease: jsAnimEase.parabolicNeg});
	
	cm3.add({property: Prop.dimension, to: new Dim(792,28), duration: 300});
	cm3.add({property: Prop.position, to: new Pos(0,14), duration: 700, ease: jsAnimEase.parabolicNeg});
	
	cm4.add({property: Prop.dimension, to: new Dim(792,59), duration: 300});
	cm4.add({property: Prop.position, to: new Pos(0,318), duration: 700, ease: jsAnimEase.parabolicNeg});
	
}


