jQuery(document).ready(function(){
  
  // Search box text replacement
  if (jQuery('#search-block-form .form-text').val() == "") {
    jQuery('#search-block-form .form-text').val('search SPNN');
  }

  jQuery('#search-block-form .form-text').focus(function(){
    if (jQuery(this).val() == "search SPNN") {
      jQuery(this).val('');
    }
  });
  jQuery('#search-block-form .form-text').blur(function(){
    if (jQuery(this).val() == "") {
      jQuery(this).val('search SPNN');
    }
  });
  
  // Email signup text replacement
  if (jQuery('#email-signup .form-text').val() == "") {
    jQuery('#email-signup .form-text').val('sign up for e-news');
  }

  jQuery('#email-signup .form-text').focus(function(){
    if (jQuery(this).val() == "sign up for e-news") {
      jQuery(this).val('');
    }
  });
  jQuery('#email-signup .form-text').blur(function(){
    if (jQuery(this).val() == "") {
      jQuery(this).val('sign up for e-news');
    }
  });
});
;
(function ($) {
  $(document).ready(function() {
    $('#views-exposed-form-om-crew-connect-find-crew-default').attr('action','/crew_connect/find');
    $('.page-crew-connect .bef-checkboxes input').click(function(){
      $(this).attr('checked','checked');
      $(this).parent().nextAll().children('input').attr('checked','checked');
      $(this).parent().prevAll().children('input').removeAttr('checked');
    });  
  });
})(jQuery);



var options = [];
;

