function resizeFrame( )
{
	var winW = 0, winH = 0;

	if ( parseInt( navigator.appVersion ) > 3 )
	{
		if ( navigator.appName == "Netscape" )
			winH = window.innerHeight;
		else if ( navigator.appName.indexOf( "Microsoft" ) != -1 )
			winH = document.body.offsetHeight;
	}
	
	if ( winH == 0 )
		var myFrameH = 347;
	else
		var myFrameH = ( winH < 347 ) ? 347 : winH - 145;
	
	var myIFrame = document.getElementById( "infoFrame" );
	
	myIFrame.style.height = myFrameH;
	
	//alert("Window height = "+winH+", Frame height = "+myFrameH);
}

function getAbsoluteOffsetTop( obj )
{
	var top = obj.offsetTop;
	var parent = obj.offsetParent;
	while ( parent && parent != document.body )
	{
		top += parent.offsetTop;
		parent = parent.offsetParent;
	}
	return top;
}

function getAbsoluteOffsetLeft( obj )
{
	var left = obj.offsetLeft;
	var parent = obj.offsetParent;
	while ( parent && parent != document.body )
	{
		left += parent.offsetLeft;
		parent = parent.offsetParent;
	}
	return left;
}

function getHeight( obj )
{
	var height = 0;
	
	height += obj.offsetHeight;
	
	return height;
}

function getWidth( obj )
{
	var width = 0;
	
	width += obj.offsetWidth;
	
	return width;
}
