function clearUser(input) {
	if (input.value == "User name") {
		input.value = "";
	}
}

function unclearUser(input) {
	if (input.value == "") {
		input.value = "User name";
	}
}

//Password Switch-a-roo
function changeType(input){
	if(input.type == 'text'){
		password = document.createElement('input');
		password.name = input.name;
		password.id = input.id;
		password.type = 'password';
		password.className = "registerForm";
		input.parentNode.insertBefore(password,input);
		input.parentNode.removeChild(input);
		password.value = "";
		password.focus();
	}
}
