Writing Functions
Anonymous Function, Assigned To A Variable
Using this syntax for object methods in early Netscape 4 versions will cause problems with the 'this' keyword due to bugs.
nameOfFunction = function (listOfVariableNames) {
function code should be written here
};