function swap(what)
{
var theDivs = document.getElementsByTagName('div');
	for(var i = 0; i < theDivs.length; i++)
	{
		if(theDivs[i].id.search('swap') == 0)
		{
		theDivs[i].style.display = 'none';
		}
	}
document.getElementById('swap'+what).style.display = 'block';
document.getElementById('swap'+what).style.visibility = 'visible';
}

function setRegisterVisbility()
{
 register_pop.style.display = 'none';
}