Pre-drill holes where you want the nails to be.
Use a drill bit diameter smaller than the nail and drill to a depth about 1/4 inch short of the length of the nails.
Drip a bit of wood glue on the nails right before you drive them in and it will lubricate the nail and help keep it from popping back out.
[URL="http://www.houserepairtalk.com/announcement.php?f=39&a=6"][size=3]The Ten Commandments of House Repair Talk[/size][/URL]
[URL="http://home.bellsouth.net/p/s/community.dll?ep=16&groupid=289528&ck="]Square Eye's home page[/URL]