




  // Clear prompt from username field, if required.
  function clearUsernamePrompt() {
    var username = document.getElementById("emaillf");
    if (username.value == "Email") {
      username.value = "";
	  username.className="inputStd";
    }
  }

  // Set the prompt for the username field, if required.
  function setUsernamePrompt() {
    var username = document.getElementById("emaillf");
    if (username.value == "") {
      username.value = "Email";
	  username.className="inputPrompt";
    }
  }

  // Clear prompt from password field, if required.
  function clearPasswordPrompt() {
    var password = document.getElementById("passwordlf");
    password.style.display = "inline";
    password.focus();
    var passwordPrompt = document.getElementById("passwordPrompt");
    passwordPrompt.style.display = "none";
  }

  // Set the prompt for the password field, if required.
  function setPasswordPrompt() {
    var password = document.getElementById("passwordlf");
    if (password.value == "") {
      password.style.display = "none";
      var passwordPrompt = document.getElementById("passwordPrompt");
      passwordPrompt.style.display = "inline";
    }
  }


function initPrompts() {

//set the PasswordPrompt to a text field so a non-javascript browser still sees a password field.
var passwordPrompt = document.getElementById("passwordPrompt");
passwordPrompt.style.display = "inline";
var password = document.getElementById("passwordlf");
password.style.display = "none";
}

initPrompts();