jQuery(window).load(function() {
	if ( !jQuery('#animatePhoto').length )
		return;
	var duration = 500;
	var delay = 150;
	var index = 0;
	jQuery('#animatePhoto').find('div').each(function() {
		var _this = this;
		setTimeout(
			function() {
				jQuery(_this).animate(
					{ width: '0px' },
					duration,
					"swing",
					function() {
						jQuery(_this).hide();
					}
				);
			},
			index * delay
		);
		index++;
	});
});
