
function centerInPage(topFiller, content, botFiller) {
bf = document.getElementById(botFiller);
tf = document.getElementById(topFiller);
c = document.getElementById(content);

h=window.innerHeight;
ih=c.offsetHeight;
nh= ( (h-ih-1)/2);
if(nh<0) {
  nh=0;
}
bf.style.height= nh;
bf.style.minHeight= nh;

tf.style.height= nh;
tf.style.minHeight= nh;
}

function resizeMe() {
	centerInPage("topFiller", "content", "bottomFiller");
}

if ( isNS) {
	resizeMe();
	window.onresize=resizeMe;
}

