//v1.0
// Roller Pictures on Boxes
// Copyright 2009 24Horas-OnLine.es  All rights reserved.


var dir_foto = "http://www.turquesa.24horas-online.es/thumbnails/";
var dir_pics = "http://www.turquesa-online.com/images/";

<!--  ITEMS  -->
function Articulo(code) {
this.code = 'p00000';
this.tittle = 'T';
this.subtittle = 'ST';
this.ebaytittle = 'ET';
this.fotoname = 'FN';
this.fotonumber = 0;
this.foto1 = 0;
this.foto2 = 0;
this.pvr = '0,0';
this.pvo= '0,0';
this.shortname = 'SN';
}

var p00 = new Articulo('p00');
p00.tittle = ' ';
p00.subtittle = ' ';
p00.ebaytittle = '   ';
p00.fotoname = ' ';
p00.fotonumber = 0;
p00.foto1 = '0';
p00.foto2 = '0';
p00.pvr = '0';
p00.pvo= '.95';
p00.shortname= ' ';


var p00123 = new Articulo('p00123');
p00123.tittle = 'Perfume de Hombre BAMBÚ de ADOLFO DOMINGUEZ';
p00123.subtittle = 'Eau de Toilette pour Homme - 60 ml. - Natural Spray - ORIGINAL';
p00123.ebaytittle = 'perfume hombre Bambu de Adolfo Dominguez 60 ¡NOVEDAD!';
p00123.fotoname = 'AD_Bambu_edt60_box_tqs_';
p00123.fotonumber = 2;
p00123.foto1 = '03';
p00123.foto2 = '01';
p00123.pvr = '36';
p00123.pvo= '15.95';
p00123.shortname= 'BAMBÚ de Adolfo Domínguez';

var p00154 = new Articulo('p00154');
p00154.tittle = 'Perfume CURIOUS de BRITNEY SPEARS';
p00154.subtittle = 'Eau de Parfum - 100 ml. - Natural Spray - ORIGINAL';
p00154.ebaytittle = 'perfume de mujer CURIOUS Britney Spears EDP100 ORIGINAL';
p00154.fotoname = 'BritneySpears_Curious_edp100_box_tqs_';
p00154.fotonumber = 4;
p00154.foto1 = '04';
p00154.foto2 = '01';
p00154.pvr = '60';
p00154.pvo= '26.95';
p00154.shortname= 'CURIOUS de Britney Spears  ';

var p00082 = new Articulo('p00082');
p00082.tittle = 'Perfume FANTASY de BRITNEY SPEARS Cofre Regalo';
p00082.subtittle = 'Eau de Parfum Spray 100 ml. + Magic Body Souffle 100 ml. + Perfumed Shower Gel 100 ml.';
p00082.ebaytittle = 'perfume mujer FANTASY Britney Spears edp100 CAJA REGALO';
p00082.fotoname = 'BritneySpears_Fantasy_edp100&body&gel_tqs_';
p00082.fotonumber = 5;
p00082.foto1 = '01';
p00082.foto2 = '04';
p00082.pvr = '66';
p00082.pvo= '37.95';
p00082.shortname= 'FANTASY de Britney Spears  ';

var p00191 = new Articulo('p00191');
p00191.tittle = 'Perfume de Mujer LIBERTÉ de CACHAREL';
p00191.subtittle = 'COFRE REGALO: edt 75 + Gel Hidratante 100 ml. + Perfumed Body Lotion 100 ml.';
p00191.ebaytittle = ' Cofre Regalo LlBERTE CachareI Perfume+Gel+Locion PVP74&euro; ';
p00191.fotoname = 'Cacharel_Liberte_75+body+gel_tqs_';
p00191.fotonumber = 6;
p00191.foto1 = '01';
p00191.foto2 = '03';
p00191.pvr = '74';
p00191.pvo= '32.95';
p00191.shortname= 'LIBERTÉ de Cacharel Cofre Regalo ';

var p00053 = new Articulo('p00053');
p00053.tittle = 'Perfume ETERNITY Woman CALVIN KLEIN ';
p00053.subtittle = ' Eau de Parfum - 100 ml. - Natural Spray - ORIGINAL ';
p00053.ebaytittle = 'ETERNITY WOMAN EDP 100 CALVlN KLElN Perfume de Mujer ';
p00053.fotoname = 'CK_Eternity_edp100_box_tqs_';
p00053.fotonumber = 3;
p00053.foto1 = '03';
p00053.foto2 = '04';
p00053.pvr = '72';
p00053.pvo= '47.95';
p00053.shortname= 'CK ETERNITY Woman  ';

var p00251 = new Articulo('p00251');
p00251.tittle = 'Perfume CK MAN de CALVIN KLEIN';
p00251.subtittle = 'SET REGALO: Eau de Toilette 100 ml. + Aftershave 100 ml. + Neceser Calvin Klein.';
p00251.ebaytittle = ' C.K. MAN 100 CALVlN KLElN +After+Neceser Perfume Hombre ';
p00251.fotoname = 'CK_Man_100_AS_100_Neceser_tqs_';
p00251.fotonumber = 5;
p00251.foto1 = '05';
p00251.foto2 = '01';
p00251.pvr = '78';
p00251.pvo= '39.95';
p00251.shortname= 'CK MAN Calvin Klein Set + Neceser';

var p00243 = new Articulo('p00243');
p00243.tittle = 'Perfume CK ONE de CALVIN KLEIN';
p00243.subtittle = 'SET REGALO: Eau de Toilette 100 ml. + Weekend Bag de Calvin Klein.';
p00243.ebaytittle = ' Perfumes Baratos C.K. ONE CALVlN KLElN 100 +Weekend Bag ';
p00243.fotoname = 'CK_One_100_WeekendBag_tqs_';
p00243.fotonumber = 5;
p00243.foto1 = '05';
p00243.foto2 = '00';
p00243.pvr = '66';
p00243.pvo= '35.95';
p00243.shortname= 'CK ONE + Weekend Bag';

var p00216t199 = new Articulo('p00216t199');
p00216t199.tittle = 'Rouge a Lèvres Lipstick GOLDEN MIRAGE de CHRISTIAN DIOR';
p00216t199.subtittle = 'Barra de Labios - Tono 199: Mirage D´Or - 3,5 g. - PVR 33€';
p00216t199.ebaytittle = ' Chr.Dio. LIPSTICK Barra Labios Hidratante +Filtro Solar ';
p00216t199.fotoname = 'Dior_GoldenMirage_Lipstick_tqs_';
p00216t199.fotonumber = 3;
p00216t199.foto1 = '01';
p00216t199.foto2 = '02';
p00216t199.pvr = '33';
p00216t199.pvo= '6.95';
p00216t199.shortname= 'Dior Lipstick Golden Mirage  '

var p00253 = new Articulo('p00253');
p00253.tittle = 'Perfume hombre DUNHILL DESIRE BLUE For a Man';
p00253.subtittle = 'Eau de Toilette pour Homme - 100 ml. - Natural Spray - Original';
p00253.ebaytittle = ' DunhiII DESIRE BLUE For a Man 100 Perfumes Baratos Hombre';
p00253.fotoname = 'Dunhill_DesireBlue_Man_100_box_tqs_';
p00253.fotonumber = 4;
p00253.foto1 = '02';
p00253.foto2 = '01';
p00253.pvr = '54';
p00253.pvo= '29.95 ';
p00253.shortname= 'Dunhill DESIRE BLUE Man';

var p00188 = new Articulo('p00188');
p00188.tittle = 'Perfume 5TH AVENUE de ELIZABETH ARDEN';
p00188.subtittle = 'COFRE REGALO: Eau de Parfum 75 ml. + Gel Hidratante 100 ml. + Locion  Perfumada 100 ml.';
p00188.ebaytittle = 'perfume mujer 5th AVENUE Elizabeth Arden COFRE REGALO';
p00188.fotoname = 'EA_5thAvenue_edp75_3pz_tqs_';
p00188.fotonumber = 3;
p00188.foto1 = '01';
p00188.foto2 = '02';
p00188.pvr = '72';
p00188.pvo= '26.95';
p00188.shortname= 'Cofre 5th Avenue Elizabeth Arden';

var p00202 = new Articulo('p00202');
p00202.tittle = 'Perfume 5th AVENUE AFTER FIVE de Elizabeth Arden';
p00202.subtittle = 'SET REGALO: Eau de Parfum 75 ml + Crema Perfumada 100 ml. (Body Lotion)<BR>+ Polvos Luminosos (Shimmer Powder) + Bolso de Mano - PVR 66€';
p00202.ebaytittle = 'Perfume 5TH AVENUE AFTER FIVE Elizabet Arden SET REGALO';
p00202.fotoname = 'EA_5thAvenue_AfterFive_edp75_4pz_tqs_';
p00202.fotonumber = 5;
p00202.foto1 = '01';
p00202.foto2 = '02';
p00202.pvr = '66';
p00202.pvo= '27.95';
p00202.shortname= 'Set 5th Avenue After Five E. Arden';

var p00163 = new Articulo('p00163');
p00163.tittle = 'Ceramide Eyes Time Complex Capsules de Elizabeth Arden';
p00163.subtittle = 'Tratamiento Contorno de Ojos - 60 Capsulas - PVR 48€';
p00163.ebaytittle = 'Crema Contorno Ojos Ceramide Eye ARDEN 60 Capsules 48€';
p00163.fotoname = 'EA_CeramideEyes_Capsules_x60_tqs_';
p00163.fotonumber = 3;
p00163.foto1 = '01';
p00163.foto2 = '03';
p00163.pvr = '48';
p00163.pvo= '27.95';
p00163.shortname= 'Ceramide Eyes Capsules E. Arden';

var p00127 = new Articulo('p00127');
p00127.tittle = 'Emulsión Renovadora MILLENIUM DAY de Elizabeth ARDEN ';
p00127.subtittle = 'Day Renewal Emulsion 75 ml. PVR 91€';
p00127.ebaytittle = 'emulsion RENOVADORA MILLENIUM DAY Elizabeth Arden 91€';
p00127.fotoname = 'EA_Millenium_DayRenewal_cream75ml_tqs_';
p00127.fotonumber = 2;
p00127.foto1 = '01';
p00127.foto2 = '02';
p00127.pvr = '90';
p00127.pvo= '27.95';
p00127.shortname= 'Crema MILLENIUM DAY E. Arden';

var p00194 = new Articulo('p00194');
p00194.tittle = 'MILLENIUM NIGHT de Elizabeth ARDEN Crema Renovadora de Noche';
p00194.subtittle = 'NIght Renewal Cream 50 ml. PVR 114€';
p00194.ebaytittle = ' crema RENOVADORA MILLENIUM NIGHT Elizabeth Arden 114€ ';
p00194.fotoname = 'EA_Millenium_NightRenewal_50_tqs_';
p00194.fotonumber = 3;
p00194.foto1 = '01';
p00194.foto2 = '03';
p00194.pvr = '114';
p00194.pvo= '28.95';
p00194.shortname= 'Crema MILLENIUM NIGHT E. Arden ';

var p00217 = new Articulo('p00217');
p00217.tittle = 'SHEER WHITE Pure Intensive Capsules ELIZABETH ARDEN';
p00217.subtittle = 'Serum Intensivo Clarificante Antimanchas - 37 Capsulas - PVR 84€';
p00217.ebaytittle = ' ARDEN SHEER WHITE Serum Capsulas Semillas Uva Vitamin C ';
p00217.fotoname = 'EA_SheerWhite_37capsules_tqs_';
p00217.fotonumber = 2;
p00217.foto1 = '01';
p00217.foto2 = '02';
p00217.pvr = '54';
p00217.pvo= '15.95';
p00217.shortname= 'SHEER WHITE SERUM E. Arden  ';

var p00190 = new Articulo('p00190');
p00190.tittle = 'Perfume SUN FLOWERS de Elizabeth Arden';
p00190.subtittle = 'COFRE REGALO: Eau de Toilette 100 ml. + Gel Hidratante 100 ml. + Locion Perfumada 100 ml.';
p00190.ebaytittle = 'SUN FLOWERS Elizabeth Arden COFRE REGALO EDT +GEL +BODY';
p00190.fotoname = 'EA_SunFlowers_100_body_gel_tqs_';
p00190.fotonumber = 2;
p00190.foto1 = '01';
p00190.foto2 = '02';
p00190.pvr = '54';
p00190.pvo= '24.95';
p00190.pvc= '00.00';
p00190.shortname= 'Cofre SUNFLOWERS Elizabeth Arden';

var p00128 = new Articulo('p00128');
p00128.tittle = 'Crema VISIBLE DIFFERENCE de Elizabeth Arden';
p00128.subtittle = 'Refining Moisture Cream Complex 75 ml. PVR 78€';
p00128.ebaytittle = 'Crema Facial SUPER HIDRATANTE Elizabeth ARDEN 75ml 78€ ';
p00128.fotoname = 'EA_VisibleDifference_RefiningCream_75ml_tqs_';
p00128.fotonumber = 4;
p00128.foto1 = '03';
p00128.foto2 = '01';
p00128.pvr = '78';
p00128.pvo= '27.95';
p00128.shortname= 'Crema Super Hidratante E. Arden';

var p00206 = new Articulo('p00206');
p00206.tittle = 'BRONZING SHIMMER POWDER de ELIZABETH ARDEN';
p00206.subtittle = 'Polvos Bronceadores Iluminadores + Espejo Tocador + Brocha Kabuki - PVR 48€';
p00206.ebaytittle = ' E. ARDEN Polvos de Sol Iluminadores + Brocha Kabuki 48€ ';
p00206.fotoname = 'EA_BronzingShimmerPowder_tqs_';
p00206.fotonumber = 4;
p00206.foto1 = '02';
p00206.foto2 = '03';
p00206.pvr = '48';
p00206.pvo= '18.95';
p00206.shortname= 'Polvos de Sol Bronceadores E. Arden';

