function initLoginFields() {
	
	usernameInput = document.getElementById("CasinoLoginUsername");

	usernameInput.onfocus = function() {
		if (this.value == "Username") {
			this.value = "";
		}
	};

	usernameInput.onblur = function() {
		if (this.value == "") {
			this.value = "Username";
		}
	};

	passwordInput = document.getElementById("CasinoLoginPassword");

	passwordInput.onfocus = function() {
		newPasswordInput = this.cloneNode(false);
		newPasswordInput.type = "password";
		newPasswordInput.value = "";
		newPasswordInput.oldPaswordInput = this
		newPasswordInput.onblur = function() {
			if (this.value == "") {
				this.parentNode.replaceChild(this.oldPaswordInput,this);
			}
		};
		this.parentNode.replaceChild(newPasswordInput,this);
		setTimeout("newPasswordInput.focus()","100");
		
		
	};

	passwordInput.onblur = function() {
		if (this.value == "") {
			this.value = "Password";
			this.type  = "text";
		}
	};



}