// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults
Application = {
    showByPriority: function() {
        $('sortByPriority').show();
        $('sortByAge').hide();
        $('dogsByPriority').show();
        $('dogsByAge').hide();
    },

    showByAge: function() {
        $('sortByPriority').hide();
        $('sortByAge').show();
        $('dogsByPriority').hide();
        $('dogsByAge').show();
    }
}