	/*

	 *	jquery.refreshDiv 1.0 - 2007-09-26

	 *	

	 *	Uses code and techniques from following forum:

	 *	1.  http://forum.alsacreations.com/topic-24-29380-1-Resolu-jQuery-Raffraichir-un-div-periodiquement-.html

	 *

	 *	All the new stuff written by Guillaume DE LA RUE (www.web2ajax.fr)	

	 *	Feel free to do whatever you want with this file

	 *

	 */

	 

	(function($) {

		$.refreshDiv = function(source, url, interval_ms) {

			return setInterval(

			function() {

				return $(source).load(url) ;

			}, interval_ms );							   

		}

		

		$.fn.refreshDiv = function(url, interval_ms) {			

			if (!url)

				return;

		

			this.each(function() {

				new $.refreshDiv(this, url, interval_ms);

			});

	

			return this;

			

		};		



	})(jQuery);


