function showLogin()
{
	document.getElementById('loginBox').style.display = 'block';
}
function hideLogin()
{
	document.getElementById('loginBox').style.display = 'none';
}

window.onload = resizeContainer;
window.onresize = resizeContainer;

function resizeContainer()
{
	if (window.innerHeight) {
		theHeight=window.innerHeight;
	}
	else if (document.documentElement && document.documentElement.clientHeight) {
		theHeight=document.documentElement.clientHeight;
	}
	else if (document.body) {
		theHeight=document.body.clientHeight;
	}
	if(ddotContainer = document.getElementById('dotContainer'))
		ddotContainer.style.minHeight = (theHeight - 24) + "px";
	//alert(theHeight + ", " + (typeof window.innerHeight != 'undefined') + ", " + (typeof window.innerHeight != 'undefined' ? window.innerHeight : document.body.offsetHeight));
}