(function() { _Yes = '#2ECC71'; _No = '#E74C3C'; _ = '#425B75'; $content = $('.show-content')[0]; function cheat() { $content.style.color = ((l = $content.innerHTML.length) ? (l % 2 ? _No : _Yes) : _); setTimeout(cheat, 200); } cheat(); }).call(this);