function clearElement(obj) {
	while(obj.firstChild) obj.removeChild(obj.firstChild);
}

function wwwWriteContent(contentObject)	{
	var ContentContainer = document.getElementById("DisplayContent");
	var ContentHolding = document.getElementById("HoldingContent");
	while(ContentContainer.firstChild)	{
		ContentHolding.appendChild(ContentContainer.firstChild);
	}
	ContentContainer.appendChild(contentObject);
}

function clearElement2(obj) {
	while(obj.firstChild) obj.removeChild(obj.firstChild);
}

function wwwWriteFooter(footerObject)	{
	var FooterContainer = document.getElementById("DisplayFooter");
	var FooterHolding = document.getElementById("HoldingFooter");
	while(FooterContainer.firstChild)	{
		FooterHolding.appendChild(FooterContainer.firstChild);
	}
	FooterContainer.appendChild(footerObject);
}
