//When the DOM tree is loaded
jQuery(document).ready(function() {
	$('#EssenceSlogan').fadeIn(1000);
	//Add pointer class to .photo .item
	//$(".photo .item").addClass("pointer");

	//Hover over photo fade in hidden span
	/*$(".photo .item").hover(
	function() {
	$(this).find("span").fadeIn();
	},
	function() {
	$(this).find("span").fadeOut();
	}
	);*/

});

jQuery.preloadImages = function() {
	for (var i = 0; i < arguments.length; i++) {
		jQuery("<img>").attr("src", arguments[i]);
	}
}
