// JavaScript Document
// tomc 2008-09-24
function lineToFooter( _mod_id, _ref_id, _space )		// change the size of _mod to meed _ref
{
	if(_space==null) _space=32;
	
	mod=document.getElementById(_mod_id);
	ref=document.getElementById(_ref_id);
	var browserName=navigator.appName;
	if( browserName != "Netscape" ){
		mod.style.height = ( ref.getBoundingClientRect().top - mod.getBoundingClientRect().top - _space ) + "px";
	}else{
		mod.style.height = ( ref.offsetTop - mod.offsetTop - _space ) + "px";
	}
}