Yesterday, Dan G. Switzer, II was giving me some really great jQuery tips. Among the things that we discussed was the ability to define an anonymous function and then call it immediately: <script type="text/javascript"> ( function(){ var strMessage = "Hello"; alert( strMessage ); } )(); </script> This is not jQuery specific, but the benefits of doing this is that you can create a totally private m