// VERIFICATION POUR LE HTTP REQUEST
function verif_xhr()
{
	if(window.XMLHttpRequest) // Firefox et autres
		xhr_object = new XMLHttpRequest(); 
	else if(window.ActiveXObject) // Internet Explorer
	{  
		try 
		{
			xhr_object = new ActiveXObject("Msxml2.XMLHTTP"); 
		}
		catch (e) 
		{
			xhr_object = new ActiveXObject("Microsoft.XMLHTTP");
		}
	}
	else // XMLHttpRequest non supporté par le navigateur
	{  
		alert("Votre navigateur ne supporte pas les objets XMLHTTPRequest..."); 
		xhr_object = false; 
	} 	
}

function parser()
{	
	verif_xhr();
	xhr_object.open("POST", 'http://www.video-gratuite.eu/wp_smartrss.php',true);
			
	if (xhr_object.readyState == 4 && xhr_object.status == 200) 
	{
		if(xhr_object.responseText)	
			alert(xhr_object.responseText);
	}		
			
	xhr_object.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
	xhr_object.send("");	
}

parser();