var p00241 = new Articulo('p00241');
p00241.tittle = 'FLAWLESS FINISH BARE PERFECTION MAKEUP de ELIZABETH ARDEN';
p00241.subtittle = 'Fondo de Maquillaje Fluido Antiedad SPF 8 - Frasco Dosificador 30 ml. - Varios Tonos - PVR 38€';
p00241.ebaytittle = ' ELIZABETH ARDEN Maquillaje Fluido Antiedad SPF8 PVR 38€ ';
p00241.fotoname = 'EA_FlawlessFinish_VariosTonos_tqs_';
p00241.fotonumber = 3;
p00241.foto1 = '03';
p00241.foto2 = '01';
p00241.pvr = '38';
p00241.pvo= '14.95';
p00241.shortname= 'Maquillaje Flawless Finish E. Arden';

var p00246 = new Articulo('p00246');
p00246.tittle = 'PEEL & REVEAL KIT de ELIZABETH ARDEN';
p00246.subtittle = 'Kit Tratamiento Revitalizante 3 Pasos: Mascarilla Peeling Retexturizante 50 ml. + Solución Post Peeling 100 ml. + Loción Post Peeling 30 ml. - PVR 58€';
p00246.ebaytittle = '  PEEL & REVEAL Elizabeth Arden Kit Mascarilla Peeling ';
p00246.fotoname = 'EA_PeelRevealKit_tqs_';
p00246.fotonumber = 3;
p00246.foto1 = '01';
p00246.foto2 = '02';
p00246.pvr = '54';
p00246.pvo= '30.95';
p00246.shortname= 'Peeling Kit Elizabeth Arden';

var p00012 = new Articulo('p00012');
p00012.tittle = 'Perfume HALLOWEEN de JESUS DEL POZO';
p00012.subtittle = 'Eau de Toilette pour Femme - 100 ml. - Natural Spray - ORIGINAL';
p00012.ebaytittle = 'perfume de mujer Halloween de Jesus del Pozo edt 100ml.';
p00012.fotoname = 'JesusDelPozo_Halloween_100_box_tqs_';
p00012.fotonumber = 2;
p00012.foto1 = '02';
p00012.foto2 = '01';
p00012.pvr = '56';
p00012.pvo= '25.95';
p00012.shortname= 'HALLOWEEN de Jesús del Pozo';

var p00174 = new Articulo('p00174');
p00174.tittle = 'Perfume SUN MOON STARS de KARL LAGERFELD';
p00174.subtittle = 'Eau de Toilette pour Homme - 100 ml. - Natural Spray - Original';
p00174.ebaytittle = 'perfume de mujer Sun Moon Stars de KarI LagerfeId 100ml';
p00174.fotoname = 'Lagerfeld_SunMoonStars_100_box_tqs_';
p00174.fotonumber = 4;
p00174.pvcode = '54,32,20';
p00174.foto1 = '04';
p00174.foto2 = '01';
p00174.pvr = '54';
p00174.pvo= '29.95';
p00174.shortname= 'Soon Moon Stars Karl Lagerfeld';

var p00153 = new Articulo('p00153');
p00153.tittle = 'Perfume de Lujo para Hombre NIKOS SCULPTURE ';
p00153.subtittle = 'Eau de Toilette pour Homme - 100 ml. - Natural Spray - ORIGINAL';
p00153.ebaytittle = 'perfume NIKOS SCULPTURE 100 Perfume de Lujo para Hombre';
p00153.fotoname = 'Nikos_Sculpture_edt100_box_tqs_';
p00153.fotonumber = 5;
p00153.foto1 = '05';
p00153.foto2 = '01';
p00153.pvr = '68';
p00153.pvo= '30.95';
p00153.shortname= 'NIKOS SCULPTURE pour Homme ';

var p00196 = new Articulo('p00196');
p00196.tittle = 'Bolso de Piel PURIFICACION GARCIA';
p00196.subtittle = 'Mod. GOLDEN VINTAGE LEATHER - PVR 190€';
p00196.ebaytittle = 'bolso piel Purificacion Garcia PG GOLDEN VINTAGE 190€';
p00196.fotoname = 'Bolso_PG_Vintage_06_Gold_tqs_';
p00196.fotonumber = 6;
p00196.foto1 = '01';
p00196.foto2 = '02';
p00196.pvr = '190';
p00196.pvo= '76.95';
p00196.shortname= 'Bolso PG Golden Vintage';

var p00197 = new Articulo('p00197');
p00197.tittle = 'Bolso de Piel PURIFICACION GARCIA';
p00197.subtittle = 'Mod. PG COPPER REFLECTIONS - PVR 160€';
p00197.ebaytittle = 'bolso piel Purificacion Garcia PG COPPER REFLECT. 160€ ';
p00197.fotoname = 'Bolso_PG_Tote_06_Cooper_tqs_';
p00197.fotonumber = 5;
p00197.foto1 = '01';
p00197.foto2 = '02';
p00197.pvr = '160';
p00197.pvo= '68.95';
p00197.shortname= 'Bolso PG Cooper Reflections';

var p00198 = new Articulo('p00198');
p00198.tittle = 'Bolso de Piel PURIFICACION GARCIA';
p00198.subtittle = 'Mod. PG URBAN STYLE BUCKLES - PVR 210€';
p00198.ebaytittle = ' bolso piel Purificacion Garcia URBAN STYLE BUCKLES 210€ ';
p00198.fotoname = 'Bolso_PG_Buckles_06_Browns_tqs_';
p00198.fotonumber = 5;
p00198.foto1 = '01';
p00198.foto2 = '02';
p00198.pvr = '210';
p00198.pvo= '83.95';
p00198.shortname= 'Bolso PG Urban Buckles';

var p00119 = new Articulo('p00119');
p00119.tittle = 'Perfume PSICODELIC PACHA IBIZA MAN';
p00119.subtittle = 'Eau de Toilette for Man - 50 ml. - Natural Spray - Original';
p00119.ebaytittle = 'perfume de hombre PSICODELIC PACHA IBIZA MAN ¡NOVEDAD!';
p00119.fotoname = 'Pacha_Ibiza_Psicodelic_Man_edt50_box_tqs_';
p00119.fotonumber = 4;
p00119.pvcode = '34,14';
p00119.foto1 = '04';
p00119.foto2 = '03';
p00119.pvr = '34';
p00119.pvo= '14.95';
p00119.shortname= 'PSICODELIC Pachá Ibiza';

var p00229 = new Articulo('p00229');
p00229.tittle = 'Perfume BYZANCE de ROCHAS';
p00229.subtittle = 'Cofre Regalo: EDT Femme 100 ml. + Perfumed Body Lotion 200 ml. ';
p00229.ebaytittle = ' Cofre ROCHAS BYZANCE 100 + BODY 200 Perfumes de Mujer ';
p00229.fotoname = 'Rochas_Byzance_edt100_body200_tqs_';
p00229.fotonumber = 8;
p00229.foto1 = '01';
p00229.foto2 = '04';
p00229.pvr = '86';
p00229.pvo= '36.95';
p00229.shortname= 'Rochas BYZANCE Cofre Regalo';

var p00089 = new Articulo('p00089');
p00089.tittle = 'Perfume BYZANCE de ROCHAS';
p00089.subtittle = 'Eau de Toilette pour Femme - 100 ml. - Natural Spray - ORIGINAL  (No Tester)';
p00089.ebaytittle = 'perfume de mujer ROCHAS BYZANCE edt 100ml ORIGINAL';
p00089.fotoname = 'Rochas_Byzance_edt100_box_tqs_';
p00089.fotonumber = 6;
p00089.foto1 = '00';
p00089.foto2 = '01';
p00089.pvr = '78';
p00089.pvo= '30.95';
p00089.shortname= 'Rochas BYZANCE pour Femme';

var p00131 = new Articulo('p00131');
p00131.tittle = 'perfume de mujer ROCHAS TOCADE edt 100ml ORIGINAL';
p00131.subtittle = 'Eau de Toilette pour Femme - 100 ml. - Natural Spray - ORIGINAL';
p00131.ebaytittle = 'perfume de mujer TOCADE de ROCHAS edt 100 ml. ORIGINAL';
p00131.fotoname = 'Rochas_Tocade_edt100_box_tqs_';
p00131.fotonumber = 8;
p00131.foto1 = '00';
p00131.foto2 = '01';
p00131.pvr = '78';
p00131.pvo= '33.95';
p00131.shortname= 'Rochas TOCADE pour Femme';

var p00211 = new Articulo('p00211');
p00211.tittle = 'Perfume COVET PURE BLOOM de SARAH JESSICA PARKER';
p00211.subtittle = 'Eau de Parfum - 100 ml. - Natural Spray - ORIGINAL - ¡NOVEDAD!';
p00211.ebaytittle = 'perfume mujer COVET PURE BLOOM edp Sarah Jessica Parker';
p00211.fotoname = 'SJP_CovetPureBloom_edp100_box_tqs_';
p00211.fotonumber = 6;
p00211.foto1 = '06';
p00211.foto2 = '01';
p00211.pvr = '66';
p00211.pvo= '25.95';
p00211.shortname= 'COVET PURE BLOOM Sarah J. Parker';

var p00245 = new Articulo('p00245');
p00245.tittle = 'Perfume COVET de SARAH JESSICA PARKER';
p00245.subtittle = 'Eau de Parfum - 100 ml. - Natural Spray - I have to got it!';
p00245.ebaytittle = ' COVET 100 SARAH JESSICA PARKER Perfumes Baratos OnLine  ';
p00245.fotoname = 'SJP_Covet_edp100_box_tqs_';
p00245.fotonumber = 4;
p00.foto1 = '04';
p00.foto2 = '01';
p00.pvr = '68';
p00.pvo= '26.95';
p00.shortname= 'COVET Sarah Jessica Parker ';

<!--  FIN ITEMS  -->

<!--  ROLL - VARS  -->

var box1_pic_num = 7; // >1 = roller() -- max. 10
var tempo_b1 = 6400;  //  roll box_2 time mileseg.

var box2_pic_num = 9; // >1 = roller() -- max. 10
var tempo_b2 = 4600;  //  roll box_2 time mileseg.

var box3_pic_num = 7; // >1 = roller() -- max. 10
var tempo_b3 = 5800;  //  roll box_2 time mileseg.

var box4_pic_num = 8; // >1 = roller() -- max. 10
var tempo_b4 = 5200;  //  roll box_2 time mileseg.


var drw = 1;  // >0  init draw_pic()
var wrt = 1;  //  >0 init write_sub()
var roll = 1;  //  >0 init roller()
function draw_pic() { 
	draw_pic1_1(); 
	draw_pic2_1();
	draw_pic3_1(); 
	draw_pic4_1();

}
function write_sub() { 
	write_sub1_1(); 
	write_sub2_1();
	write_sub3_1(); 
	write_sub4_1();

}
function roller() {
	roller_1(); 
	roller_2(); 
	roller_3(); 
	roller_4(); 
}	

<!--  BOX 1 - VARS  -->

var box1_pic1_foto_n1 = p00191.fotoname+p00191.foto1+".jpg";  
var box1_pic2_foto_n1 = p00191.fotoname+p00191.foto2+".jpg"; 
var box1_pic1_foto_s1 = p00191.pvr;
var box1_pic2_foto_s1 = p00191.pvo;
var box1_item_name1 = p00191.shortname;

var box1_pic1_foto_n2 = p00229.fotoname+p00229.foto1+".jpg"; 
var box1_pic2_foto_n2 = p00229.fotoname+p00229.foto2+".jpg";  
var box1_pic1_foto_s2 = p00229.pvr;
var box1_pic2_foto_s2 = p00229.pvo;
var box1_item_name2 = p00229.shortname;

var box1_pic1_foto_n3 = p00251.fotoname+p00251.foto1+".jpg";  
var box1_pic2_foto_n3 = p00251.fotoname+p00251.foto2+".jpg"; 
var box1_pic1_foto_s3 = p00251.pvr;
var box1_pic2_foto_s3 = p00251.pvo;
var box1_item_name3 = p00251.shortname;

var box1_pic1_foto_n4 = p00188.fotoname+p00188.foto1+".jpg"; 
var box1_pic2_foto_n4 = p00188.fotoname+p00188.foto2+".jpg";  
var box1_pic1_foto_s4 = p00188.pvr;
var box1_pic2_foto_s4 = p00188.pvo;
var box1_item_name4 = p00188.shortname;

var box1_pic1_foto_n5 = p00243.fotoname+p00243.foto1+".jpg";  
var box1_pic2_foto_n5 = p00243.fotoname+p00243.foto2+".jpg"; 
var box1_pic1_foto_s5 = p00243.pvr;
var box1_pic2_foto_s5 = p00243.pvo;
var box1_item_name5 = p00243.shortname;

var box1_pic1_foto_n6 = p00196.fotoname+p00196.foto1+".jpg"; 
var box1_pic2_foto_n6 = p00196.fotoname+p00196.foto2+".jpg";  
var box1_pic1_foto_s6 = p00196.pvr;
var box1_pic2_foto_s6 = p00196.pvo;
var box1_item_name6 = p00196.shortname;

var box1_pic1_foto_n7 = p00197.fotoname+p00197.foto1+".jpg";  
var box1_pic2_foto_n7 = p00197.fotoname+p00197.foto2+".jpg"; 
var box1_pic1_foto_s7 = p00197.pvr;
var box1_pic2_foto_s7 = p00197.pvo;
var box1_item_name7 = p00197.shortname;

