Slice onions into 1/4 inch slices. Separate into rings. In a large bowl combine flour, baking powder, salt, egg, beer and oil. Blend until smooth. Dip onion rings into batter to coat well, fry in hot oil at 375 degrees until golden brown. Drain on paper towels.