function part1(){this.initdone=0;this.vbl=0;this.canvaspart;this.fade=0;var mycanvas_rem;var bgposy=-48;var logosin1=0;var sinlettersx=0;var sinlettersy=0;var oldsinx=0;var oldsiny=0;this.init=function(dest){mycanvas_rem=new canvas(160,100);mycanvas_rem.fill("#000022");mybg=new canvas(160,200);mylogo_union.setmidhandle();myletters.initTile(8,4,0);for(var i=0;i<6;i++)myimage.draw(mybg,0,i*48);this.initdone=1};this.render=function(dest){if(this.initdone==0){this.fade=0;this.vbl=0;this.canvaspart=new canvas(160,
100);this.init(this.canvaspart)}this.canvaspart.clear();mycanvas_rem.clear();mybg.draw(mycanvas_rem,0,bgposy);mylogo_union.draw(mycanvas_rem,80+Math.sin(logosin1)*65,12);oldsinx=sinlettersx;oldsiny=sinlettersy;var countl=0;for(var y=0;y<56;y+=4){for(var x=0;x<128;x+=8){myletters.drawTile(mycanvas_rem,countl++,17+x+Math.sin(sinlettersx)*8,34+y+Math.sin(sinlettersy)*4);sinlettersy+=.3}sinlettersy=oldsiny;sinlettersx+=.3}sinlettersx=oldsinx+.08;sinlettersy=oldsiny+.08;if((bgposy+=2)>=0)bgposy=-48;logosin1+=
.04;mycanvas_rem.draw(this.canvaspart,0,0,1);this.canvaspart.draw(dest,0,0,this.fade);if(this.vbl<100)this.fade+=.01;if(this.vbl>900)this.fade-=.01;this.vbl++};return this};