function ClearInput(x)
{
	inputstring = document.getElementById(x).value;
	if (inputstring=='Email Address')
	{
		document.getElementById(x).value='';
		document.getElementById(x).style.color='#000000';
	}
}

function ValidateInput(x)
{
	inputstring = document.getElementById(x).value;
	if (inputstring=='')
	{
		document.getElementById(x).value='Email Address';
		document.getElementById(x).style.color='#B5B5B5';
	}
}

function changeBox()
{
    document.getElementById('pass1').style.display='none';
    document.getElementById('pass2').style.display='';
    document.getElementById('pass2').focus();
}

function restoreBox()
{
	if(document.getElementById('pass2').value=='')
    {
    	document.getElementById('pass1').style.display='';
      	document.getElementById('pass2').style.display='none';
    }
}
