Help with a jQuery animation

Help with a jQuery animation

Hi everybody,
I'm new in here.
I have been checking around and I have seen people here who really knows a lot about jQuery, so hope you can give me a hand.
I'm new to jQuery, I have found an animation using jQuery, which I need to change just a little bit, but my knowledge about jQuery is bad so far, so hope you can show me the right direction to do what I need to.

I found this tutorial here: http://web.enavu.com/tutorials/curtains-opening-animation-with-jquery/
where an animation is created.
To be more precise, it's about a curtain that will open when you click on it, showing the contet on a div which is placed below it. You can see the example here to understand better how it works: http://web.enavu.com/demos/curtain/
Once the user clicks anywhere on the curtain area, the curtains will open and reveal the content.
The jQuery code for this animation is this:
  1. $(document).ready(function(){  
  2.   
  3.     // when user clicks inside the container...  
  4.     $('.curtain_wrapper').click(function(){  
  5.   
  6.         //..animate the description div by changing it's left position to it's width (but as negative number)...  
  7.         $(this).children('.description').animate({'left': -1*$(this).width()});  
  8.   
  9.         //...animate the 2 curtain images to width of 50px with duration of 2 seconds...  
  10.         $(this).children('img.curtain').animate({ width: 50 },{duration: 2000});  
  11.   
  12.         //...show the content behind the curtains with fadeIn function (2 seconds)  
  13.         $(this).children('.content').fadeIn(2000);  
  14.   
  15.     });  
  16.   
  17. }); 
in this case, it's the line 4, $('.curtain_wrapper').click(function(){  which controls this animation, and that makes the curtains open when the user does a click on the "curtain_wrapper" div, which extends to the whole area of the curtains.

Here it's my question: I would like to know how it wold be possible to make this animation work, but doing that when you enter on the page where the animation is, the curtains will open themselves, just when the page loads, without requiring to click anywhere on this area.
I guess it's all about that line number 4, and maybe just is necessary to change the


click(function() for something that will launch that action without needing to click on it, just when the page loads.
Maybe it requires to change something else, I'm not so sure about it. So, I will really appreciate if somebody here can give me a hand with it, because I need this animation to work on this way.

Thanks to all who have read this post and hopefully somebody can tell me what should I do to get the animation to work in the way I want.