function HeightFixor()
{
	this.init();
}
HeightFixor.prototype.init = function()
{
	this._sidebar = document.getElementById( 'sidebar' );
	this._leftmenu = document.getElementById( 'leftmenu' );
}
HeightFixor.prototype.fix = function( oForm )
{
	this._oForm = oForm;
	this.fixit();
}
HeightFixor.prototype.fixit = function()
{
	if( this._oForm )
	{
		var nHeight = this._oForm.offsetHeight + 24; // fix for buttons
		this._sidebar.style.height = nHeight + 'px';
		this._leftmenu.style.height = nHeight + 'px';
	}
}
