That code works fine. If you want help, you need to post the broken code.
Most likely, if commenting a line out works, there's probably an error caused by that line when its not commented. The Firebug plugin for Firefox makes debugging JavaScript much easier. And the jQuery library makes debugging JavaScript much rarer. Both of these are highly recommended. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325716 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

