@ZeroKilledJan 19.2008 — #as far as i know, their only difference are the way they're defined and that beside function statement, function literal are unnamed. however, they're supposed to behave the same way. the main difference come if you create funcion with the constructor [B]Function[/B]. each time a function is created with the constructor, it is compiled at runtime.
@Jeff_MottJan 20.2008 — #The site posted by dbforch says your first variation, bcamp1973, has problems in Netscape 4. I don't know anyone who still worries about NS4, so I can't confirm that, but if we ignore NS4, then the two syntaxes will do exactly the same thing.
@dbforchJan 20.2008 — #You can see the difference as such, assigning a function to a variable, which in some situations might change the scope of variables inside these functions, the other assigning a function normally, as in library.
I believe through all the latest versions (1,5 1,6 1,7) of javascript, there hardly is a difference, except older versions of javascript apparently do see a difference .. (e.a. scope, etc)
Conclusion, use whatever you like, and if you notice strange behavior, you'll know the difference ?