Ikwa = {
  Form: {
    Texto: {
      onFocus: function(input, text) {
        if (input.value == text) input.value = '';
      },

      onBlur: function(input, text) {
        if (input.value == '') input.value = text;
       }
     },

    Senha: {
      onFocus: function(text, password) {
        password = document.getElementById(password);
        text.style.display = 'none';
        password.style.display = 'inline';
        password.focus();
      },

      onBlur: function(password, text) {
        text = document.getElementById(text);
        if(password.value == '') {
          password.style.display = 'none';
          text.style.display = 'inline';
        }
      }
    }
  },

  VisualMenu: {
    onMouseOver: function(element) {
      var parent = element.parentNode;
      var children = parent.getElementsByTagName('li');
      for(var i = 0; i < children.length; i++) children[i].className = '';
      element.className = 'active';
    }
  }
}
