var _retriest = 0;

function getDHeight ()
{
	return document.all ? document.documentElement.clientHeight : window.innerHeight;
}

function checkBottom ()
{
	if ( !document.getElementById ( 'footer' ) )
	{
		if ( _retriest++ > 10 )
			return;
		setTimeout ( 'checkBottom()', 25 );
	}
	else
	{
		var t =  document.getElementById ( 'footer' ).offsetTop;
		t += 112;
		if ( t < getDHeight () )
		{
			var f = document.getElementById ( 'Bunn' );
			f.style.position = 'absolute';
			f.style.top = getDHeight () - 162 + 'px';
		}
	}
}
checkBottom ();

