function equalHeight() {
	var brush = document.getElementById("brushbottom");
	var winHeight = window.innerHeight;
	var number = 65; //height of brushbottom
	if (document.getElementById("contentbox2") == undefined)
	{
	bodyHeightz = 0;
	}
	else
	{
	var bodyHeightz = document.getElementById("photooverlay").offsetHeight - 271;
	};
	
	var bodyHeight = document.getElementById("contentbox").offsetHeight + 212 + bodyHeightz; //height of page elements
		
	if (bodyHeight + number < winHeight) {
	var difference = winHeight - bodyHeight;
	brush.style.height = (difference) + "px";
	} else {
	brush.style.height = (number) + "px";
	};
	//alert (bodyHeight);
	var elementWidth = document.getElementById("headerback");
	var winWidth = window.innerWidth;
	//elementWidth.style.width = (winWidth + 410) + "px";
	//elementWidth.style.marginLeft = "-" + ((winWidth / 2) - 190 ) + "px";
	
	var elementFooterWidth = document.getElementById("footerback");
	//elementFooterWidth.style.width = (winWidth + 410) + "px";
	//elementFooterWidth.style.marginLeft = "-" + ((winWidth / 2) - 190 ) + "px";
	};
