eval("Z=100;Y=20;X=125;V=110;U=120;T=190;S=200;q=document.body.children.c;q.width=145;q.height=S;c=q.getContext('2d');v=[[50,90,50,Z,Z,90,Z,Z],[15,70,Y,Y,130,70,X,Y],[15,70,Y,U,130,70,X,U],[40,Z,Y,230,Z,Z,X,230],[Z,V,U,Z,Z,160,U,165],[40,V,Y,Z,40,160,Y,165],[15,64,0,60,28,45,Y,35],[130,64,140,60,115,45,130,36],[90,T,V,T,75,S,X,S],[55,T,35,T,70,199,Y,S]];c.fillStyle='#ff4500';i=9;$(i,A0,A1,A4,A5);function _(i,l,p,o,u,y){c.strokeStyle=3==l?'#fff':'#000';c.lineWidth=l;c.Bc.moveTo(A0,A1);c.bezierCurveTo(p,o,u,y,A4,A5);c.stroke()}function $(i,m,n,j,h){_(i,3,m,n,j,h);if(m!=A2||n!=A3||j!=A6||h!=A7){m!=A2?m<A2Dmn!=A3?n<A3Dnj!=A6?j<A6Djh!=A7?h<A7Dh_(i,1,m,n,j,h);setTimeout($,10,i,m,n,j,h)}else{_(i,1,A2,A3,A6,A7);if(i--){setTimeout($,10,i,A0,A1,A4,A5)}else{with(c){BmoveTo(75,32);lineTo(85,0);lineTo(V,5);moveTo(U,5);arc(115,8,6,0,360,false);stroke();Barc(50,65,10,0,360,false);moveTo(95,65);arc(95,65,10,0,360,false);fill()}}}}".replace(/A(\d)/g,"v[i][$1]").replace(/B/g,"beginPath();").replace(/D(\w)/g,"?++$1:--$1:0;"));
q = document.body.children.c;q.width = 145;q.height = 200;c = q.getContext('2d');
v = [
[50, 90, 50, 100, 100, 90, 100, 100],
[15, 70, 20, 20, 130, 70, 125, 20],
[15, 70, 20, 120, 130, 70, 125, 120],
[40, 100, 20, 230, 100, 102, 125, 230],
[101, 110, 120, 100, 101, 160, 120, 165],
[40, 110, 21, 100, 40, 160, 21, 165],
[15, 64, 0, 60, 28, 45, 20, 35],
[130, 64, 140, 60, 115, 45, 130, 36],
[90, 190, 110, 185, 75, 199, 125, 205],
[55, 190, 35, 185, 70, 199, 20, 205]
];
//Draw the Vectors
c.fillStyle = '#ff4500';
//Draw the bezierCurves
$(9,v[9][0],v[9][1],v[9][4],v[9][5]);
function _(i,l,p,o,u,y){
c.strokeStyle = 3==l?'#fff':'#000';
c.lineWidth = l;
c.beginPath();
c.moveTo(v[i][0], v[i][1]);
c.bezierCurveTo(p, o, u, y, v[i][4], v[i][5]);
c.stroke();
}
//Draws the scene
function $(i, m, n, j, h){
//Clear the old
_(i,3,m, n, j, h);
if(m!=v[i][2] ||
n!=v[i][3] ||
j!=v[i][6] ||
h!=v[i][7]) {
m!=v[i][2]? m<v[i][2]?++m:--m:0;
n!=v[i][3]? n<v[i][3]?++n:--n:0;
j!=v[i][6]? j<v[i][6]?++j:--j:0;
h!=v[i][7]? h<v[i][7]?++h:--h:0;
_(i,1,m, n, j, h);
setTimeout($,10,i,m,n,j,h)
}else {
//Draw the new
_(i,1,v[i][2], v[i][3], v[i][6], v[i][7]);
--i;
if(i+1){ setTimeout($,10,i, v[i][0],v[i][1],v[i][4],v[i][5]); }
else{
//Draw the Antena
with(c){
beginPath();
moveTo(75,32);
lineTo(85, 0);
lineTo(d, 5);
moveTo(s, 5);
arc(115, 8, 6, 0, a, false);
stroke();
//Draw the Eyes
beginPath();
arc(50, 65, 10, 0, a, false);
moveTo(95,65);
arc(95, 65, 10, 0, a, false);
fill();
}
}
}
}