var callbacks = {
    name_click : function(e){
    	e.preventDefault();
        $('h1 a').unbind();

        $('.subNameType').clearQueue().fadeOut(200, function(e){ $(this).html('Interactive Developer').fadeIn(250); });
        $('#shpeel').delay(150).fadeIn(350);
        $('#container').animate( {"margin-top":"120px"}, 700);
    }
};

$(document).ready(function($)
{
    $('#shpeel').hide();
    
    $(window).load(function()
    {
        $('h1 a').click(callbacks.name_click);
        $('.subNameType').delay(1000)
        	.fadeOut(300, function(e){ 
	        	$(this).html('will be back soon.')
		            .delay(150)
		            .fadeIn(350)
		            .delay(2000)
		            .fadeOut(300, function()
		            { 
		                $(this).html('Interactive Developer');
		                $('h1 a').unbind().attr('href', 'mailto:me@samuelrounce.co.uk');
		                $('#shpeel').delay(150).fadeIn(350); 
		                $('#container').animate( {"margin-top":"150px"}, 700);
		            })
		            .delay(150)
		            .fadeIn(350);
		/***********/
    	});
    });
});
