(function($){
	var cache = [];	  
	var cacheAdv = [];
	$.preloadImages = function() {
		$('img').each(function() {
		  var cacheImage = document.createElement('img');
		  	if (!$(this).hasClass('noPreload')){
            cacheImage.src = $(this).attr('src');
            $(this).hide();
            $(cacheImage).data('idd',$(this));
            $(cacheImage).load(function(){$this= $(this).data('idd'); $this.fadeIn();})
            cacheAdv.push(cacheImage);
        }
	    })	
  }
})(jQuery);




