Casey Crookston asked: I have a VERY simple if then statement: if cat = cat_id then klass="navigation2" else klass="navigation" Weird thing... ONLY the "else" gets triggered, even when cat and cat_id are equal. ******************** Hi Casey, One quick thing to try: if cat == cat_id then ... ? [Equivalence vs assignment operator.] HTH, RonL.