function topMargin(i) {
	shift = 100;
	if (i) shift = i;
	if (document.body.clientHeight) y = Math.floor((document.body.clientHeight/2) - shift);
	else y=200;
	if (y < 0) y = 0;
	document.write('<div style=\"margin-top:' + y + 'px\; text-align:center\;\">')
}

function bottomMargin() {
	document.write('<\/div>');
}