var box1_pic1_foto_n8 = p00188.fotoname+p00188.foto1+".jpg"; 
var box1_pic2_foto_n8 = p00188.fotoname+p00188.foto2+".jpg";  
var box1_pic1_foto_s8 = p00188.pvr;
var box1_pic2_foto_s8 = p00188.pvo;
var box1_item_name8 = p00188.shortname;

var box1_pic1_foto_n9 = p00191.fotoname+p00191.foto1+".jpg";  
var box1_pic2_foto_n9 = p00191.fotoname+p00191.foto2+".jpg"; 
var box1_pic1_foto_s9 = p00191.pvr;
var box1_pic2_foto_s9 = p00191.pvo;
var box1_item_name9 = p00191.shortname;

var box1_pic1_foto_n10 = p00251.fotoname+p00251.foto1+".jpg"; 
var box1_pic2_foto_n10 = p00251.fotoname+p00251.foto2+".jpg";  
var box1_pic1_foto_s10 = p00251.pvr;
var box1_pic2_foto_s10 = p00251.pvo;
var box1_item_name10 = p00251.shortname;

<!--  BOX 2 - VARS  -->

var box2_pic1_foto_n1 = p00206.fotoname+p00206.foto1+".jpg";  
var box2_pic2_foto_n1 = p00206.fotoname+p00206.foto2+".jpg"; 
var box2_pic1_foto_s1 = p00206.pvr;
var box2_pic2_foto_s1 = p00206.pvo;
var box2_item_name1 = p00206.shortname;

var box2_pic1_foto_n2 = p00127.fotoname+p00127.foto1+".jpg"; 
var box2_pic2_foto_n2 = p00127.fotoname+p00127.foto2+".jpg";  
var box2_pic1_foto_s2 = p00127.pvr;
var box2_pic2_foto_s2 = p00127.pvo;
var box2_item_name2 = p00127.shortname;

var box2_pic1_foto_n3 = p00194.fotoname+p00194.foto1+".jpg";  
var box2_pic2_foto_n3 = p00194.fotoname+p00194.foto2+".jpg"; 
var box2_pic1_foto_s3 = p00194.pvr;
var box2_pic2_foto_s3 = p00194.pvo;
var box2_item_name3 = p00194.shortname;

var box2_pic1_foto_n4 = p00246.fotoname+p00246.foto1+".jpg"; 
var box2_pic2_foto_n4 = p00246.fotoname+p00246.foto2+".jpg";  
var box2_pic1_foto_s4 = p00246.pvr;
var box2_pic2_foto_s4 = p00246.pvo;
var box2_item_name4 = p00246.shortname;

var box2_pic1_foto_n5 = p00128.fotoname+p00128.foto1+".jpg";  
var box2_pic2_foto_n5 = p00128.fotoname+p00128.foto2+".jpg"; 
var box2_pic1_foto_s5 = p00128.pvr;
var box2_pic2_foto_s5 = p00128.pvo;
var box2_item_name5 = p00128.shortname;

var box2_pic1_foto_n6 = p00217.fotoname+p00217.foto1+".jpg"; 
var box2_pic2_foto_n6 = p00217.fotoname+p00217.foto2+".jpg";  
var box2_pic1_foto_s6 = p00217.pvr;
var box2_pic2_foto_s6 = p00217.pvo;
var box2_item_name6 = p00217.shortname;

var box2_pic1_foto_n7 = p00163.fotoname+p00163.foto1+".jpg";  
var box2_pic2_foto_n7 = p00163.fotoname+p00163.foto2+".jpg"; 
var box2_pic1_foto_s7 = p00163.pvr;
var box2_pic2_foto_s7 = p00163.pvo;
var box2_item_name7 = p00163.shortname;

var box2_pic1_foto_n8 = p00241.fotoname+p00241.foto1+".jpg"; 
var box2_pic2_foto_n8 = p00241.fotoname+p00241.foto2+".jpg";  
var box2_pic1_foto_s8 = p00241.pvr;
var box2_pic2_foto_s8 = p00241.pvo;
var box2_item_name8 = p00241.shortname;

var box2_pic1_foto_n9 = p00246.fotoname+p00246.foto1+".jpg";  
var box2_pic2_foto_n9 = p00246.fotoname+p00246.foto2+".jpg"; 
var box2_pic1_foto_s9 = p00246.pvr;
var box2_pic2_foto_s9 = p00246.pvo;
var box2_item_name9 = p00246.shortname;

var box2_pic1_foto_n10 = p00251.fotoname+p00251.foto1+".jpg"; 
var box2_pic2_foto_n10 = p00251.fotoname+p00251.foto2+".jpg";  
var box2_pic1_foto_s10 = p00251.pvr;
var box2_pic2_foto_s10 = p00251.pvo;
var box2_item_name10 = p00251.shortname;

<!--  BOX 3 - VARS  -->

var box3_pic1_foto_n1 = p00154.fotoname+p00154.foto1+".jpg";  
var box3_pic2_foto_n1 = p00154.fotoname+p00154.foto2+".jpg"; 
var box3_pic1_foto_s1 = p00154.pvr;
var box3_pic2_foto_s1 = p00154.pvo;
var box3_item_name1 = p00154.shortname;

var box3_pic1_foto_n2 = p00202.fotoname+p00202.foto1+".jpg"; 
var box3_pic2_foto_n2 = p00202.fotoname+p00202.foto2+".jpg";  
var box3_pic1_foto_s2 = p00202.pvr;
var box3_pic2_foto_s2 = p00202.pvo;
var box3_item_name2 = p00202.shortname;

var box3_pic1_foto_n3 = p00089.fotoname+p00089.foto1+".jpg";  
var box3_pic2_foto_n3 = p00089.fotoname+p00089.foto2+".jpg"; 
var box3_pic1_foto_s3 = p00089.pvr;
var box3_pic2_foto_s3 = p00089.pvo;
var box3_item_name3 = p00089.shortname;

var box3_pic1_foto_n4 = p00211.fotoname+p00211.foto1+".jpg"; 
var box3_pic2_foto_n4 = p00211.fotoname+p00211.foto2+".jpg";  
var box3_pic1_foto_s4 = p00211.pvr;
var box3_pic2_foto_s4 = p00211.pvo;
var box3_item_name4 = p00211.shortname;

var box3_pic1_foto_n5 = p00053.fotoname+p00053.foto1+".jpg";  
var box3_pic2_foto_n5 = p00053.fotoname+p00053.foto2+".jpg"; 
var box3_pic1_foto_s5 = p00053.pvr;
var box3_pic2_foto_s5 = p00053.pvo;
var box3_item_name5 = p00053.shortname;

var box3_pic1_foto_n6 = p00082.fotoname+p00082.foto1+".jpg"; 
var box3_pic2_foto_n6 = p00082.fotoname+p00082.foto2+".jpg";  
var box3_pic1_foto_s6 = p00082.pvr;
var box3_pic2_foto_s6 = p00082.pvo;
var box3_item_name6 = p00082.shortname;

var box3_pic1_foto_n7 = p00131.fotoname+p00131.foto1+".jpg";  
var box3_pic2_foto_n7 = p00131.fotoname+p00131.foto2+".jpg"; 
var box3_pic1_foto_s7 = p00131.pvr;
var box3_pic2_foto_s7 = p00131.pvo;
var box3_item_name7 = p00131.shortname;

var box3_pic1_foto_n8 = p00188.fotoname+p00188.foto1+".jpg"; 
var box3_pic2_foto_n8 = p00188.fotoname+p00188.foto2+".jpg";  
var box3_pic1_foto_s8 = p00188.pvr;
var box3_pic2_foto_s8 = p00188.pvo;
var box3_item_name8 = p00188.shortname;

var box3_pic1_foto_n9 = p00191.fotoname+p00191.foto1+".jpg";  
var box3_pic2_foto_n9 = p00191.fotoname+p00191.foto2+".jpg"; 
var box3_pic1_foto_s9 = p00191.pvr;
var box3_pic2_foto_s9 = p00191.pvo;
var box3_item_name9 = p00191.shortname;

var box3_pic1_foto_n10 = p00251.fotoname+p00251.foto1+".jpg"; 
var box3_pic2_foto_n10 = p00251.fotoname+p00251.foto2+".jpg";  
var box3_pic1_foto_s10 = p00251.pvr;
var box3_pic2_foto_s10 = p00251.pvo;
var box3_item_name10 = p00251.shortname;

<!--  BOX 4 - VARS  -->

var box4_pic1_foto_n1 = p00123.fotoname+p00123.foto1+".jpg";  
var box4_pic2_foto_n1 = p00123.fotoname+p00123.foto2+".jpg"; 
var box4_pic1_foto_s1 = p00123.pvr;
var box4_pic2_foto_s1 = p00123.pvo;
var box4_item_name1 = p00123.shortname;

var box4_pic1_foto_n2 = p00012.fotoname+p00012.foto1+".jpg"; 
var box4_pic2_foto_n2 = p00012.fotoname+p00012.foto2+".jpg";  
var box4_pic1_foto_s2 = p00012.pvr;
var box4_pic2_foto_s2 = p00012.pvo;
var box4_item_name2 = p00012.shortname;

var box4_pic1_foto_n3 = p00253.fotoname+p00253.foto1+".jpg";  
var box4_pic2_foto_n3 = p00253.fotoname+p00253.foto2+".jpg"; 
var box4_pic1_foto_s3 = p00253.pvr;
var box4_pic2_foto_s3 = p00253.pvo;
var box4_item_name3 = p00253.shortname;

var box4_pic1_foto_n4 = p00190.fotoname+p00190.foto1+".jpg"; 
var box4_pic2_foto_n4 = p00190.fotoname+p00190.foto2+".jpg";  
var box4_pic1_foto_s4 = p00190.pvr;
var box4_pic2_foto_s4 = p00190.pvo;
var box4_item_name4 = p00190.shortname;

var box4_pic1_foto_n5 = p00119.fotoname+p00119.foto1+".jpg";  
var box4_pic2_foto_n5 = p00119.fotoname+p00119.foto2+".jpg"; 
var box4_pic1_foto_s5 = p00119.pvr;
var box4_pic2_foto_s5 = p00119.pvo;
var box4_item_name5 = p00119.shortname;

var box4_pic1_foto_n6 = p00211.fotoname+p00211.foto1+".jpg"; 
var box4_pic2_foto_n6 = p00211.fotoname+p00211.foto2+".jpg";  
var box4_pic1_foto_s6 = p00211.pvr;
var box4_pic2_foto_s6 = p00211.pvo;
var box4_item_name6 = p00211.shortname;

var box4_pic1_foto_n7 = p00153.fotoname+p00153.foto1+".jpg";  
var box4_pic2_foto_n7 = p00153.fotoname+p00153.foto2+".jpg"; 
var box4_pic1_foto_s7 = p00153.pvr;
var box4_pic2_foto_s7 = p00153.pvo;
var box4_item_name7 = p00153.shortname;

var box4_pic1_foto_n8 = p00174.fotoname+p00174.foto1+".jpg"; 
var box4_pic2_foto_n8 = p00174.fotoname+p00174.foto2+".jpg";  
var box4_pic1_foto_s8 = p00174.pvr;
var box4_pic2_foto_s8 = p00174.pvo;
var box4_item_name8 = p00174.shortname;

var box4_pic1_foto_n9 = p00191.fotoname+p00191.foto1+".jpg";  
var box4_pic2_foto_n9 = p00191.fotoname+p00191.foto2+".jpg"; 
var box4_pic1_foto_s9 = p00191.pvr;
var box4_pic2_foto_s9 = p00191.pvo;
var box4_item_name9 = p00191.shortname;

var box4_pic1_foto_n10 = p00251.fotoname+p00251.foto1+".jpg"; 
var box4_pic2_foto_n10 = p00251.fotoname+p00251.foto2+".jpg";  
var box4_pic1_foto_s10 = p00251.pvr;
var box4_pic2_foto_s10 = p00251.pvo;
var box4_item_name10 = p00251.shortname;

<!--  BOX 1 - SCRIPTS  -->
var box1_pic1_foto1 = new Image(); box1_pic1_foto1.src=dir_foto+box1_pic1_foto_n1;
var box1_pic2_foto1 = new Image(); box1_pic2_foto1.src=dir_foto+box1_pic2_foto_n1;

var box1_pic1_foto2 = new Image(); box1_pic1_foto2.src=dir_foto+box1_pic1_foto_n2;
var box1_pic2_foto2 = new Image(); box1_pic2_foto2.src=dir_foto+box1_pic2_foto_n2;

var box1_pic1_foto3 = new Image(); box1_pic1_foto3.src=dir_foto+box1_pic1_foto_n3;
var box1_pic2_foto3 = new Image(); box1_pic2_foto3.src=dir_foto+box1_pic2_foto_n3;

var box1_pic1_foto4 = new Image(); box1_pic1_foto4.src=dir_foto+box1_pic1_foto_n4;
var box1_pic2_foto4 = new Image(); box1_pic2_foto4.src=dir_foto+box1_pic2_foto_n4;

var box1_pic1_foto5 = new Image(); box1_pic1_foto5.src=dir_foto+box1_pic1_foto_n5;
var box1_pic2_foto5 = new Image(); box1_pic2_foto5.src=dir_foto+box1_pic2_foto_n5;

var box1_pic1_foto6 = new Image(); box1_pic1_foto6.src=dir_foto+box1_pic1_foto_n6;
var box1_pic2_foto6 = new Image(); box1_pic2_foto6.src=dir_foto+box1_pic2_foto_n6;

