I'm just learning JS although I have a fundamental knowledge of Actionscript 3.0 (which is based on JS). I'm a little confused right now as I'm following the lessons on appendTo.com. It seems in JS functions are made into variable and those variable are invoked. Is that how it works? In AS 3.0 funcitons are given names then invoked later. It's kind of messing with my head since I'm used to As 3.0. If that's just how the language works I'll just have to get used to it.