//<![CDATA[
(function($){
    $.fn.preloadImages = function(){
		 $.img_inc = 0;
		 $.img_ttl = $(this).length
		 $.imgs = [];
		 $('span#ttlimg').html( $.img_ttl );		
		
		return this.each(function() { 
				$(this).fadeIn();
				}).each( function() { 
					if( this.complete || ( $.browser.msie && parseInt( $.browser.version ) >= 6 )) { 
						$(this).trigger('load'); 
					}
				});

	}
	
})(jQuery);
//]]>
