// 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 597 214 416 people'; datefr = 'tuesday 13 november 2018'; heurefr = ' at 20 h 59 min and 28 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; }