 
function ClearInput(x)
{
 // User has clicked the box. Clear it.
 inputstring = document.getElementById(x).value;
 if ( (inputstring=='User Name') || inputstring=='Password' ) 
  document.getElementById(x).value='';
} // end ClearInput

function ValidateInput(x)
{
 // If the box is empty put back the correct word
 inputstring = document.getElementById(x).value;
 if (inputstring=='')
	 document.getElementById(x).value='User Name';
 } // end ValidateInput



