var minHeight	= 768;

function updateFlash()
{
	var h	= getWinHeight();

	var fObj	= document.getElementById(SWFAddress.getId());
	if(fObj)
	{
		fObj.height	= h;
	}
	//$('#canvas').css('height', h);
}
function getWinHeight()
{
	var winHeight	= $(window).height();
	var winWidth	= $(window).width();
	var height 		= ( minHeight > winHeight ? minHeight : winHeight );
	return height;
}
function showNewsFeed()
{
	$('.newsfeed').css('display','block');
}
function hideNewsFeed()
{
	$('.newsfeed').css('display','none');
}
window.onresize = function()
{
	updateFlash();
}
