Re: Code Placement??
It actually doesn't matter where you add them at all in terms of whether it works or not. However you would be best advised to add them along with the other similar definitions etc for ease of use.
I'm not designer but I believe this is good practice.
If I had to guess what caused the above issue, I would say you missed out something simple from the code like a } or a ; which prevented it working.
As I say thats just a guess as to what might have done it.
Glad to hear its working
Steve
Site Under Construction: adatglobal.com