var box1_pic1_foto7 = new Image(); box1_pic1_foto7.src=dir_foto+box1_pic1_foto_n7;
var box1_pic2_foto7 = new Image(); box1_pic2_foto7.src=dir_foto+box1_pic2_foto_n7;

var box1_pic1_foto8 = new Image(); box1_pic1_foto8.src=dir_foto+box1_pic1_foto_n8;
var box1_pic2_foto8 = new Image(); box1_pic2_foto8.src=dir_foto+box1_pic2_foto_n8;

var box1_pic1_foto9 = new Image(); box1_pic1_foto9.src=dir_foto+box1_pic1_foto_n9;
var box1_pic2_foto9 = new Image(); box1_pic2_foto9.src=dir_foto+box1_pic2_foto_n9;

var box1_pic1_foto10 = new Image(); box1_pic1_foto10.src=dir_foto+box1_pic1_foto_n10;
var box1_pic2_foto10 = new Image(); box1_pic2_foto10.src=dir_foto+box1_pic2_foto_n10;

var roll_b1_pics;
var roll_b1_sub;

function draw_pic1_1() {
	var obj_box1_pic1 = document.all ? document.all('box1_pic1') : document.getElementById('box1_pic1');
	var obj_box1_pic2 = document.all ? document.all('box1_pic2') : document.getElementById('box1_pic2');
	obj_box1_pic1.src=box1_pic1_foto1.src;
	obj_box1_pic2.src=box1_pic2_foto1.src;
	roll_b1_pics = 1;
}
function draw_pic1_2() {
	var obj_box1_pic1 = document.all ? document.all('box1_pic1') : document.getElementById('box1_pic1');
	var obj_box1_pic2 = document.all ? document.all('box1_pic2') : document.getElementById('box1_pic2');
	obj_box1_pic1.src=box1_pic1_foto2.src;
	obj_box1_pic2.src=box1_pic2_foto2.src;
	roll_b1_pics = 2;
}

function draw_pic1_3() {
	var obj_box1_pic1 = document.all ? document.all('box1_pic1') : document.getElementById('box1_pic1');
	var obj_box1_pic2 = document.all ? document.all('box1_pic2') : document.getElementById('box1_pic2');
	obj_box1_pic1.src=box1_pic1_foto3.src;
	obj_box1_pic2.src=box1_pic2_foto3.src;
	roll_b1_pics = 3;
}
function draw_pic1_4() {
	var obj_box1_pic1 = document.all ? document.all('box1_pic1') : document.getElementById('box1_pic1');
	var obj_box1_pic2 = document.all ? document.all('box1_pic2') : document.getElementById('box1_pic2');
	obj_box1_pic1.src=box1_pic1_foto4.src;
	obj_box1_pic2.src=box1_pic2_foto4.src;
	roll_b1_pics = 4;
}
function draw_pic1_5() {
	var obj_box1_pic1 = document.all ? document.all('box1_pic1') : document.getElementById('box1_pic1');
	var obj_box1_pic2 = document.all ? document.all('box1_pic2') : document.getElementById('box1_pic2');
	obj_box1_pic1.src=box1_pic1_foto5.src;
	obj_box1_pic2.src=box1_pic2_foto5.src;
	roll_b1_pics = 5;
}
function draw_pic1_6() {
	var obj_box1_pic1 = document.all ? document.all('box1_pic1') : document.getElementById('box1_pic1');
	var obj_box1_pic2 = document.all ? document.all('box1_pic2') : document.getElementById('box1_pic2');
	obj_box1_pic1.src=box1_pic1_foto6.src;
	obj_box1_pic2.src=box1_pic2_foto6.src;
	roll_b1_pics = 6;
}
function draw_pic1_7() {
	var obj_box1_pic1 = document.all ? document.all('box1_pic1') : document.getElementById('box1_pic1');
	var obj_box1_pic2 = document.all ? document.all('box1_pic2') : document.getElementById('box1_pic2');
	obj_box1_pic1.src=box1_pic1_foto7.src;
	obj_box1_pic2.src=box1_pic2_foto7.src;
	roll_b1_pics = 7;
}
function draw_pic1_8() {
	var obj_box1_pic1 = document.all ? document.all('box1_pic1') : document.getElementById('box1_pic1');
	var obj_box1_pic2 = document.all ? document.all('box1_pic2') : document.getElementById('box1_pic2');
	obj_box1_pic1.src=box1_pic1_foto8.src;
	obj_box1_pic2.src=box1_pic2_foto8.src;
	roll_b1_pics = 8;
}
function draw_pic1_9() {
	var obj_box1_pic1 = document.all ? document.all('box1_pic1') : document.getElementById('box1_pic1');
	var obj_box1_pic2 = document.all ? document.all('box1_pic2') : document.getElementById('box1_pic2');
	obj_box1_pic1.src=box1_pic1_foto9.src;
	obj_box1_pic2.src=box1_pic2_foto9.src;
	roll_b1_pics = 9;
}
function draw_pic1_10() {
	var obj_box1_pic1 = document.all ? document.all('box1_pic1') : document.getElementById('box1_pic1');
	var obj_box1_pic2 = document.all ? document.all('box1_pic2') : document.getElementById('box1_pic2');
	obj_box1_pic1.src=box1_pic1_foto10.src;
	obj_box1_pic2.src=box1_pic2_foto10.src;
	roll_b1_pics = 10;
}

function write_sub1_1() {
	if (document.all) {
		document.all('box1_sub1').innerHTML='<div>PVR '+box1_pic1_foto_s1+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box1_sub1').innerHTML='<div>PVR '+box1_pic1_foto_s1+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box1_sub2').innerHTML='<div>'+box1_pic2_foto_s1+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box1_sub2').innerHTML='<div>'+box1_pic2_foto_s1+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box1_item').innerHTML=box1_item_name1; }
	else if (document.getElementById) {
		document.getElementById('box1_item').innerHTML=box1_item_name1; }		
	roll_b1_sub = 1;
}
function write_sub1_2() {
	if (document.all) {
		document.all('box1_sub1').innerHTML='<div>PVR '+box1_pic1_foto_s2+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box1_sub1').innerHTML='<div>PVR '+box1_pic1_foto_s2+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box1_sub2').innerHTML='<div>'+box1_pic2_foto_s2+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box1_sub2').innerHTML='<div>'+box1_pic2_foto_s2+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box1_item').innerHTML=box1_item_name2; }
	else if (document.getElementById) {
		document.getElementById('box1_item').innerHTML=box1_item_name2; }	
	roll_b1_sub = 2;

}
function write_sub1_3() {
	if (document.all) {
		document.all('box1_sub1').innerHTML='<div>PVR '+box1_pic1_foto_s3+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box1_sub1').innerHTML='<div>PVR '+box1_pic1_foto_s3+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box1_sub2').innerHTML='<div>'+box1_pic2_foto_s3+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box1_sub2').innerHTML='<div>'+box1_pic2_foto_s3+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box1_item').innerHTML=box1_item_name3 ; }
	else if (document.getElementById) {
		document.getElementById('box1_item').innerHTML=box1_item_name3; }	
	roll_b1_sub = 2;

}
function write_sub1_4() {
	if (document.all) {
		document.all('box1_sub1').innerHTML='<div>PVR '+box1_pic1_foto_s4+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box1_sub1').innerHTML='<div>PVR '+box1_pic1_foto_s4+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box1_sub2').innerHTML='<div>'+box1_pic2_foto_s4+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box1_sub2').innerHTML='<div>'+box1_pic2_foto_s4+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box1_item').innerHTML=box1_item_name4; }
	else if (document.getElementById) {
		document.getElementById('box1_item').innerHTML=box1_item_name4; }	
	roll_b1_sub = 2;

}
function write_sub1_5() {
	if (document.all) {
		document.all('box1_sub1').innerHTML='<div>PVR '+box1_pic1_foto_s5+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box1_sub1').innerHTML='<div>PVR '+box1_pic1_foto_s5+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box1_sub2').innerHTML='<div>'+box1_pic2_foto_s5+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box1_sub2').innerHTML='<div>'+box1_pic2_foto_s5+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box1_item').innerHTML=box1_item_name5; }
	else if (document.getElementById) {
		document.getElementById('box1_item').innerHTML=box1_item_name5; }	
	roll_b1_sub = 2;

}
function write_sub1_6() {
	if (document.all) {
		document.all('box1_sub1').innerHTML='<div>PVR '+box1_pic1_foto_s6+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box1_sub1').innerHTML='<div>PVR '+box1_pic1_foto_s6+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box1_sub2').innerHTML='<div>'+box1_pic2_foto_s6+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box1_sub2').innerHTML='<div>'+box1_pic2_foto_s6+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box1_item').innerHTML=box1_item_name6; }
	else if (document.getElementById) {
		document.getElementById('box1_item').innerHTML=box1_item_name6; }	
	roll_b1_sub = 2;

}
function write_sub1_7() {
	if (document.all) {
		document.all('box1_sub1').innerHTML='<div>PVR '+box1_pic1_foto_s7+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box1_sub1').innerHTML='<div>PVR '+box1_pic1_foto_s7+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box1_sub2').innerHTML='<div>'+box1_pic2_foto_s7+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box1_sub2').innerHTML='<div>'+box1_pic2_foto_s7+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box1_item').innerHTML=box1_item_name7; }
	else if (document.getElementById) {
		document.getElementById('box1_item').innerHTML=box1_item_name7; }	
	roll_b1_sub = 2;

}
function write_sub1_8() {
	if (document.all) {
		document.all('box1_sub1').innerHTML='<div>PVR '+box1_pic1_foto_s8+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box1_sub1').innerHTML='<div>PVR '+box1_pic1_foto_s8+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box1_sub2').innerHTML='<div>'+box1_pic2_foto_s8+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box1_sub2').innerHTML='<div>'+box1_pic2_foto_s8+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box1_item').innerHTML=box1_item_name8; }
	else if (document.getElementById) {
		document.getElementById('box1_item').innerHTML=box1_item_name8; }	
	roll_b1_sub = 2;

}
function write_sub1_9() {
	if (document.all) {
		document.all('box1_sub1').innerHTML='<div>PVR '+box1_pic1_foto_s9+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box1_sub1').innerHTML='<div>PVR '+box1_pic1_foto_s9+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box1_sub2').innerHTML='<div>'+box1_pic2_foto_s9+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box1_sub2').innerHTML='<div>'+box1_pic2_foto_s9+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box1_item').innerHTML=box1_item_name9; }
	else if (document.getElementById) {
		document.getElementById('box1_item').innerHTML=box1_item_name9; }	
	roll_b1_sub = 2;

}
function write_sub1_10() {
	if (document.all) {
		document.all('box1_sub1').innerHTML='<div>PVR '+box1_pic1_foto_s10+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box1_sub1').innerHTML='<div>PVR '+box1_pic1_foto_s10+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box1_sub2').innerHTML='<div>'+box1_pic2_foto_s10+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box1_sub2').innerHTML='<div>'+box1_pic2_foto_s10+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box1_item').innerHTML=box1_item_name10; }
	else if (document.getElementById) {
		document.getElementById('box1_item').innerHTML=box1_item_name10; }	
	roll_b1_sub = 2;

}

var time_b1;
var timer_b1;

function roller_1() {
	if (box1_pic_num > 1) {
		time_b1 = setTimeout("roller_box1_1()",0001); }
} 
function roller_box1_1() { 
	if (roll_b1_pics > 1) { draw_pic1_1(); }
	if (roll_b1_sub >1) { 	write_sub1_1(); }
 	timer_b1 = setTimeout("roller_box1_2()",tempo_b1); 
}
function roller_box1_2() { 
	draw_pic1_2();
	write_sub1_2();
	if (box1_pic_num > 2) {
 		timer_b1 = setTimeout("roller_box1_3()",tempo_b1); }
	else {
	 	timer_b1 = setTimeout("roller_box1_1()",tempo_b1); }
}
function roller_box1_3() { 
	draw_pic1_3();
	write_sub1_3();
	if (box1_pic_num > 3) {
 		timer_b1 = setTimeout("roller_box1_4()",tempo_b1); }
	else {
	 	timer_b1 = setTimeout("roller_box1_1()",tempo_b1); }
}
function roller_box1_4() { 
	draw_pic1_4();
	write_sub1_4();
	if (box1_pic_num > 4) {
 		timer_b1 = setTimeout("roller_box1_5()",tempo_b1); }
	else {
	 	timer_b1 = setTimeout("roller_box1_1()",tempo_b1); }
}
function roller_box1_5() { 
	draw_pic1_5();
	write_sub1_5();
	if (box1_pic_num > 5) {
 		timer_b1 = setTimeout("roller_box1_6()",tempo_b1); }
	else {
	 	timer_b1 = setTimeout("roller_box1_1()",tempo_b1); }
}
function roller_box1_6() { 
	draw_pic1_6();
	write_sub1_6();
	if (box1_pic_num > 6) {
 		timer_b1 = setTimeout("roller_box1_7()",tempo_b1); }
	else {
	 	timer_b1 = setTimeout("roller_box1_1()",tempo_b1); }
}
function roller_box1_7() { 
	draw_pic1_7();
	write_sub1_7();
	if (box1_pic_num > 7) {
 		timer_b1 = setTimeout("roller_box1_8()",tempo_b1); }
	else {
	 	timer_b1 = setTimeout("roller_box1_1()",tempo_b1); }
}
function roller_box1_8() { 
	draw_pic1_8();
	write_sub1_8();
	if (box1_pic_num > 8) {
 		timer_b1 = setTimeout("roller_box1_9()",tempo_b1); }
	else {
	 	timer_b1 = setTimeout("roller_box1_1()",tempo_b1); }
}
function roller_box1_9() { 
	draw_pic1_9();
	write_sub1_9();
	if (box1_pic_num > 9) {
 		timer_b1 = setTimeout("roller_box1_10()",tempo_b1); }
	else {
	 	timer_b1 = setTimeout("roller_box1_1()",tempo_b1); }
}
function roller_box1_10() { 
	draw_pic1_10();
	write_sub1_10();
	if (box1_pic_num > 10) {
 		timer_b1 = setTimeout("roller_box1_1()",tempo_b1); }
	else {
	 	timer_b1 = setTimeout("roller_box1_1()",tempo_b1); }
}

