OH. Hum. I've never done that before.
What you can do instead then, is in the if have this:
Code:
{if $title eq "Super Deals!" } class=NewDialogTitle {else} class=DialogTitle {/if}
That should work too I think. I don't know if you have to recompile the templates after changing them though with the way you have it set up.
Carrie