if(Mode == Horizontal,
js(ModeHVMPBM(Vertical,Parallele));
set(Mode, Vertical);
set(url,%FIRSTXML%/graphics/button/Vertical.png);
,
if(Mode == Vertical,
js(ModeHVMPBM(Planete,Parallele));
set(Mode, Planete);
set(url,%FIRSTXML%/graphics/button/Planete.png);
,
if(Mode == Planete,
js(ModeHVMPBM(Boule,Parallele));
set(Mode, 'Boule');
set(url,%FIRSTXML%/graphics/button/Boule.png);
,
if(Mode == Boule,
js(ModeHVMPBM(Horizontal,Parallele));
set(Mode, 'Horizontal');
set(url,%FIRSTXML%/graphics/button/Horizontal.png);
););););
set(layer[button].visible, false);
set(layer[button].visible, true);
if(layer[button1].Mode1==Parallele,
js(ModeHVMPBM(get(layer[button].Mode),'Partage'));
set(url,%FIRSTXML%/graphics/button/HorizontalPartage.png);
set(Mode1, 'Partage');
,
js(ModeHVMPBM(get(layer[button].Mode),'Parallele'));
set(url,%FIRSTXML%/graphics/button/HorizontalParallele.png);
set(Mode1, 'Parallele');
);
set(layer[button1].visible, false);
set(layer[button1].visible, true);
js(Intervertir());
set(layer[button2].visible, false);
set(layer[button2].visible, true);
js(Demo());
set(layer[button3].visible, false);
set(layer[button3].visible, true);