function get_species_info(atlas) 
{   

     jQuery.ajax({

         type: "POST",
         url: atlas_ajax_script.ajaxurl,
         data: ({res : atlas.speciesName, action : 'get_wp_species_img'}),
         success: function(output) {
           jQuery(".species_media").html(output);

         }
     });


     jQuery.ajax({

         type: "POST",
         url: atlas_ajax_script.ajaxurl,
         data: ({res : atlas.speciesName, action : 'get_wp_species_sum'}),
         success: function(output) {
           jQuery(".species_sum").html(output);

         }
     });

}

function overViewSelect(speciesName) {

    var ov_pos = jQuery(".win_result, .bred_stat_result, .sum_result");


    ov_pos.empty();

    jQuery('<div></div>').attr('id', 'spinner').appendTo(ov_pos);


     jQuery.ajax({

         type: "POST",
         url: atlas_ajax_script.ajaxurl,
         data: ({res : speciesName, action : 'ov_bs_select'}),
         success: function(output) {
            jQuery('#spinner').fadeOut('slow', function() { //stop spinner
                jQuery(this).remove();   //remove spinner
            });
            jQuery(".bred_stat_result").html(output);
       
         }
     }); 

     jQuery.ajax({

         type: "POST",
         url: atlas_ajax_script.ajaxurl,
         data: ({res : speciesName, action : 'ov_win_select'}),
         success: function(output) {
            jQuery('#spinner').fadeOut('slow', function() { //stop spinner
                jQuery(this).remove();   //remove spinner
            });
            jQuery(".win_result").html(output);
       
         }
     }); 


     jQuery.ajax({

         type: "POST",
         url: atlas_ajax_script.ajaxurl,
         data: ({res : speciesName, action : 'ov_sum_select'}),
         success: function(output) {
            jQuery('#spinner').fadeOut('slow', function() { //stop spinner
                jQuery(this).remove();   //remove spinner
            });
            jQuery(".sum_result").html(output);
       
         }
     }); 








}