

$(document).ready(function(){


  		$(".post-title a").PastelShadow({
                    x: 1,
                    y: 1,
                    blur: 2,
                    color: "#CCC"
                } );

            $(".post-title").PastelShadow({
                    x: 1,
                    y: 1,
                    blur: 2,
                    color: "#CCC"
                } );

  });

$(window).load(function(){

  	//$('#page #wrapper #main #content .post .post-content p img').hide();
});
var i = 0; //initialize
var int=0; //Internet Explorer Fix

jQuery(window).bind("load", function() { //The load event will only fire if the entire page or document is fully loaded

//	var int = setInterval("doThis(i)",800); //500 is the fade in speed in milliseconds

});

function doThis() {

	var imgs = jQuery('#page #wrapper #main #content .post .post-content p img').length; //count the number of images on the page
	if (i >= imgs) { //Loop the images
		clearInterval(int); //When it reaches the last image the loop ends
	}
		jQuery('img:hidden').eq(0).fadeIn(800); //fades in the hidden images one by one
		i++; //add 1 to the count
		 jQuery('#page #wrapper #main #content .post .post-content p').background = 'none';
}

