How to install NEI 1.5.2?

I have Minecraft 1.5.2 (Haven't updated it yet, and won't in a long time.) And I was wondering how can I install NEI easily, like I get confused where to put the.jar files, if in the coremods or mods folder.-. Like, I did once, put the CodeChickenCore in the coremods and NEI itself in mods folder but when I wanted to start a new world, it would not load at all, like, it would freeze and stay there. And then I changed it, CodeChickenCore in mods folder and NEI in coremods and it still didn't work, I have Forge ModLoader, and other mods, but I'm pretty sure they're all compatible, I'm using TMI for now, when I try to install NEI I use a clean minecraft folder. Please help, because I need the Waila mod and the ability to check on the recipes.-.

They both go into coremods.