////////////////////
//HEMO TEXT      //
//////////////////
function part19() {
    this.vbl = 0 ;
    this.canvaspart;
    this.initdone = 0 ;
    var visage_x=0;
    var visage_y=842;
    var visage_mytile = 0 ;
    var visage_canvas;  
    var vbl_visage=0;
    var visage_all_drawn=0;

    var SIZEx = 200;
    var SIZEy = 234;

    var myfont_big_tile = new codef_Tile() ;

    var cpt_visage_y=0;
    var pos_y=-266;
    var rot=0;
    var vbl_visage=0;
    var mycanvas_scr2;
    var mycanvas_scr3;
    var mycanvas_scr4;
    var endblack;    

    var scr_move=0;
    var scr_stop=0;
    var scr_vbl=0;
    var vbl_visage=0;

 function do_visage(a){visage.drawTile(a,visage_mytile,visage_x,visage_y);visage_mytile++;visage_x+=visage.tilew;visage_x>=visage.img.width&&(visage_x=0,visage_y-=visage.tileh,0>=visage_y&&(visage_all_drawn=1))}
this.init=function(a,b){this.canvaspart.fill("#0");this.canvaspart.draw(b);visage_canvas=new canvas(visage.img.width,visage.img.height);visage.initTile(visage.img.width,1,0);cpt_visage_y=vbl_visage=scr_vbl=scr_stop=scr_move=0;pos_y=-266;visage_x=visage_all_drawn=0;visage_y=842;visage_mytile=0;mycanvas_scr2=new canvas(720,576);mycanvas_scr4=new canvas(720,576);mycanvas_scr3=new canvas(1200,1200);background.draw(mycanvas_scr3,0,0);background.draw(mycanvas_scr3,0,800);endblack=new canvas(720,576);endblack.fill("#000000");
myfont_big_tile.initTile(myfont_big,myfont_big.img.width,myfont_big.img.height,450,417,32);myscrolltext_big=new scrolltext_horizontal;myscrolltext_big.scrtxt="    PLEASE  WAIT...      ";myscrolltext_big.init(mycanvas_scr4,myfont_big_tile,20);this.initdone=1};
this.render=function(a){0==this.initdone&&(this.canvaspart=new canvas(720,576),this.init(this.canvaspart,a));this.canvaspart.fill("#0");100<=vbl_visage&&(mycanvas_scr2.clear(),mycanvas_scr4.clear(),myscrolltext_big.draw(1),mycanvas_scr4.draw(mycanvas_scr2,0,scr_move),scr_stop++,120>scr_stop&&scr_move++,120<=scr_stop&&238>=scr_stop&&scr_move--,238<scr_stop&&(scr_stop=0),mycanvas_scr2.contex.globalCompositeOperation="source-in",mycanvas_scr3.draw(mycanvas_scr2,-200+100*Math.sin(scr_vbl*Math.PI/200),
-100+50*Math.cos(scr_vbl*Math.PI/200)),mycanvas_scr2.contex.globalCompositeOperation="source-over",mycanvas_scr2.draw(this.canvaspart,0,30,1),scr_vbl++);0==visage_all_drawn?(do_visage(visage_canvas),cpt_visage_y++,576<=cpt_visage_y&&(pos_y+=1),visage_canvas.draw(this.canvaspart,0,pos_y)):(vbl_visage++,0<vbl_visage&&115>vbl_visage?(cpt_visage_y=0,visage_canvas.draw(this.canvaspart,0,pos_y,1)):115<=vbl_visage&&170>vbl_visage&&(cpt_visage_y++,pos_y+=10,visage_canvas.draw(this.canvaspart,0,pos_y,1)));
100>this.vbl&&mycanvasblack.draw(a,60,88,1-this.vbl/100);this.canvaspart.draw(a);this.vbl>intro_parts[part_running].part_duration-100&&endblack.draw(a,0,0,1-(intro_parts[part_running].part_duration-this.vbl)/100);this.vbl++};

    return this ;
}

///////////////
//END PART19//
/////////////