// valeur par defaut des variables var popclock = ''; var datefr = ''; var heurefr = ''; //alert('passage1'); var aff = '2'; var lang = 'en'; var cpop = '996600'; var size = '14px'; var cclock = 'black'; popclock = ' 7 634 276 741 people'; datefr = 'monday 22 april 2019'; heurefr = ' at 12 h 05 min and 50 s'; //alert('passage2'); switch (aff) { case "2": // presentation verticale document.write("
PopulationMondiale.com
"+popclock+"
"+datefr+"
"+heurefr + "
"); break; default : //par defaut la presentation est horizontale document.write("
PopulationMondiale.com
"+popclock+" "+datefr+" "+heurefr + "
"); break; }