setTimeout(function () { var hint = document.getElementById('hint'); var hint_icon = document.getElementById('hint_icon'); if (hint_icon != null) { hint_icon.onclick = function () { if(hint.className.indexOf('show') < 0) { hint.className = hint.className + " show"; } else { hint.className = hint.className.replace(/\sshow/, ''); } } } }, 50);