function popup(){ var cat = document.getElementById('cat'); cat.insertAdjacentHTML('afterend',''); } function popdown(){ }