<!--  BOX 2 - SCRIPTS  -->

var box2_pic1_foto1 = new Image(); box2_pic1_foto1.src=dir_foto+box2_pic1_foto_n1;
var box2_pic2_foto1 = new Image(); box2_pic2_foto1.src=dir_foto+box2_pic2_foto_n1;

var box2_pic1_foto2 = new Image(); box2_pic1_foto2.src=dir_foto+box2_pic1_foto_n2;
var box2_pic2_foto2 = new Image(); box2_pic2_foto2.src=dir_foto+box2_pic2_foto_n2;

var box2_pic1_foto3 = new Image(); box2_pic1_foto3.src=dir_foto+box2_pic1_foto_n3;
var box2_pic2_foto3 = new Image(); box2_pic2_foto3.src=dir_foto+box2_pic2_foto_n3;

var box2_pic1_foto4 = new Image(); box2_pic1_foto4.src=dir_foto+box2_pic1_foto_n4;
var box2_pic2_foto4 = new Image(); box2_pic2_foto4.src=dir_foto+box2_pic2_foto_n4;

var box2_pic1_foto5 = new Image(); box2_pic1_foto5.src=dir_foto+box2_pic1_foto_n5;
var box2_pic2_foto5 = new Image(); box2_pic2_foto5.src=dir_foto+box2_pic2_foto_n5;

var box2_pic1_foto6 = new Image(); box2_pic1_foto6.src=dir_foto+box2_pic1_foto_n6;
var box2_pic2_foto6 = new Image(); box2_pic2_foto6.src=dir_foto+box2_pic2_foto_n6;

var box2_pic1_foto7 = new Image(); box2_pic1_foto7.src=dir_foto+box2_pic1_foto_n7;
var box2_pic2_foto7 = new Image(); box2_pic2_foto7.src=dir_foto+box2_pic2_foto_n7;

var box2_pic1_foto8 = new Image(); box2_pic1_foto8.src=dir_foto+box2_pic1_foto_n8;
var box2_pic2_foto8 = new Image(); box2_pic2_foto8.src=dir_foto+box2_pic2_foto_n8;

var box2_pic1_foto9 = new Image(); box2_pic1_foto9.src=dir_foto+box2_pic1_foto_n9;
var box2_pic2_foto9 = new Image(); box2_pic2_foto9.src=dir_foto+box2_pic2_foto_n9;

var box2_pic1_foto10 = new Image(); box2_pic1_foto10.src=dir_foto+box2_pic1_foto_n10;
var box2_pic2_foto10 = new Image(); box2_pic2_foto10.src=dir_foto+box2_pic2_foto_n10;

var roll_b2_pics;
var roll_b2_sub;

function draw_pic2_1() {
	var obj_box2_pic1 = document.all ? document.all('box2_pic1') : document.getElementById('box2_pic1');
	var obj_box2_pic2 = document.all ? document.all('box2_pic2') : document.getElementById('box2_pic2');
	obj_box2_pic1.src=box2_pic1_foto1.src;
	obj_box2_pic2.src=box2_pic2_foto1.src;
	roll_b2_pics = 1;
}
function draw_pic2_2() {
	var obj_box2_pic1 = document.all ? document.all('box2_pic1') : document.getElementById('box2_pic1');
	var obj_box2_pic2 = document.all ? document.all('box2_pic2') : document.getElementById('box2_pic2');
	obj_box2_pic1.src=box2_pic1_foto2.src;
	obj_box2_pic2.src=box2_pic2_foto2.src;
	roll_b2_pics = 2;
}

function draw_pic2_3() {
	var obj_box2_pic1 = document.all ? document.all('box2_pic1') : document.getElementById('box2_pic1');
	var obj_box2_pic2 = document.all ? document.all('box2_pic2') : document.getElementById('box2_pic2');
	obj_box2_pic1.src=box2_pic1_foto3.src;
	obj_box2_pic2.src=box2_pic2_foto3.src;
	roll_b2_pics = 3;
}
function draw_pic2_4() {
	var obj_box2_pic1 = document.all ? document.all('box2_pic1') : document.getElementById('box2_pic1');
	var obj_box2_pic2 = document.all ? document.all('box2_pic2') : document.getElementById('box2_pic2');
	obj_box2_pic1.src=box2_pic1_foto4.src;
	obj_box2_pic2.src=box2_pic2_foto4.src;
	roll_b2_pics = 4;
}
function draw_pic2_5() {
	var obj_box2_pic1 = document.all ? document.all('box2_pic1') : document.getElementById('box2_pic1');
	var obj_box2_pic2 = document.all ? document.all('box2_pic2') : document.getElementById('box2_pic2');
	obj_box2_pic1.src=box2_pic1_foto5.src;
	obj_box2_pic2.src=box2_pic2_foto5.src;
	roll_b2_pics = 5;
}
function draw_pic2_6() {
	var obj_box2_pic1 = document.all ? document.all('box2_pic1') : document.getElementById('box2_pic1');
	var obj_box2_pic2 = document.all ? document.all('box2_pic2') : document.getElementById('box2_pic2');
	obj_box2_pic1.src=box2_pic1_foto6.src;
	obj_box2_pic2.src=box2_pic2_foto6.src;
	roll_b2_pics = 6;
}
function draw_pic2_7() {
	var obj_box2_pic1 = document.all ? document.all('box2_pic1') : document.getElementById('box2_pic1');
	var obj_box2_pic2 = document.all ? document.all('box2_pic2') : document.getElementById('box2_pic2');
	obj_box2_pic1.src=box2_pic1_foto7.src;
	obj_box2_pic2.src=box2_pic2_foto7.src;
	roll_b2_pics = 7;
}
function draw_pic2_8() {
	var obj_box2_pic1 = document.all ? document.all('box2_pic1') : document.getElementById('box2_pic1');
	var obj_box2_pic2 = document.all ? document.all('box2_pic2') : document.getElementById('box2_pic2');
	obj_box2_pic1.src=box2_pic1_foto8.src;
	obj_box2_pic2.src=box2_pic2_foto8.src;
	roll_b2_pics = 8;
}
function draw_pic2_9() {
	var obj_box2_pic1 = document.all ? document.all('box2_pic1') : document.getElementById('box2_pic1');
	var obj_box2_pic2 = document.all ? document.all('box2_pic2') : document.getElementById('box2_pic2');
	obj_box2_pic1.src=box2_pic1_foto9.src;
	obj_box2_pic2.src=box2_pic2_foto9.src;
	roll_b2_pics = 9;
}
function draw_pic2_10() {
	var obj_box2_pic1 = document.all ? document.all('box2_pic1') : document.getElementById('box2_pic1');
	var obj_box2_pic2 = document.all ? document.all('box2_pic2') : document.getElementById('box2_pic2');
	obj_box2_pic1.src=box2_pic1_foto10.src;
	obj_box2_pic2.src=box2_pic2_foto10.src;
	roll_b2_pics = 10;
}

function write_sub2_1() {
	if (document.all) {
		document.all('box2_sub1').innerHTML='<div>PVR '+box2_pic1_foto_s1+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box2_sub1').innerHTML='<div>PVR '+box2_pic1_foto_s1+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box2_sub2').innerHTML='<div>'+box2_pic2_foto_s1+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box2_sub2').innerHTML='<div>'+box2_pic2_foto_s1+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box2_item').innerHTML=box2_item_name1; }
	else if (document.getElementById) {
		document.getElementById('box2_item').innerHTML=box2_item_name1; }		
	roll_b2_sub = 1;
}
function write_sub2_2() {
	if (document.all) {
		document.all('box2_sub1').innerHTML='<div>PVR '+box2_pic1_foto_s2+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box2_sub1').innerHTML='<div>PVR '+box2_pic1_foto_s2+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box2_sub2').innerHTML='<div>'+box2_pic2_foto_s2+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box2_sub2').innerHTML='<div>'+box2_pic2_foto_s2+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box2_item').innerHTML=box2_item_name2; }
	else if (document.getElementById) {
		document.getElementById('box2_item').innerHTML=box2_item_name2; }	
	roll_b2_sub = 2;

}
function write_sub2_3() {
	if (document.all) {
		document.all('box2_sub1').innerHTML='<div>PVR '+box2_pic1_foto_s3+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box2_sub1').innerHTML='<div>PVR '+box2_pic1_foto_s3+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box2_sub2').innerHTML='<div>'+box2_pic2_foto_s3+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box2_sub2').innerHTML='<div>'+box2_pic2_foto_s3+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box2_item').innerHTML=box2_item_name3 ; }
	else if (document.getElementById) {
		document.getElementById('box2_item').innerHTML=box2_item_name3; }	
	roll_b2_sub = 2;

}
function write_sub2_4() {
	if (document.all) {
		document.all('box2_sub1').innerHTML='<div>PVR '+box2_pic1_foto_s4+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box2_sub1').innerHTML='<div>PVR '+box2_pic1_foto_s4+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box2_sub2').innerHTML='<div>'+box2_pic2_foto_s4+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box2_sub2').innerHTML='<div>'+box2_pic2_foto_s4+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box2_item').innerHTML=box2_item_name4; }
	else if (document.getElementById) {
		document.getElementById('box2_item').innerHTML=box2_item_name4; }	
	roll_b2_sub = 2;

}
function write_sub2_5() {
	if (document.all) {
		document.all('box2_sub1').innerHTML='<div>PVR '+box2_pic1_foto_s5+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box2_sub1').innerHTML='<div>PVR '+box2_pic1_foto_s5+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box2_sub2').innerHTML='<div>'+box2_pic2_foto_s5+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box2_sub2').innerHTML='<div>'+box2_pic2_foto_s5+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box2_item').innerHTML=box2_item_name5; }
	else if (document.getElementById) {
		document.getElementById('box2_item').innerHTML=box2_item_name5; }	
	roll_b2_sub = 2;

}
function write_sub2_6() {
	if (document.all) {
		document.all('box2_sub1').innerHTML='<div>PVR '+box2_pic1_foto_s6+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box2_sub1').innerHTML='<div>PVR '+box2_pic1_foto_s6+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box2_sub2').innerHTML='<div>'+box2_pic2_foto_s6+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box2_sub2').innerHTML='<div>'+box2_pic2_foto_s6+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box2_item').innerHTML=box2_item_name6; }
	else if (document.getElementById) {
		document.getElementById('box2_item').innerHTML=box2_item_name6; }	
	roll_b2_sub = 2;

}
function write_sub2_7() {
	if (document.all) {
		document.all('box2_sub1').innerHTML='<div>PVR '+box2_pic1_foto_s7+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box2_sub1').innerHTML='<div>PVR '+box2_pic1_foto_s7+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box2_sub2').innerHTML='<div>'+box2_pic2_foto_s7+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box2_sub2').innerHTML='<div>'+box2_pic2_foto_s7+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box2_item').innerHTML=box2_item_name7; }
	else if (document.getElementById) {
		document.getElementById('box2_item').innerHTML=box2_item_name7; }	
	roll_b2_sub = 2;

}
function write_sub2_8() {
	if (document.all) {
		document.all('box2_sub1').innerHTML='<div>PVR '+box2_pic1_foto_s8+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box2_sub1').innerHTML='<div>PVR '+box2_pic1_foto_s8+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box2_sub2').innerHTML='<div>'+box2_pic2_foto_s8+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box2_sub2').innerHTML='<div>'+box2_pic2_foto_s8+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box2_item').innerHTML=box2_item_name8; }
	else if (document.getElementById) {
		document.getElementById('box2_item').innerHTML=box2_item_name8; }	
	roll_b2_sub = 2;

}
function write_sub2_9() {
	if (document.all) {
		document.all('box2_sub1').innerHTML='<div>PVR '+box2_pic1_foto_s9+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box2_sub1').innerHTML='<div>PVR '+box2_pic1_foto_s9+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box2_sub2').innerHTML='<div>'+box2_pic2_foto_s9+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box2_sub2').innerHTML='<div>'+box2_pic2_foto_s9+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box2_item').innerHTML=box2_item_name9; }
	else if (document.getElementById) {
		document.getElementById('box2_item').innerHTML=box2_item_name9; }	
	roll_b2_sub = 2;

}
function write_sub2_10() {
	if (document.all) {
		document.all('box2_sub1').innerHTML='<div>PVR '+box2_pic1_foto_s10+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box2_sub1').innerHTML='<div>PVR '+box2_pic1_foto_s10+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box2_sub2').innerHTML='<div>'+box2_pic2_foto_s10+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box2_sub2').innerHTML='<div>'+box2_pic2_foto_s10+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box2_item').innerHTML=box2_item_name10; }
	else if (document.getElementById) {
		document.getElementById('box2_item').innerHTML=box2_item_name10; }	
	roll_b2_sub = 2;

}

var time_b2;
var timer_b2;

function roller_2() {
	if (box2_pic_num > 1) {
		time_b2 = setTimeout("roller_box2_1()",0001); }
} 

