document.getElementById( this.id ).onclick = function() { document.getElementById("content0").style.display = "block"; };