Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
You are missing an } in your function declaration.
You open and close one at the "if", but don't close the one from the function declaration.
Just add it, and your function will work.
__________________
Only a biker knows why a dog sticks his head out the window.
|