function PullQuote() {
//Check for innerText
var hasInnerText =
(document.getElementsByTagName("body")[0].innerText != undefined) ? true : false
//Get the quote
getQuote = document.getElementById('pullquote');

	if(getQuote){
		//get the quote values
		Quote = getQuote.firstChild.nodeValue;
		
		var pullquote = document.createElement('blockquote');
		
		if(!hasInnerText){	
			pullquote.textContent = Quote;
		} else {
			pullquote.innerText = Quote;
		}
		
		getQuote.appendChild(pullquote);
	}

}

window.onload = PullQuote;