function refresh_bourse () {
	
	var renderDiv = document.getElementById('div_bourse_indice');
	
	dojo.io.iframe.send( {  
				// The following URL must match that used to test the server.				
				url : "includes/services/bourse.php",
				handleAs :"html",

				timeout :5000, // Time in milliseconds

				// The LOAD function will be called on a successful response.
				load : function(response, ioArgs) { 
					
					var divR = response.getElementById("divResponse");
					
					if (divR != null) { // not login in, should login first
						//console.debug(response.getElementById("divResponse"));
					
						var renderDiv = dojo.byId('div_bourse_indice');
						//var mask = dojo.byId('masque');
						renderDiv.innerHTML = response.getElementById("divResponse").innerHTML; 
						//alert(renderDiv.innerHTML);

						setTimeout("refresh_bourse()", 10000);
						
					} else { // has login in, show the add avis div
						
					}
				},

				// The ERROR function will be called in an error case.
				error : function(response, ioArgs) { // 
					console.error("HTTP status code: ", ioArgs.xhr.status); // 
					return response; // 
				}
	});

}