var _0xf9e2=["\x78","\x79","\x78\x56\x65\x6C\x6F\x63\x69\x74\x79","\x79\x56\x65\x6C\x6F\x63\x69\x74\x79","\x69\x74\x65\x6D","\x61\x74\x74\x72","\x68\x74\x74\x70\x3A\x2F\x2F\x6F\x72\x2E\x67\x61\x6E\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x6F\x72\x67\x2F\x77\x70\x2D\x63\x6F\x6E\x74\x65\x6E\x74\x2F\x74\x68\x65\x6D\x65\x73\x2F\x64\x65\x66\x61\x75\x6C\x74\x2F\x69\x6D\x61\x67\x65\x73\x2F\x62\x6F\x69\x64\x2E\x70\x6E\x67","\x69\x6D\x61\x67\x65","\x6D\x6F\x76\x65","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x6D\x61\x78","\x6D\x69\x6E","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65","\x64\x69\x73\x74\x61\x6E\x63\x65","\x73\x71\x72\x74","\x6D\x6F\x76\x65\x41\x77\x61\x79","\x6C\x65\x6E\x67\x74\x68","\x6D\x6F\x76\x65\x43\x6C\x6F\x73\x65\x72","\x6D\x6F\x76\x65\x57\x69\x74\x68","\x72\x61\x6E\x64\x6F\x6D","\x63\x65\x69\x6C","\x6F\x6E\x6C\x6F\x61\x64","\x62\x6F\x69\x64\x73","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64","\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","\x3C\x64\x69\x76\x20\x69\x64\x3D\x27\x62\x6F\x69\x64\x73\x2D\x63\x61\x6E\x76\x61\x73\x27\x20\x73\x74\x79\x6C\x65\x3D\x27\x6D\x61\x72\x67\x69\x6E\x3A\x20\x61\x75\x74\x6F\x3B\x20\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x3A\x20\x77\x68\x69\x74\x65\x3B\x20\x77\x69\x64\x74\x68\x3A","\x70\x78\x3B\x20\x68\x65\x69\x67\x68\x74\x3A","\x70\x78\x3B\x27\x3E\x3C\x2F\x64\x69\x76\x3E\x3C\x70\x3E\x3C\x62\x75\x74\x74\x6F\x6E\x20\x69\x64\x3D\x27\x62\x6F\x69\x64\x73\x2D\x73\x74\x6F\x70\x27\x3E\x53\x74\x6F\x70\x3C\x2F\x62\x75\x74\x74\x6F\x6E\x3E\x3C\x2F\x70\x3E","\x62\x6F\x69\x64\x73\x2D\x63\x61\x6E\x76\x61\x73","\x70\x75\x73\x68","\x63\x61\x6C\x6C\x65\x65","\x62\x6F\x69\x64\x73\x2D\x73\x74\x6F\x70","\x6F\x6E\x63\x6C\x69\x63\x6B","\x53\x74\x61\x72\x74","\x53\x74\x6F\x70"];var Boid=function (_0x71f6x2,_0x71f6x3,_0x71f6x4){this[_0xf9e2[0]]=_0x71f6x2;this[_0xf9e2[1]]=_0x71f6x3;this[_0xf9e2[2]]=1;this[_0xf9e2[3]]=-1;_0x71f6x4=random(32)+16;this[_0xf9e2[4]]=paper[_0xf9e2[7]](_0xf9e2[6],_0x71f6x2,_0x71f6x3,_0x71f6x4,_0x71f6x4)[_0xf9e2[5]]({opacity:0.50});} ;Boid[_0xf9e2[9]][_0xf9e2[8]]=function (){this[_0xf9e2[0]]+=this[_0xf9e2[2]];this[_0xf9e2[1]]+=this[_0xf9e2[3]];var _0x71f6x5=5;if(this[_0xf9e2[0]]<=_0x71f6x5||this[_0xf9e2[0]]>=width-_0x71f6x5){this[_0xf9e2[0]]-=this[_0xf9e2[2]];this[_0xf9e2[0]]=Math[_0xf9e2[10]](this[_0xf9e2[0]],_0x71f6x5);this[_0xf9e2[0]]=Math[_0xf9e2[11]](this[_0xf9e2[0]],width-_0x71f6x5);this[_0xf9e2[2]]=-this[_0xf9e2[2]];this[_0xf9e2[0]]+=this[_0xf9e2[2]];} ;if(this[_0xf9e2[1]]<=_0x71f6x5||this[_0xf9e2[1]]>=height-_0x71f6x5){this[_0xf9e2[1]]-=this[_0xf9e2[3]];this[_0xf9e2[1]]=Math[_0xf9e2[10]](this[_0xf9e2[1]],_0x71f6x5);this[_0xf9e2[1]]=Math[_0xf9e2[11]](this[_0xf9e2[1]],height-_0x71f6x5);this[_0xf9e2[3]]=-this[_0xf9e2[3]];this[_0xf9e2[1]]+=this[_0xf9e2[3]];} ;this[_0xf9e2[4]][_0xf9e2[12]](this[_0xf9e2[2]],this[_0xf9e2[3]]);} ;Boid[_0xf9e2[9]][_0xf9e2[13]]=function (_0x71f6x6){var _0x71f6x7=this[_0xf9e2[0]]-_0x71f6x6[_0xf9e2[0]];var _0x71f6x8=this[_0xf9e2[1]]-_0x71f6x6[_0xf9e2[1]];return Math[_0xf9e2[14]](_0x71f6x7*_0x71f6x7+_0x71f6x8*_0x71f6x8);} ;Boid[_0xf9e2[9]][_0xf9e2[15]]=function (_0x71f6x9,_0x71f6xa){var _0x71f6xb=0;var _0x71f6xc=0;var _0x71f6xd=0;for(var _0x71f6xe=0;_0x71f6xe<_0x71f6x9[_0xf9e2[16]];_0x71f6xe++){var _0x71f6x6=_0x71f6x9[_0x71f6xe];if(_0x71f6x6[_0xf9e2[0]]==this[_0xf9e2[0]]&&_0x71f6x6[_0xf9e2[1]]==this[_0xf9e2[1]]){continue ;} ;var _0x71f6xf=this[_0xf9e2[13]](_0x71f6x6);if(_0x71f6xf<_0x71f6xa){_0x71f6xd++;var _0x71f6x10=(this[_0xf9e2[0]]-_0x71f6x6[_0xf9e2[0]]);var _0x71f6x11=(this[_0xf9e2[1]]-_0x71f6x6[_0xf9e2[1]]);if(_0x71f6x10>=0){_0x71f6x10=Math[_0xf9e2[14]](_0x71f6xa)-_0x71f6x10;} else {if(_0x71f6x10<0){_0x71f6x10=-Math[_0xf9e2[14]](_0x71f6xa)-_0x71f6x10;} ;} ;if(_0x71f6x11>=0){_0x71f6x11=Math[_0xf9e2[14]](_0x71f6xa)-_0x71f6x11;} else {if(_0x71f6x11<0){_0x71f6x11=-Math[_0xf9e2[14]](_0x71f6xa)-_0x71f6x11;} ;} ;_0x71f6xb+=_0x71f6x10;_0x71f6xc+=_0x71f6x11;_0x71f6x6=null;} ;} ;if(_0x71f6xd==0){return ;} ;this[_0xf9e2[2]]-=_0x71f6xb/5;this[_0xf9e2[3]]-=_0x71f6xc/5;} ;Boid[_0xf9e2[9]][_0xf9e2[17]]=function (_0x71f6x9,_0x71f6xf){if(_0x71f6x9[_0xf9e2[16]]<1){return ;} ;var _0x71f6x12=0;var _0x71f6x13=0;for(var _0x71f6xe=0;_0x71f6xe<_0x71f6x9[_0xf9e2[16]];_0x71f6xe++){var _0x71f6x6=_0x71f6x9[_0x71f6xe];if(_0x71f6x6[_0xf9e2[0]]==this[_0xf9e2[0]]&&_0x71f6x6[_0xf9e2[1]]==this[_0xf9e2[1]]){continue ;} ;if(this[_0xf9e2[13]](_0x71f6x6)>_0x71f6xf){continue ;} ;_0x71f6x12+=(this[_0xf9e2[0]]-_0x71f6x6[_0xf9e2[0]]);_0x71f6x13+=(this[_0xf9e2[1]]-_0x71f6x6[_0xf9e2[1]]);_0x71f6x6=null;} ;_0x71f6x12/=_0x71f6x9[_0xf9e2[16]];_0x71f6x13/=_0x71f6x9[_0xf9e2[16]];_0x71f6xf=Math[_0xf9e2[14]]((_0x71f6x12*_0x71f6x12)+(_0x71f6x13*_0x71f6x13))*-1.0;if(_0x71f6xf==0){return ;} ;this[_0xf9e2[2]]=Math[_0xf9e2[11]](this[_0xf9e2[2]]+(_0x71f6x12/_0x71f6xf)*0.15,maxVelocity);this[_0xf9e2[3]]=Math[_0xf9e2[11]](this[_0xf9e2[3]]+(_0x71f6x13/_0x71f6xf)*0.15,maxVelocity);} ;Boid[_0xf9e2[9]][_0xf9e2[18]]=function (_0x71f6x9,_0x71f6xf){if(_0x71f6x9[_0xf9e2[16]]<1){return ;} ;var _0x71f6x12=0;var _0x71f6x13=0;for(var _0x71f6xe=0;_0x71f6xe<_0x71f6x9[_0xf9e2[16]];_0x71f6xe++){var _0x71f6x6=_0x71f6x9[_0x71f6xe];if(_0x71f6x6[_0xf9e2[0]]==this[_0xf9e2[0]]&&_0x71f6x6[_0xf9e2[1]]==this[_0xf9e2[1]]){continue ;} ;if(this[_0xf9e2[13]](_0x71f6x6)>_0x71f6xf){continue ;} ;_0x71f6x12+=_0x71f6x6[_0xf9e2[2]];_0x71f6x13+=_0x71f6x6[_0xf9e2[3]];_0x71f6x6=null;} ;_0x71f6x12/=_0x71f6x9[_0xf9e2[16]];_0x71f6x13/=_0x71f6x9[_0xf9e2[16]];_0x71f6xf=Math[_0xf9e2[14]]((_0x71f6x12*_0x71f6x12)+(_0x71f6x13*_0x71f6x13))*1.0;if(_0x71f6xf==0){return ;} ;this[_0xf9e2[2]]=Math[_0xf9e2[11]](this[_0xf9e2[2]]+(_0x71f6x12/_0x71f6xf)*0.05,maxVelocity);this[_0xf9e2[3]]=Math[_0xf9e2[11]](this[_0xf9e2[3]]+(_0x71f6x13/_0x71f6xf)*0.05,maxVelocity);} ;var random=function (_0x71f6x15){return Math[_0xf9e2[20]](Math[_0xf9e2[19]]()*_0x71f6x15);} ;window[_0xf9e2[21]]=function (){width=480;height=300;var _0x71f6x16=false;maxVelocity=5;var _0x71f6x17=document[_0xf9e2[23]](_0xf9e2[22]);if(!_0x71f6x17){return ;} ;_0x71f6x17[_0xf9e2[24]]=_0xf9e2[25]+width+_0xf9e2[26]+height+_0xf9e2[27];paper=Raphael(_0xf9e2[28],width,height);var _0x71f6x9=[];var _0x71f6x18=20;for(var _0x71f6xe=0;_0x71f6xe<_0x71f6x18;_0x71f6xe++){_0x71f6x9[_0xf9e2[29]]( new Boid(random(width),random(height),5));} ;function _0x71f6x19(){for(var _0x71f6xe=0;_0x71f6xe<_0x71f6x18;_0x71f6xe++){_0x71f6x9[_0x71f6xe][_0xf9e2[18]](_0x71f6x9,200);_0x71f6x9[_0x71f6xe][_0xf9e2[17]](_0x71f6x9,100);_0x71f6x9[_0x71f6xe][_0xf9e2[15]](_0x71f6x9,10);} ;for(var _0x71f6xe=0;_0x71f6xe<_0x71f6x18;_0x71f6xe++){_0x71f6x9[_0x71f6xe][_0xf9e2[8]]();} ;if(!_0x71f6x16){setTimeout(arguments[_0xf9e2[30]],20);} ;} ;_0x71f6x19();var _0x71f6x1a=document[_0xf9e2[23]](_0xf9e2[31]);_0x71f6x1a[_0xf9e2[32]]=function (){_0x71f6x16=!_0x71f6x16;if(_0x71f6x16){_0x71f6x1a[_0xf9e2[24]]=_0xf9e2[33];} else {_0x71f6x19();_0x71f6x1a[_0xf9e2[24]]=_0xf9e2[34];} ;} ;} ;