(function ($) {
  Drupal.behaviors.theme_support = {
    attach: function(context) { 
      label = 'enter email address';
      $("#webform-component-email input")
        .blur(function (e) {
          if ($(this).val() == '') {
            $(this).val(label);
          }
        })
        .focus(function (e) {
          if ($(this).val() == label) {
            $(this).val('');
          }
        })
        .blur();
    }

  };
})(jQuery);
;
(function($) {
  $(document).ready(function() {

    $('#nav li').hover(
      function () {
      //show the submenu
        $('ul', this).fadeIn(250);
      },
      function () {
      //hide the submenu
        $('ul', this).fadeOut(250);
      }
    ); 
  });
  
  /*
  $('.home-gov-select').change(function() {
    var url = $('.home-gov-select :selected').val();
    document.location = url;
  });
  */

}(jQuery));
;

