The follow code isn't working, I'll probably have to supply more info :)
var headline = document.getElementById('header');
var headlineParent = headline.parentNode;
var outputResults = document.getElementById('goat');
outputResults.innerHTML (outputResults);