function part16() {
    this.initdone = 0 ;
    this.vbl = 0 ;
    this.canvaspart ;
    this.fade=0;
   
    var mycanvas_fact;
var myfxparam_scroll=[ 	{value: 0, amp: -24, inc:0.0045, offset: -0.06}	      ];

var mycanvas2;var copper_y=0;var courbe=70;var mycopper;var vbl_logo=0;var gfx_x=0;var gfx_y=0;var gfx_mytile=0;var gfx_canvas;var gfx_black;var gfx_all_drawn=0;var gfx_init_done=0;var num_logo=0;var vbl=0;var fade_logo=0;var intro_fade=0;
function do_gfx(dest){choix_logo[num_logo].drawTile(dest,gfx_mytile,gfx_x,gfx_y);gfx_mytile++;gfx_x+=choix_logo[num_logo].tilew;if(gfx_x>=choix_logo[num_logo].img.width){gfx_x=0;gfx_y+=choix_logo[num_logo].tileh;if(gfx_y>=choix_logo[num_logo].img.height)gfx_all_drawn=1}}
function draw_gfx(){if(vbl_logo==300){num_logo++;if(num_logo>1)num_logo=0;gfx_init_done=0;gfx_all_drawn=0;gfx_x=0;gfx_y=0;gfx_mytile=0;vbl_logo=0}vbl_logo++;if(gfx_init_done==0){gfx_init_done=1;choix_logo[num_logo].initTile(choix_logo[num_logo].img.width,1,0)}if(gfx_all_drawn==0)do_gfx(gfx_canvas);gfx_canvas.draw(mycanvas_fact,0,70)}
this.init=function(dest){mycanvas_fact=new canvas(160,100);mycanvas2=new canvas(160,16);fact_myfont.initTile(16,16,32);myscrolltext=new scrolltext_horizontal;myscrolltext.scrtxt="     POPULOUS 2  VERSION 520 BROKEN BY ZORVACK AND SUPPLIED BY STARSHOOTER ...       IF YOU WANNA GET IN TOUCH WITH US FOR ANY DONATIONS OR ANYTHING ELSE THEN TAKE A PAPER AND WRITE TO              FACTORY      BP 19      B.3O.4O      GRIVEGNEE 1        BELGIUM                IF YOU ARE INTERESTED IN ENTERING FACTORY , WE ARE LOOKING FOR CRACKERS,SUPPLIERS,CODERS,GFXS,MUSICIANS,MODEM TRADERS AND SWAPPERS  WE ALSO WANT TO OPEN NEW SECTIONS IN OTHER COUNTRIES LIKE UK,GERMANY,SWEDEN,NORWAY,ISLAND,FINLAND,BELGIUM,ITALIA,USA AND SO ON ...    THE CREDITS FOR THIS INTRO VERSION DEBUGGED MUST GO TO DEF KLF OF MAD VISION AND RADIAL OF FACTORY ...  STE OWNERS SHOULD PUMP UP THE VOLUME TO LISTEN TO A STEREO SOUND ...     GREETS TO    MAD VISION    IMPACT      CYNIX     SUPERIOR     DBUG     PROPHANATORS     BAD BOYS    PULSION     EUROPEAN SWAPPING CREW     TSB     TITANIUM    TURBO SWAP     FATLINERS      XTC      THUNDER FORCE      ANIMAL MINE     ARMADA        THE REPS AND VMAX ARE NO LONGER IN THE GREETS COZ FACTORY S MEMBERS HAD SOME DIFFICULTIES TO KNOW WHO WILL BE IN THE FIRST PLACE.       SPECIAL GREETS TO THE FANATICS   AXYS   DRAKE   ZUBIHT    ZARMI    RND     KAZ      1966    FLANKER    NIKO     BARKLEY     SNCF         JOSHOA AND JOE      OLDMAN    GADJO DE BRIEY     NYOGTHA.    WELCOME TO OUR NEW MEMBER    GANDALS.              AS ALWAYS MEGA FUCK TO F.I.D , THE CREW WHERE CRETINS ARE KINGS   HI ! FUZION AND FLOSSY OF THE SYNDICATE ...     FLOSSY POOR DICKHEAD YOU HATE US BUT WE DO NOT CARE BCOZ SHEEP CANNOT BE UNDERSTOOD BY MASSES OF HUMAN  BUT FROM OUR POINT OF VIEW THE DAMAGEST BRAIN IS IN THE EGG HEAD OF DRAGON OF FUZION ...  TRY TO BEAT IT CAMEO,1772 !!!         I DISLIKE TO WRITE SUCH LAME THINGS ABOUT MEMBERS OF THE SCENE BUT LIKE SAID ILLEGAL , YOU CAN NOT FIGHT DEBILITY WITH FLOWERS              SEE YA SOON ON AN ANOTHER DISK ......                         FACTORY 1992 MARCH THE 7TH               ";
myscrolltext.init(mycanvas2,fact_myfont,1.5);myfx_scroll=new FX(mycanvas2,mycanvas_fact,myfxparam_scroll);gfx_canvas=new canvas(choix_logo[num_logo].img.width,choix_logo[num_logo].img.height);gfx_black=new canvas(choix_logo[num_logo].img.width,choix_logo[num_logo].img.height);gfx_black.fill("#0");mycanvas_fact.fill("#0");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_fact.fill("#0");if(intro_fade==0){fact_factory_logo.draw(mycanvas_fact,0,0,fade_logo);fade_logo+=.01;if(fade_logo>=1)intro_fade=1}else{mycanvas2.clear();myscrolltext.draw(0);myfx_scroll.siny(0,30);draw_gfx()}mycanvas_fact.draw(this.canvaspart,0,0);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;
};

