var manager = new jsAnimManager();  

function init()
{


sparrow = document.getElementById("sparrow");  
sparrow.style.position = "absolute";
manager.registerPosition("sparrow");
sparrow.setPosition(22,140);



var anim1 = manager.createAnimObject("sparrow"); 


anim1.add({property: Prop.dimension, to: new Dim(74, 74), duration: 1}); 
anim1.add({property: Prop.wait, duration: 900});
anim1.add({property: Prop.positionSemicircle(false),   
    to: new Pos(18,142), duration: 100});  

anim1.add({property: Prop.wait, duration: 100});  

anim1.add({property: Prop.positionSemicircle(false),   
    to: new Pos(8,141), duration: 100});  

anim1.add({property: Prop.wait, duration: 1250});
anim1.add({property: Prop.dimension, to: new Dim(0, 0), duration: 1}); 





sparrow2 = document.getElementById("sparrow2");  
sparrow2.style.position = "absolute";
manager.registerPosition("sparrow2");
sparrow2.setPosition(-4000,142);



var anim2 = manager.createAnimObject("sparrow2"); 

anim2.add({property: Prop.wait, duration: 2810});
anim2.add({property: Prop.positionSemicircle(false),   
    to: new Pos(-2,142), duration: 0});  
anim2.add({property: Prop.dimension, to: new Dim(74, 74), duration: 1}); 
anim2.add({property: Prop.wait, duration: 2250});

anim2.add({property: Prop.positionSemicircle(true),   
    to: new Pos(8,142), duration: 100});  

anim2.add({property: Prop.wait, duration: 100});  

anim2.add({property: Prop.positionSemicircle(true),   
    to: new Pos(22,142), duration: 100});  

anim2.add({property: Prop.wait, duration: 80});  

anim2.add({property: Prop.positionSemicircle(true),   
    to: new Pos(26,142), duration: 100});  

anim2.add({property: Prop.wait, duration: 1250});


}