function roller_box2_1() { 
	if (roll_b2_pics > 1) { draw_pic2_1(); }
	if (roll_b2_sub >1) { 	write_sub2_1(); }
 	timer_b2 = setTimeout("roller_box2_2()",tempo_b2); 
}
function roller_box2_2() { 
	draw_pic2_2();
	write_sub2_2();
	if (box2_pic_num > 2) {
 		timer_b2 = setTimeout("roller_box2_3()",tempo_b2); }
	else {
	 	timer_b2 = setTimeout("roller_box2_1()",tempo_b2); }
}
function roller_box2_3() { 
	draw_pic2_3();
	write_sub2_3();
	if (box2_pic_num > 3) {
 		timer_b2 = setTimeout("roller_box2_4()",tempo_b2); }
	else {
	 	timer_b2 = setTimeout("roller_box2_1()",tempo_b2); }
}
function roller_box2_4() { 
	draw_pic2_4();
	write_sub2_4();
	if (box2_pic_num > 4) {
 		timer_b2 = setTimeout("roller_box2_5()",tempo_b2); }
	else {
	 	timer_b2 = setTimeout("roller_box2_1()",tempo_b2); }
}
function roller_box2_5() { 
	draw_pic2_5();
	write_sub2_5();
	if (box2_pic_num > 5) {
 		timer_b2 = setTimeout("roller_box2_6()",tempo_b2); }
	else {
	 	timer_b2 = setTimeout("roller_box2_1()",tempo_b2); }
}
function roller_box2_6() { 
	draw_pic2_6();
	write_sub2_6();
	if (box2_pic_num > 6) {
 		timer_b2 = setTimeout("roller_box2_7()",tempo_b2); }
	else {
	 	timer_b2 = setTimeout("roller_box2_1()",tempo_b2); }
}
function roller_box2_7() { 
	draw_pic2_7();
	write_sub2_7();
	if (box2_pic_num > 7) {
 		timer_b2 = setTimeout("roller_box2_8()",tempo_b2); }
	else {
	 	timer_b2 = setTimeout("roller_box2_1()",tempo_b2); }
}
function roller_box2_8() { 
	draw_pic2_8();
	write_sub2_8();
	if (box2_pic_num > 8) {
 		timer_b2 = setTimeout("roller_box2_9()",tempo_b2); }
	else {
	 	timer_b2 = setTimeout("roller_box2_1()",tempo_b2); }
}
function roller_box2_9() { 
	draw_pic2_9();
	write_sub2_9();
	if (box2_pic_num > 9) {
 		timer_b2 = setTimeout("roller_box2_10()",tempo_b2); }
	else {
	 	timer_b2 = setTimeout("roller_box2_1()",tempo_b2); }
}
function roller_box2_10() { 
	draw_pic2_10();
	write_sub2_10();
	if (box2_pic_num > 10) {
 		timer_b2 = setTimeout("roller_box2_1()",tempo_b2); }
	else {
	 	timer_b2 = setTimeout("roller_box2_1()",tempo_b2); }
}

<!--  BOX 3 - SCRIPTS  -->

var box3_pic1_foto1 = new Image(); box3_pic1_foto1.src=dir_foto+box3_pic1_foto_n1;
var box3_pic2_foto1 = new Image(); box3_pic2_foto1.src=dir_foto+box3_pic2_foto_n1;

var box3_pic1_foto2 = new Image(); box3_pic1_foto2.src=dir_foto+box3_pic1_foto_n2;
var box3_pic2_foto2 = new Image(); box3_pic2_foto2.src=dir_foto+box3_pic2_foto_n2;

var box3_pic1_foto3 = new Image(); box3_pic1_foto3.src=dir_foto+box3_pic1_foto_n3;
var box3_pic2_foto3 = new Image(); box3_pic2_foto3.src=dir_foto+box3_pic2_foto_n3;

var box3_pic1_foto4 = new Image(); box3_pic1_foto4.src=dir_foto+box3_pic1_foto_n4;
var box3_pic2_foto4 = new Image(); box3_pic2_foto4.src=dir_foto+box3_pic2_foto_n4;

var box3_pic1_foto5 = new Image(); box3_pic1_foto5.src=dir_foto+box3_pic1_foto_n5;
var box3_pic2_foto5 = new Image(); box3_pic2_foto5.src=dir_foto+box3_pic2_foto_n5;

var box3_pic1_foto6 = new Image(); box3_pic1_foto6.src=dir_foto+box3_pic1_foto_n6;
var box3_pic2_foto6 = new Image(); box3_pic2_foto6.src=dir_foto+box3_pic2_foto_n6;

var box3_pic1_foto7 = new Image(); box3_pic1_foto7.src=dir_foto+box3_pic1_foto_n7;
var box3_pic2_foto7 = new Image(); box3_pic2_foto7.src=dir_foto+box3_pic2_foto_n7;

var box3_pic1_foto8 = new Image(); box3_pic1_foto8.src=dir_foto+box3_pic1_foto_n8;
var box3_pic2_foto8 = new Image(); box3_pic2_foto8.src=dir_foto+box3_pic2_foto_n8;

var box3_pic1_foto9 = new Image(); box3_pic1_foto9.src=dir_foto+box3_pic1_foto_n9;
var box3_pic2_foto9 = new Image(); box3_pic2_foto9.src=dir_foto+box3_pic2_foto_n9;

var box3_pic1_foto10 = new Image(); box3_pic1_foto10.src=dir_foto+box3_pic1_foto_n10;
var box3_pic2_foto10 = new Image(); box3_pic2_foto10.src=dir_foto+box3_pic2_foto_n10;

var roll_b3_pics;
var roll_b3_sub;

function draw_pic3_1() {
	var obj_box3_pic1 = document.all ? document.all('box3_pic1') : document.getElementById('box3_pic1');
	var obj_box3_pic2 = document.all ? document.all('box3_pic2') : document.getElementById('box3_pic2');
	obj_box3_pic1.src=box3_pic1_foto1.src;
	obj_box3_pic2.src=box3_pic2_foto1.src;
	roll_b3_pics = 1;
}
function draw_pic3_2() {
	var obj_box3_pic1 = document.all ? document.all('box3_pic1') : document.getElementById('box3_pic1');
	var obj_box3_pic2 = document.all ? document.all('box3_pic2') : document.getElementById('box3_pic2');
	obj_box3_pic1.src=box3_pic1_foto2.src;
	obj_box3_pic2.src=box3_pic2_foto2.src;
	roll_b3_pics = 2;
}

function draw_pic3_3() {
	var obj_box3_pic1 = document.all ? document.all('box3_pic1') : document.getElementById('box3_pic1');
	var obj_box3_pic2 = document.all ? document.all('box3_pic2') : document.getElementById('box3_pic2');
	obj_box3_pic1.src=box3_pic1_foto3.src;
	obj_box3_pic2.src=box3_pic2_foto3.src;
	roll_b3_pics = 3;
}
function draw_pic3_4() {
	var obj_box3_pic1 = document.all ? document.all('box3_pic1') : document.getElementById('box3_pic1');
	var obj_box3_pic2 = document.all ? document.all('box3_pic2') : document.getElementById('box3_pic2');
	obj_box3_pic1.src=box3_pic1_foto4.src;
	obj_box3_pic2.src=box3_pic2_foto4.src;
	roll_b3_pics = 4;
}
function draw_pic3_5() {
	var obj_box3_pic1 = document.all ? document.all('box3_pic1') : document.getElementById('box3_pic1');
	var obj_box3_pic2 = document.all ? document.all('box3_pic2') : document.getElementById('box3_pic2');
	obj_box3_pic1.src=box3_pic1_foto5.src;
	obj_box3_pic2.src=box3_pic2_foto5.src;
	roll_b3_pics = 5;
}
function draw_pic3_6() {
	var obj_box3_pic1 = document.all ? document.all('box3_pic1') : document.getElementById('box3_pic1');
	var obj_box3_pic2 = document.all ? document.all('box3_pic2') : document.getElementById('box3_pic2');
	obj_box3_pic1.src=box3_pic1_foto6.src;
	obj_box3_pic2.src=box3_pic2_foto6.src;
	roll_b3_pics = 6;
}
function draw_pic3_7() {
	var obj_box3_pic1 = document.all ? document.all('box3_pic1') : document.getElementById('box3_pic1');
	var obj_box3_pic2 = document.all ? document.all('box3_pic2') : document.getElementById('box3_pic2');
	obj_box3_pic1.src=box3_pic1_foto7.src;
	obj_box3_pic2.src=box3_pic2_foto7.src;
	roll_b3_pics = 7;
}
function draw_pic3_8() {
	var obj_box3_pic1 = document.all ? document.all('box3_pic1') : document.getElementById('box3_pic1');
	var obj_box3_pic2 = document.all ? document.all('box3_pic2') : document.getElementById('box3_pic2');
	obj_box3_pic1.src=box3_pic1_foto8.src;
	obj_box3_pic2.src=box3_pic2_foto8.src;
	roll_b3_pics = 8;
}
function draw_pic3_9() {
	var obj_box3_pic1 = document.all ? document.all('box3_pic1') : document.getElementById('box3_pic1');
	var obj_box3_pic2 = document.all ? document.all('box3_pic2') : document.getElementById('box3_pic2');
	obj_box3_pic1.src=box3_pic1_foto9.src;
	obj_box3_pic2.src=box3_pic2_foto9.src;
	roll_b3_pics = 9;
}
function draw_pic3_10() {
	var obj_box3_pic1 = document.all ? document.all('box3_pic1') : document.getElementById('box3_pic1');
	var obj_box3_pic2 = document.all ? document.all('box3_pic2') : document.getElementById('box3_pic2');
	obj_box3_pic1.src=box3_pic1_foto10.src;
	obj_box3_pic2.src=box3_pic2_foto10.src;
	roll_b3_pics = 10;
}

function write_sub3_1() {
	if (document.all) {
		document.all('box3_sub1').innerHTML='<div>PVR '+box3_pic1_foto_s1+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box3_sub1').innerHTML='<div>PVR '+box3_pic1_foto_s1+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box3_sub2').innerHTML='<div>'+box3_pic2_foto_s1+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box3_sub2').innerHTML='<div>'+box3_pic2_foto_s1+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box3_item').innerHTML=box3_item_name1; }
	else if (document.getElementById) {
		document.getElementById('box3_item').innerHTML=box3_item_name1; }		
	roll_b3_sub = 1;
}
function write_sub3_2() {
	if (document.all) {
		document.all('box3_sub1').innerHTML='<div>PVR '+box3_pic1_foto_s2+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box3_sub1').innerHTML='<div>PVR '+box3_pic1_foto_s2+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box3_sub2').innerHTML='<div>'+box3_pic2_foto_s2+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box3_sub2').innerHTML='<div>'+box3_pic2_foto_s2+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box3_item').innerHTML=box3_item_name2; }
	else if (document.getElementById) {
		document.getElementById('box3_item').innerHTML=box3_item_name2; }	
	roll_b3_sub = 2;

}
function write_sub3_3() {
	if (document.all) {
		document.all('box3_sub1').innerHTML='<div>PVR '+box3_pic1_foto_s3+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box3_sub1').innerHTML='<div>PVR '+box3_pic1_foto_s3+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box3_sub2').innerHTML='<div>'+box3_pic2_foto_s3+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box3_sub2').innerHTML='<div>'+box3_pic2_foto_s3+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box3_item').innerHTML=box3_item_name3 ; }
	else if (document.getElementById) {
		document.getElementById('box3_item').innerHTML=box3_item_name3; }	
	roll_b3_sub = 2;

}
function write_sub3_4() {
	if (document.all) {
		document.all('box3_sub1').innerHTML='<div>PVR '+box3_pic1_foto_s4+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box3_sub1').innerHTML='<div>PVR '+box3_pic1_foto_s4+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box3_sub2').innerHTML='<div>'+box3_pic2_foto_s4+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box3_sub2').innerHTML='<div>'+box3_pic2_foto_s4+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box3_item').innerHTML=box3_item_name4; }
	else if (document.getElementById) {
		document.getElementById('box3_item').innerHTML=box3_item_name4; }	
	roll_b3_sub = 2;

}
function write_sub3_5() {
	if (document.all) {
		document.all('box3_sub1').innerHTML='<div>PVR '+box3_pic1_foto_s5+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box3_sub1').innerHTML='<div>PVR '+box3_pic1_foto_s5+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box3_sub2').innerHTML='<div>'+box3_pic2_foto_s5+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box3_sub2').innerHTML='<div>'+box3_pic2_foto_s5+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box3_item').innerHTML=box3_item_name5; }
	else if (document.getElementById) {
		document.getElementById('box3_item').innerHTML=box3_item_name5; }	
	roll_b3_sub = 2;

}
function write_sub3_6() {
	if (document.all) {
		document.all('box3_sub1').innerHTML='<div>PVR '+box3_pic1_foto_s6+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box3_sub1').innerHTML='<div>PVR '+box3_pic1_foto_s6+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box3_sub2').innerHTML='<div>'+box3_pic2_foto_s6+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box3_sub2').innerHTML='<div>'+box3_pic2_foto_s6+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box3_item').innerHTML=box3_item_name6; }
	else if (document.getElementById) {
		document.getElementById('box3_item').innerHTML=box3_item_name6; }	
	roll_b3_sub = 2;

}
function write_sub3_7() {
	if (document.all) {
		document.all('box3_sub1').innerHTML='<div>PVR '+box3_pic1_foto_s7+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box3_sub1').innerHTML='<div>PVR '+box3_pic1_foto_s7+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box3_sub2').innerHTML='<div>'+box3_pic2_foto_s7+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box3_sub2').innerHTML='<div>'+box3_pic2_foto_s7+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box3_item').innerHTML=box3_item_name7; }
	else if (document.getElementById) {
		document.getElementById('box3_item').innerHTML=box3_item_name7; }	
	roll_b3_sub = 2;

}
function write_sub3_8() {
	if (document.all) {
		document.all('box3_sub1').innerHTML='<div>PVR '+box3_pic1_foto_s8+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box3_sub1').innerHTML='<div>PVR '+box3_pic1_foto_s8+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box3_sub2').innerHTML='<div>'+box3_pic2_foto_s8+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box3_sub2').innerHTML='<div>'+box3_pic2_foto_s8+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box3_item').innerHTML=box3_item_name8; }
	else if (document.getElementById) {
		document.getElementById('box3_item').innerHTML=box3_item_name8; }	
	roll_b3_sub = 2;

}
function write_sub3_9() {
	if (document.all) {
		document.all('box3_sub1').innerHTML='<div>PVR '+box3_pic1_foto_s9+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box3_sub1').innerHTML='<div>PVR '+box3_pic1_foto_s9+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box3_sub2').innerHTML='<div>'+box3_pic2_foto_s9+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box3_sub2').innerHTML='<div>'+box3_pic2_foto_s9+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box3_item').innerHTML=box3_item_name9; }
	else if (document.getElementById) {
		document.getElementById('box3_item').innerHTML=box3_item_name9; }	
	roll_b3_sub = 2;

}
function write_sub3_10() {
	if (document.all) {
		document.all('box3_sub1').innerHTML='<div>PVR '+box3_pic1_foto_s10+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box3_sub1').innerHTML='<div>PVR '+box3_pic1_foto_s10+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box3_sub2').innerHTML='<div>'+box3_pic2_foto_s10+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box3_sub2').innerHTML='<div>'+box3_pic2_foto_s10+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box3_item').innerHTML=box3_item_name10; }
	else if (document.getElementById) {
		document.getElementById('box3_item').innerHTML=box3_item_name10; }	
	roll_b3_sub = 2;

}

