http://technotip.com/2176/custom-functions-jquery/
Video tutorial illustrates writing custom functions in jQuery.
Following topics are covered in the video:
Function Declaration.
Function Expression.
Passing parameters.
Returning value.
Returning nothing,
jQuery Video Tutorial List:
http://technotip.com/2514/jquery-tutorial-list/