$.fn.delay = function( time, name ) {

    return this.queue( ( name || "fx" ), function() {
        var self = this;
        setTimeout(function() { $.dequeue(self); } , time );
    } );

}; 
						   
$(window).bind('load', function() {
$("#txt_area").hide();
$("#pic").hide();
$("#txt_area").css("visibility",("visible")); 
$("#pic").css("visibility",("visible")); 
$(".w2").delay(500).animate({width:'toggle'},200);
						   
						  $("#pic").fadeIn(900, function (){
						   $("#txt-bk").animate({ 
        left: "69px",
		easing: 'swing'
             }, 400, function(){
						   $("#txt_area").fadeIn(100).animate({left: "50px",easing: 'swing'}, 200 );
						   });
						    });

 
	
});



