Thanks a lot, that worked.
Can you give me a brief explanation, or a link that describes why you use the different syntax for variables? I've seen scripts that look like ". $variable ." or \"%$variable%\" and a bunch of other different ways and I dont know when I would use one or the other. I tried to google it but nothing relevant comes up.
I guess I should invest in a decent book too. Thanks again.