Download stock rom for country/carrier (not Android 4.0.4) from Samfirmware, boot into download mode & flash following instructions in stickied thread near top of Q&A titled 'Flash stock firmware'.
Problems with flashing ? Find Hopper8's 'Odin troubleshooting' thread stickied in General. Simply flashing stock should fix it, but it it still bootloops after flash, boot into recovery & do a factory reset.
Still bootlooping ? Download the 3 part firmware linked in Hopper's thread & flash that with Odin (this will wipe your phone).
If you try all that & still bootloops, post here again.
If it's important enough to cause you grief if it's lost, back it up. No excuses
Trolling for thanks is lame
Does Samsung's auto-brightness implementation crap drive you to self-harm ? A solution !
Failure to search is the leading cause of male impotence on XDA
If you don't know how to recover if things go wrong, what are you doing flashing custom roms ?