A 12-year-old Rupert boy is recovering at home after being accidentally shot by a friend while they played with a handgun. The Minidoka County sheriff's office says the two boys, aged 10 and 12, were playing with a 9 mm handgun that belonged to the 12-year-old's parents on Friday. The children thought they had emptied the weapon by cycling the firing mechanism and removing the magazine, but when the 10-year-old pulled the trigger, the gun fired -- hitting the older boy in the side. The 12-year-old was taken by air ambulance to a Pocatello hospital.  Undersheriff Vic Watson says the family had all their other guns locked up, but the handgun was unlocked for security purposes. He says the parents hid the handgun in an effort to keep it from children.