var body = document.body; body.className += " u-body u-overlap u-xl-mode"; body.style.cssText += " "; var dataBg = ''; if (dataBg) { body.setAttribute('data-bg', dataBg); } Previous Next 1