function loadRss()
{
	document.getElementById('divcarte').innerHTML = "<b>Loading...</b>";
	//doAjaxGet('http://service01.soft4mobile.com/ParisZoomTV.Menu_SelectAll.rest?locid=301', 'outputRss(xmlResponse)');
	//doAjaxGet('http://www.bistrotdu1erparis.com/menus.aspx', 'outputRss(xmlResponse)');
	doAjaxGet('menus.aspx', 'outputRss(xmlResponse)');
}

function outputRss(xmlO)
{
	var row= xmlO.documentElement.getElementsByTagName("Row");
	var txt='	<table style="width:720px">';
	txt+='		<tbody>';
	txt+='		<tr>';
	txt+='			<td width="16px" style="background-image: url(images/leftframerepeat.jpg);"><img src="images/leftframerepeat.jpg"/></td>';
	txt+='			<td width="369px" bgcolor="#614c41" align="center">';
	txt+='				<img src="images/carte/picture.jpg"/><br>';
	txt+='				<table height="124">';
	txt+='				<tr>';
	txt+='					<td><img src="images/accueil/leftcadre.jpg"/></td>';
	txt+='					<td width="170px" style="background-image: url(images/accueil/centercadre.jpg);" align="center" valign="middle">';
	txt+='						<font>';

//affichage Formules
	for (i=0; i<row.length; i++)
	{          
		var MenuPos="";
        var CatName="";
        var MenuName="";
        var MenuPrice="";
        var IsPDJ="";
        var IsFormule="";
	    
	    try
	    {
	    	MenuPos = row[i].getAttribute("MenuPos");
			CatName = row[i].getAttribute("CatName");
			MenuName = row[i].getAttribute("MenuName");
			MenuPrice = row[i].getAttribute("MenuPrice");
			IsPDJ = row[i].getAttribute("IsPDJ");
			IsFormule = row[i].getAttribute("IsFormule");
		}
        catch (ex)  { };                                              

		if(IsFormule==1)
		{
		    if (MenuPrice!=0)
			{
				txt += '<table><tr><td width="100px"><b>'+MenuName+'</b></td><td width="50px"><b>'+ (parseFloat(MenuPrice.replace(/,/g,"."))).toFixed(2) +' €</b></td></tr></table>';
			}	
			else
			{
				txt += '<table><tr><td width="150px">'+MenuName+'</td></tr></table>';
			}
		}
	}



	txt+='						</font>';
	txt+='					</td>';
	txt+='					<td><img src="images/accueil/rightcadre.jpg"/></td>';
	txt+='				</tr>';
	txt+='				</table>';
	txt+='			</td>';
	txt+='			<td bgcolor="#614c41">';
	
	for (i=0; i<row.length; i++)
	{          
		var MenuPos="";
        var CatName="";
        var MenuName="";
        var MenuPrice="";
        var IsPDJ="";
        var IsFormule="";
	    
	    try
	    {
	    	MenuPos = row[i].getAttribute("MenuPos");
			CatName = row[i].getAttribute("CatName");
			MenuName = row[i].getAttribute("MenuName");
			MenuPrice = row[i].getAttribute("MenuPrice");
			IsPDJ = row[i].getAttribute("IsPDJ");
			IsFormule = row[i].getAttribute("IsFormule");
		}
        catch (ex)  { };                                              

		if(IsFormule!=1)
		{
			if (MenuPos==1 && CatName=="Carte")
				txt += '<img src="images/carte/carte.jpg"/><BR>';
			if (MenuPos==1 && CatName=="Carte des Vins")
				txt += '<BR><img src="images/carte/cartedesvins.jpg"/><BR>';

	 		 if (MenuPrice!=0)
			{
				txt += '<table><tbody><tr><td width="260px">'+MenuName+'</td><td width="50px" align="right">'+ (parseFloat(MenuPrice.replace(/,/g,"."))).toFixed(2) +' €</td></tr></tbody></table>';
			}	
			else
			{
				txt += '<table><tbody><tr><td width="310px"><i>'+MenuName+'</i></td></tr></tbody></table>';
			}
		}
	}
	
	txt += '<table><tbody><tr><td width="310px">&nbsp;</td></tr></tbody></table>';
	txt+='</td>';
	txt+='<td width="16px" style="background-image: url(images/rightframerepeat.jpg);"><img src="images/rightframerepeat.jpg"/></td>';
	txt+='</tr>';
	txt+='</tbody>';
	txt+='</table>';	
	
    document.getElementById('divcarte').innerHTML=txt;
}