// browser sniffing
var agent 	= navigator.userAgent.toLowerCase ();
var isWinIE = (agent.indexOf ("msie") > -1) && (agent.indexOf ("mac") == -1);

function resizeTopFrame()
{

	try {
		var actualHeight = document.body.scrollHeight;
		window.top.I2O_pageLoaded(actualHeight); //function may not exist
	} catch(e) {} //older browsers do not support scrollHeight
}

function shrinkTopFrame()
{
	if (!isWinIE)
	{
		try {
			window.top.I2O_pageLoaded(1); // force the smallest size allowed		
		} catch(e) {} // function may not exist
	}
}



