Having your scripts broken down into several functions isn't at all an ugly way to do things. IMHO everything should be in a function except for globals. Makes program control a lot easier :)
_______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
