CurrentSection = false;
function DisplayDetails(section)
{
	$('dialog').style.display = 'block';
	$(section).style.display = 'block';
	CurrentSection = section;
	if(document.all)
	{
		$('dialog').style.height = document.body.clientHeight;
		$(section).style.height = document.body.clientHeight - 30;
		$(section).style.width = document.body.clientWidth - 50;
	}
	else
	{
		$('dialog').style.height = document.height;
	}
	
}

function CloseDetails()
{
	$(CurrentSection).style.display = 'none';
	$('dialog').style.display = 'none';
}
