Just a guess, but this switch statement is in a template that is 2-levels deep. IOW, a
page calls template 1 which calls template 2. Would this cause a problem? I've tried
numerous examples and it works when it's the 1st template called, but not the second.
Al