That fixed the first problem...Thank you very much. I knew I was just screwing up the syntax somehow.

Now I still get the IF errors like something is getting stripped from the code.