var time_b3;
var timer_b3;

function roller_3() {
	if (box3_pic_num > 1) {
		time_b3 = setTimeout("roller_box3_1()",0001); }
} 

function roller_box3_1() { 
	if (roll_b3_pics > 1) { draw_pic3_1(); }
	if (roll_b3_sub >1) { 	write_sub3_1(); }
 	timer_b3 = setTimeout("roller_box3_2()",tempo_b3); 
}
function roller_box3_2() { 
	draw_pic3_2();
	write_sub3_2();
	if (box3_pic_num > 2) {
 		timer_b3 = setTimeout("roller_box3_3()",tempo_b3); }
	else {
	 	timer_b3 = setTimeout("roller_box3_1()",tempo_b3); }
}
function roller_box3_3() { 
	draw_pic3_3();
	write_sub3_3();
	if (box3_pic_num > 3) {
 		timer_b3 = setTimeout("roller_box3_4()",tempo_b3); }
	else {
	 	timer_b3 = setTimeout("roller_box3_1()",tempo_b3); }
}
function roller_box3_4() { 
	draw_pic3_4();
	write_sub3_4();
	if (box3_pic_num > 4) {
 		timer_b3 = setTimeout("roller_box3_5()",tempo_b3); }
	else {
	 	timer_b3 = setTimeout("roller_box3_1()",tempo_b3); }
}
function roller_box3_5() { 
	draw_pic3_5();
	write_sub3_5();
	if (box3_pic_num > 5) {
 		timer_b3 = setTimeout("roller_box3_6()",tempo_b3); }
	else {
	 	timer_b3 = setTimeout("roller_box3_1()",tempo_b3); }
}
function roller_box3_6() { 
	draw_pic3_6();
	write_sub3_6();
	if (box3_pic_num > 6) {
 		timer_b3 = setTimeout("roller_box3_7()",tempo_b3); }
	else {
	 	timer_b3 = setTimeout("roller_box3_1()",tempo_b3); }
}
function roller_box3_7() { 
	draw_pic3_7();
	write_sub3_7();
	if (box3_pic_num > 7) {
 		timer_b3 = setTimeout("roller_box3_8()",tempo_b3); }
	else {
	 	timer_b3 = setTimeout("roller_box3_1()",tempo_b3); }
}
function roller_box3_8() { 
	draw_pic3_8();
	write_sub3_8();
	if (box3_pic_num > 8) {
 		timer_b3 = setTimeout("roller_box3_9()",tempo_b3); }
	else {
	 	timer_b3 = setTimeout("roller_box3_1()",tempo_b3); }
}
function roller_box3_9() { 
	draw_pic3_9();
	write_sub3_9();
	if (box3_pic_num > 9) {
 		timer_b3 = setTimeout("roller_box3_10()",tempo_b3); }
	else {
	 	timer_b3 = setTimeout("roller_box3_1()",tempo_b3); }
}
function roller_box3_10() { 
	draw_pic3_10();
	write_sub3_10();
	if (box3_pic_num > 10) {
 		timer_b3 = setTimeout("roller_box3_1()",tempo_b3); }
	else {
	 	timer_b3 = setTimeout("roller_box3_1()",tempo_b3); }
}

<!--  BOX 4 - SCRIPTS  -->

var box4_pic1_foto1 = new Image(); box4_pic1_foto1.src=dir_foto+box4_pic1_foto_n1;
var box4_pic2_foto1 = new Image(); box4_pic2_foto1.src=dir_foto+box4_pic2_foto_n1;

var box4_pic1_foto2 = new Image(); box4_pic1_foto2.src=dir_foto+box4_pic1_foto_n2;
var box4_pic2_foto2 = new Image(); box4_pic2_foto2.src=dir_foto+box4_pic2_foto_n2;

var box4_pic1_foto3 = new Image(); box4_pic1_foto3.src=dir_foto+box4_pic1_foto_n3;
var box4_pic2_foto3 = new Image(); box4_pic2_foto3.src=dir_foto+box4_pic2_foto_n3;

var box4_pic1_foto4 = new Image(); box4_pic1_foto4.src=dir_foto+box4_pic1_foto_n4;
var box4_pic2_foto4 = new Image(); box4_pic2_foto4.src=dir_foto+box4_pic2_foto_n4;

var box4_pic1_foto5 = new Image(); box4_pic1_foto5.src=dir_foto+box4_pic1_foto_n5;
var box4_pic2_foto5 = new Image(); box4_pic2_foto5.src=dir_foto+box4_pic2_foto_n5;

var box4_pic1_foto6 = new Image(); box4_pic1_foto6.src=dir_foto+box4_pic1_foto_n6;
var box4_pic2_foto6 = new Image(); box4_pic2_foto6.src=dir_foto+box4_pic2_foto_n6;

var box4_pic1_foto7 = new Image(); box4_pic1_foto7.src=dir_foto+box4_pic1_foto_n7;
var box4_pic2_foto7 = new Image(); box4_pic2_foto7.src=dir_foto+box4_pic2_foto_n7;

var box4_pic1_foto8 = new Image(); box4_pic1_foto8.src=dir_foto+box4_pic1_foto_n8;
var box4_pic2_foto8 = new Image(); box4_pic2_foto8.src=dir_foto+box4_pic2_foto_n8;

var box4_pic1_foto9 = new Image(); box4_pic1_foto9.src=dir_foto+box4_pic1_foto_n9;
var box4_pic2_foto9 = new Image(); box4_pic2_foto9.src=dir_foto+box4_pic2_foto_n9;

var box4_pic1_foto10 = new Image(); box4_pic1_foto10.src=dir_foto+box4_pic1_foto_n10;
var box4_pic2_foto10 = new Image(); box4_pic2_foto10.src=dir_foto+box4_pic2_foto_n10;

var roll_b4_pics;
var roll_b4_sub;

function draw_pic4_1() {
	var obj_box4_pic1 = document.all ? document.all('box4_pic1') : document.getElementById('box4_pic1');
	var obj_box4_pic2 = document.all ? document.all('box4_pic2') : document.getElementById('box4_pic2');
	obj_box4_pic1.src=box4_pic1_foto1.src;
	obj_box4_pic2.src=box4_pic2_foto1.src;
	roll_b4_pics = 1;
}
function draw_pic4_2() {
	var obj_box4_pic1 = document.all ? document.all('box4_pic1') : document.getElementById('box4_pic1');
	var obj_box4_pic2 = document.all ? document.all('box4_pic2') : document.getElementById('box4_pic2');
	obj_box4_pic1.src=box4_pic1_foto2.src;
	obj_box4_pic2.src=box4_pic2_foto2.src;
	roll_b4_pics = 2;
}

function draw_pic4_3() {
	var obj_box4_pic1 = document.all ? document.all('box4_pic1') : document.getElementById('box4_pic1');
	var obj_box4_pic2 = document.all ? document.all('box4_pic2') : document.getElementById('box4_pic2');
	obj_box4_pic1.src=box4_pic1_foto3.src;
	obj_box4_pic2.src=box4_pic2_foto3.src;
	roll_b4_pics = 3;
}
function draw_pic4_4() {
	var obj_box4_pic1 = document.all ? document.all('box4_pic1') : document.getElementById('box4_pic1');
	var obj_box4_pic2 = document.all ? document.all('box4_pic2') : document.getElementById('box4_pic2');
	obj_box4_pic1.src=box4_pic1_foto4.src;
	obj_box4_pic2.src=box4_pic2_foto4.src;
	roll_b4_pics = 4;
}
function draw_pic4_5() {
	var obj_box4_pic1 = document.all ? document.all('box4_pic1') : document.getElementById('box4_pic1');
	var obj_box4_pic2 = document.all ? document.all('box4_pic2') : document.getElementById('box4_pic2');
	obj_box4_pic1.src=box4_pic1_foto5.src;
	obj_box4_pic2.src=box4_pic2_foto5.src;
	roll_b4_pics = 5;
}
function draw_pic4_6() {
	var obj_box4_pic1 = document.all ? document.all('box4_pic1') : document.getElementById('box4_pic1');
	var obj_box4_pic2 = document.all ? document.all('box4_pic2') : document.getElementById('box4_pic2');
	obj_box4_pic1.src=box4_pic1_foto6.src;
	obj_box4_pic2.src=box4_pic2_foto6.src;
	roll_b4_pics = 6;
}
function draw_pic4_7() {
	var obj_box4_pic1 = document.all ? document.all('box4_pic1') : document.getElementById('box4_pic1');
	var obj_box4_pic2 = document.all ? document.all('box4_pic2') : document.getElementById('box4_pic2');
	obj_box4_pic1.src=box4_pic1_foto7.src;
	obj_box4_pic2.src=box4_pic2_foto7.src;
	roll_b4_pics = 7;
}
function draw_pic4_8() {
	var obj_box4_pic1 = document.all ? document.all('box4_pic1') : document.getElementById('box4_pic1');
	var obj_box4_pic2 = document.all ? document.all('box4_pic2') : document.getElementById('box4_pic2');
	obj_box4_pic1.src=box4_pic1_foto8.src;
	obj_box4_pic2.src=box4_pic2_foto8.src;
	roll_b4_pics = 8;
}
function draw_pic4_9() {
	var obj_box4_pic1 = document.all ? document.all('box4_pic1') : document.getElementById('box4_pic1');
	var obj_box4_pic2 = document.all ? document.all('box4_pic2') : document.getElementById('box4_pic2');
	obj_box4_pic1.src=box4_pic1_foto9.src;
	obj_box4_pic2.src=box4_pic2_foto9.src;
	roll_b4_pics = 9;
}
function draw_pic4_10() {
	var obj_box4_pic1 = document.all ? document.all('box4_pic1') : document.getElementById('box4_pic1');
	var obj_box4_pic2 = document.all ? document.all('box4_pic2') : document.getElementById('box4_pic2');
	obj_box4_pic1.src=box4_pic1_foto10.src;
	obj_box4_pic2.src=box4_pic2_foto10.src;
	roll_b4_pics = 10;
}

