Single Hover Function applied to mutiple elements?

Single Hover Function applied to mutiple elements?

I have a grid that uses Row\AltRow as the classes for the rows...is there a way to have the hover applied to both instead of having to define it twice (or more)?

  1.  //Set the hover-over so they show when the mouse moves into the row
                    $('.rgRow').hover(function () {
                                    $('.pointer', this).removeAttr('style');
                                }, function () {
                                    $('.pointer', this).attr('style', 'display:none');
                                }
                    );
                    $('.rgAltRow').hover(function () {
                                    $('.pointer', this).removeAttr('style');
                                }, function () {
                                    $('.pointer', this).attr('style', 'display:none');
                                }
                    );












Thanks,
Steve