var stop = 0;
function glueBottom() {
	pageHeight = getWindowSize()[1];
	contentHeight = getOffsetTopById('vMarker');
	spacerHeight = getObjById('vSpacer').height;
	offset = pageHeight - contentHeight + spacerHeight -1;
	if (offset < 1) offset = spacerHeight;
	getObjById('vSpacer').height = offset;
	// ugly workaround for FF:
	if (stop == 0) {
		stop = 1;
		glueBottom();
	}
}

window.onload = glueBottom;
window.onresize = glueBottom;