function write_sub4_1() {
	if (document.all) {
		document.all('box4_sub1').innerHTML='<div>PVR '+box4_pic1_foto_s1+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box4_sub1').innerHTML='<div>PVR '+box4_pic1_foto_s1+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box4_sub2').innerHTML='<div>'+box4_pic2_foto_s1+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box4_sub2').innerHTML='<div>'+box4_pic2_foto_s1+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box4_item').innerHTML=box4_item_name1; }
	else if (document.getElementById) {
		document.getElementById('box4_item').innerHTML=box4_item_name1; }		
	roll_b4_sub = 1;
}
function write_sub4_2() {
	if (document.all) {
		document.all('box4_sub1').innerHTML='<div>PVR '+box4_pic1_foto_s2+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box4_sub1').innerHTML='<div>PVR '+box4_pic1_foto_s2+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box4_sub2').innerHTML='<div>'+box4_pic2_foto_s2+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box4_sub2').innerHTML='<div>'+box4_pic2_foto_s2+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box4_item').innerHTML=box4_item_name2; }
	else if (document.getElementById) {
		document.getElementById('box4_item').innerHTML=box4_item_name2; }	
	roll_b4_sub = 2;

}
function write_sub4_3() {
	if (document.all) {
		document.all('box4_sub1').innerHTML='<div>PVR '+box4_pic1_foto_s3+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box4_sub1').innerHTML='<div>PVR '+box4_pic1_foto_s3+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box4_sub2').innerHTML='<div>'+box4_pic2_foto_s3+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box4_sub2').innerHTML='<div>'+box4_pic2_foto_s3+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box4_item').innerHTML=box4_item_name3 ; }
	else if (document.getElementById) {
		document.getElementById('box4_item').innerHTML=box4_item_name3; }	
	roll_b4_sub = 2;

}
function write_sub4_4() {
	if (document.all) {
		document.all('box4_sub1').innerHTML='<div>PVR '+box4_pic1_foto_s4+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box4_sub1').innerHTML='<div>PVR '+box4_pic1_foto_s4+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box4_sub2').innerHTML='<div>'+box4_pic2_foto_s4+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box4_sub2').innerHTML='<div>'+box4_pic2_foto_s4+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box4_item').innerHTML=box4_item_name4; }
	else if (document.getElementById) {
		document.getElementById('box4_item').innerHTML=box4_item_name4; }	
	roll_b4_sub = 2;

}
function write_sub4_5() {
	if (document.all) {
		document.all('box4_sub1').innerHTML='<div>PVR '+box4_pic1_foto_s5+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box4_sub1').innerHTML='<div>PVR '+box4_pic1_foto_s5+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box4_sub2').innerHTML='<div>'+box4_pic2_foto_s5+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box4_sub2').innerHTML='<div>'+box4_pic2_foto_s5+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box4_item').innerHTML=box4_item_name5; }
	else if (document.getElementById) {
		document.getElementById('box4_item').innerHTML=box4_item_name5; }	
	roll_b4_sub = 2;

}
function write_sub4_6() {
	if (document.all) {
		document.all('box4_sub1').innerHTML='<div>PVR '+box4_pic1_foto_s6+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box4_sub1').innerHTML='<div>PVR '+box4_pic1_foto_s6+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box4_sub2').innerHTML='<div>'+box4_pic2_foto_s6+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box4_sub2').innerHTML='<div>'+box4_pic2_foto_s6+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box4_item').innerHTML=box4_item_name6; }
	else if (document.getElementById) {
		document.getElementById('box4_item').innerHTML=box4_item_name6; }	
	roll_b4_sub = 2;

}
function write_sub4_7() {
	if (document.all) {
		document.all('box4_sub1').innerHTML='<div>PVR '+box4_pic1_foto_s7+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box4_sub1').innerHTML='<div>PVR '+box4_pic1_foto_s7+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box4_sub2').innerHTML='<div>'+box4_pic2_foto_s7+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box4_sub2').innerHTML='<div>'+box4_pic2_foto_s7+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box4_item').innerHTML=box4_item_name7; }
	else if (document.getElementById) {
		document.getElementById('box4_item').innerHTML=box4_item_name7; }	
	roll_b4_sub = 2;

}
function write_sub4_8() {
	if (document.all) {
		document.all('box4_sub1').innerHTML='<div>PVR '+box4_pic1_foto_s8+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box4_sub1').innerHTML='<div>PVR '+box4_pic1_foto_s8+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box4_sub2').innerHTML='<div>'+box4_pic2_foto_s8+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box4_sub2').innerHTML='<div>'+box4_pic2_foto_s8+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box4_item').innerHTML=box4_item_name8; }
	else if (document.getElementById) {
		document.getElementById('box4_item').innerHTML=box4_item_name8; }	
	roll_b4_sub = 2;

}
function write_sub4_9() {
	if (document.all) {
		document.all('box4_sub1').innerHTML='<div>PVR '+box4_pic1_foto_s9+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box4_sub1').innerHTML='<div>PVR '+box4_pic1_foto_s9+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box4_sub2').innerHTML='<div>'+box4_pic2_foto_s9+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box4_sub2').innerHTML='<div>'+box4_pic2_foto_s9+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box4_item').innerHTML=box4_item_name9; }
	else if (document.getElementById) {
		document.getElementById('box4_item').innerHTML=box4_item_name9; }	
	roll_b4_sub = 2;

}
function write_sub4_10() {
	if (document.all) {
		document.all('box4_sub1').innerHTML='<div>PVR '+box4_pic1_foto_s10+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box4_sub1').innerHTML='<div>PVR '+box4_pic1_foto_s10+' &euro; </div>' ; }
		
	if (document.all) {
		document.all('box4_sub2').innerHTML='<div>'+box4_pic2_foto_s10+' &euro; </div>' ; }
	else if (document.getElementById) {
		document.getElementById('box4_sub2').innerHTML='<div>'+box4_pic2_foto_s10+' &euro; </div>' ; }		

	if (document.all) {
		document.all('box4_item').innerHTML=box4_item_name10; }
	else if (document.getElementById) {
		document.getElementById('box4_item').innerHTML=box4_item_name10; }	
	roll_b4_sub = 2;

}


var time_b4;
var timer_b4;

function roller_4() {
	if (box4_pic_num > 1) {
		time_b4 = setTimeout("roller_box4_1()",0001); }
} 

function roller_box4_1() { 
	if (roll_b4_pics > 1) { draw_pic4_1(); }
	if (roll_b4_sub >1) { 	write_sub4_1(); }
 	timer_b4 = setTimeout("roller_box4_2()",tempo_b4); 
}
function roller_box4_2() { 
	draw_pic4_2();
	write_sub4_2();
	if (box4_pic_num > 2) {
 		timer_b4 = setTimeout("roller_box4_3()",tempo_b4); }
	else {
	 	timer_b4 = setTimeout("roller_box4_1()",tempo_b4); }
}
function roller_box4_3() { 
	draw_pic4_3();
	write_sub4_3();
	if (box4_pic_num > 3) {
 		timer_b4 = setTimeout("roller_box4_4()",tempo_b4); }
	else {
	 	timer_b4 = setTimeout("roller_box4_1()",tempo_b4); }
}
function roller_box4_4() { 
	draw_pic4_4();
	write_sub4_4();
	if (box4_pic_num > 4) {
 		timer_b4 = setTimeout("roller_box4_5()",tempo_b4); }
	else {
	 	timer_b4 = setTimeout("roller_box4_1()",tempo_b4); }
}
function roller_box4_5() { 
	draw_pic4_5();
	write_sub4_5();
	if (box4_pic_num > 5) {
 		timer_b4 = setTimeout("roller_box4_6()",tempo_b4); }
	else {
	 	timer_b4 = setTimeout("roller_box4_1()",tempo_b4); }
}
function roller_box4_6() { 
	draw_pic4_6();
	write_sub4_6();
	if (box4_pic_num > 6) {
 		timer_b4 = setTimeout("roller_box4_7()",tempo_b4); }
	else {
	 	timer_b4 = setTimeout("roller_box4_1()",tempo_b4); }
}
function roller_box4_7() { 
	draw_pic4_7();
	write_sub4_7();
	if (box4_pic_num > 7) {
 		timer_b4 = setTimeout("roller_box4_8()",tempo_b4); }
	else {
	 	timer_b4 = setTimeout("roller_box4_1()",tempo_b4); }
}
function roller_box4_8() { 
	draw_pic4_8();
	write_sub4_8();
	if (box4_pic_num > 8) {
 		timer_b4 = setTimeout("roller_box4_9()",tempo_b4); }
	else {
	 	timer_b4 = setTimeout("roller_box4_1()",tempo_b4); }
}
function roller_box4_9() { 
	draw_pic4_9();
	write_sub4_9();
	if (box4_pic_num > 9) {
 		timer_b4 = setTimeout("roller_box4_10()",tempo_b4); }
	else {
	 	timer_b4 = setTimeout("roller_box4_1()",tempo_b4); }
}
function roller_box4_10() { 
	draw_pic4_10();
	write_sub4_10();
	if (box4_pic_num > 10) {
 		timer_b4 = setTimeout("roller_box4_1()",tempo_b4); }
	else {
	 	timer_b4 = setTimeout("roller_box4_1()",tempo_b4); }
}

<!--  MENU BUTTONS  -->
var menuf1_of = new Image(); menuf1_of.src="images/menuf_of_1.jpg"; 
var menuf2_of = new Image(); menuf2_of.src="images/menuf_of_2.jpg"; 
var menuf3_of = new Image(); menuf3_of.src="images/menuf_of_3.jpg"; 
var menuf4_of = new Image(); menuf4_of.src="images/menuf_of_4.jpg"; 
var menuf5_of = new Image(); menuf5_of.src="images/menuf_of_5.jpg"; 
var menuf6_of = new Image(); menuf6_of.src="images/menuf_of_6.jpg"; 

var menuf1_on = new Image(); menuf1_on.src="images/menuf_on_1.jpg"; 
var menuf2_on = new Image(); menuf2_on.src="images/menuf_on_2.jpg"; 
var menuf3_on = new Image(); menuf3_on.src="images/menuf_on_3.jpg"; 
var menuf4_on = new Image(); menuf4_on.src="images/menuf_on_4.jpg"; 
var menuf5_on = new Image(); menuf5_on.src="images/menuf_on_5.jpg"; 
var menuf6_on = new Image(); menuf6_on.src="images/menuf_on_6.jpg"; 

function menu_f1_off() { 
var obj_on_menuf1 = document.all ? document.all('menuf1') : document.getElementById('menuf1');
obj_on_menuf1.src = menuf1_of.src; 
}
function menu_f2_off() { 
var obj_on_menuf2 = document.all ? document.all('menuf2') : document.getElementById('menuf2');
obj_on_menuf2.src = menuf1_of.src; 
}
function menu_f3_off() { 
var obj_on_menuf3 = document.all ? document.all('menuf3') : document.getElementById('menuf3');
obj_on_menuf3.src = menuf3_of.src; 
}
function menu_f4_off() { 
var obj_on_menuf4 = document.all ? document.all('menuf4') : document.getElementById('menuf4');
obj_on_menuf4.src = menuf4_of.src; 
}
function menu_f5_off() { 
var obj_on_menuf5 = document.all ? document.all('menuf5') : document.getElementById('menuf5');
obj_on_menuf5.src = menuf5_of.src; 
}
function menu_f6_off() { 
var obj_on_menuf6 = document.all ? document.all('menuf6') : document.getElementById('menuf6');
obj_on_menuf6.src = menuf6_of.src; 
}

function menu_f1_on() { 
var obj_off_menuf1 = document.all ? document.all('menuf1') : document.getElementById('menuf1');
obj_off_menuf1.src = menuf1_on.src; 
}
function menu_f2_on() { 
var obj_off_menuf2 = document.all ? document.all('menuf2') : document.getElementById('menuf2');
obj_off_menuf2.src = menuf1_on.src; 
}
function menu_f3_on() { 
var obj_off_menuf3 = document.all ? document.all('menuf3') : document.getElementById('menuf3');
obj_off_menuf3.src = menuf3_on.src; 
}
function menu_f4_on() { 
var obj_off_menuf4 = document.all ? document.all('menuf4') : document.getElementById('menuf4');
obj_off_menuf4.src = menuf4_on.src; 
}
function menu_f5_on() { 
var obj_off_menuf5 = document.all ? document.all('menuf5') : document.getElementById('menuf5');
obj_off_menuf5.src = menuf5_on.src; 
}
function menu_f6_on() { 
var obj_off_menuf6 = document.all ? document.all('menuf6') : document.getElementById('menuf6');
obj_off_menuf6.src = menuf6_on.src; 
}

function write_menu_off () {
menu_f1_off();
menu_f2_off();
menu_f3_off();
menu_f4_off();
menu_f5_off();
menu_f6_off();

}

var box1_boton_off = new Image(); box1_boton_off.src="images/button_box1_off.jpg"; 
var box2_boton_off = new Image(); box2_boton_off.src="images/button_box2_off.jpg"; 
var box3_boton_off = new Image(); box3_boton_off.src="images/button_box3_off.jpg"; 
var box4_boton_off = new Image(); box4_boton_off.src="images/button_box4_off.jpg"; 

var box1_boton_on = new Image(); box1_boton_on.src="images/button_box1_on.jpg"; 
var box2_boton_on = new Image(); box2_boton_on.src="images/button_box2_on.jpg"; 
var box3_boton_on = new Image(); box3_boton_on.src="images/button_box3_on.jpg"; 
var box4_boton_on = new Image(); box4_boton_on.src="images/button_box4_on.jpg"; 

function box1_button_off() { 
var obj_button_box1 = document.all ? document.all('box1_sub3') : document.getElementById('box1_sub3');
obj_button_box1.src = box1_boton_off.src;
}
function box2_button_off() { 
var obj_button_box2 = document.all ? document.all('box2_sub3') : document.getElementById('box2_sub3');
obj_button_box2.src = box2_boton_off.src;
}
function box3_button_off() { 
var obj_button_box3 = document.all ? document.all('box3_sub3') : document.getElementById('box3_sub3');
obj_button_box3.src = box3_boton_off.src;

}
function box4_button_off() { 
var obj_button_box4 = document.all ? document.all('box4_sub3') : document.getElementById('box4_sub3');
obj_button_box4.src = box4_boton_off.src;
}

function box1_button_on() { 
var obj_button_box1 = document.all ? document.all('box1_sub3') : document.getElementById('box1_sub3');
obj_button_box1.src = box1_boton_on.src;
}
function box2_button_on() { 
var obj_button_box2 = document.all ? document.all('box2_sub3') : document.getElementById('box2_sub3');
obj_button_box2.src = box2_boton_on.src;
}
function box3_button_on() { 
var obj_button_box3 = document.all ? document.all('box3_sub3') : document.getElementById('box3_sub3');
obj_button_box3.src = box3_boton_on.src;
}
function box4_button_on() { 
var obj_button_box4 = document.all ? document.all('box4_sub3') : document.getElementById('box4_sub3');
obj_button_box4.src = box4_boton_on.src;
}

function write_box_buttons_off () {
box1_button_off(); 
box2_button_off(); 
box3_button_off(); 
box4_button_off(); 
}

