<div style="margin:0; margin-top:8px"><div style="margin-bottom:4px"><input type="button" class="submit btn" value="Show : $1" onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'Hide : : $1'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Show : $1'; }"></div><div class="spoiler"><div style="display: none;">