function getDOMObj(s) {
	if(document.getElementById(s))
		return(document.getElementById(s));
	if(document.all) {
		return(document.all.item(s));
	}
	return(null);
}

function columnExtender() {
	var taller=0;
	bl=getDOMObj('blendlayer');
	blHeight=bl.offsetHeight;
	pb=getDOMObj('pagebox');
	pbHeight=pb.offsetHeight;
	bl.style.width=pb.offsetWidth+"px";
	ct=getDOMObj('content');
	ctHeight=ct.offsetHeight;
	sn=getDOMObj('sidenav');
	snHeight=sn.offsetHeight;
	if(snHeight>ctHeight) {
		taller=snHeight+200;
	}
	if(ctHeight>snHeight) {
		taller=ctHeight+50;
	}
	if (taller>pbHeight) {
		pb.style.height=taller+"px";
		bl.style.height=taller+"px";
	}
}

