/********function for flash pub hors serie*******/
function openWindow(url, windowName, settings)
{
window.open(url,windowName, settings);
}

function displaySaint(){
	
	if(document.getElementById('saint').style.display ="none")
	{
		document.getElementById('saint').style.display = "block";
		document.getElementById('recommencer').style.display = "block";
		document.getElementById('choisirSaint').style.display = "none";
		
	}
	
}
function newSaint(){


/*var xhr_object = null; 
 
if(window.XMLHttpRequest) // Firefox 
   xhr_object = new XMLHttpRequest(); 
else if(window.ActiveXObject) // Internet Explorer 
   xhr_object = new ActiveXObject("Microsoft.XMLHTTP"); 
else { // XMLHttpRequest non supporté par le navigateur 
   alert("Votre navigateur ne supporte pas les objets XMLHTTPRequest..."); 
   return; 
} 
 
xhr_object.open("POST", "typo3conf/ext/jm_quote/pi1/class.tx_jmquote_pi1.php", true); 
	 
xhr_object.onreadystatechange = function() { 
	   if(xhr_object.readyState == 4) alert(xhr_object.responseText); 
} 
 
xhr_object.send(null); 

	
*/
	window.location.reload();
	displaySaint();
	
}
