function loadXMLDoc(url)
{
if (window.XMLHttpRequest)
  {// code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttp=new XMLHttpRequest();
  }
else
  {// code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
xmlhttp.onreadystatechange=function()
  {
  if (xmlhttp.readyState==4 && xmlhttp.status==200)
    {
	  txt="";
    //txt="<table border='1' width='550' frame='hsides'>";
    x=xmlhttp.responseXML.documentElement.getElementsByTagName("product");
    for (i=0;i<x.length;i++)
      {
      txt=txt + "<hr/><table border='0' width='100%' frame='hsides'><tr>";
	  xx=x[i].getElementsByTagName("item");
        {
        try
          {
          txt=txt + "<td width='120'><img src='products_images/" + xx[0].firstChild.nodeValue + ".gif' width='150' height='150'></img></td>";
          }
        catch (er)
          {
          txt=txt + "<td> </td>";
          }
        }
      xx=x[i].getElementsByTagName("item");
        {
        try
          {
          txt=txt + "<td><h4>" + xx[0].firstChild.nodeValue + "</h4>";
          }
        catch (er)
          {
          txt=txt + "</td>";
          }
        }
      xx=x[i].getElementsByTagName("name");
        {
        try
          {
          txt=txt + "<h5>" +xx[0].firstChild.nodeValue + "</h5>";
          }
        catch (er)
          {
          txt=txt + "</td>";
          }
        }
      
	xx=x[i].getElementsByTagName("feature1");
        {
        try
          {
          txt=txt + "<ul><li>"+xx[0].firstChild.nodeValue+"</li>";
          }
        catch (er)
          {
          txt=txt + "</td>";
          }
        }
		xx=x[i].getElementsByTagName("feature2");
        {
        try
          {
          txt=txt +"<li>"+xx[0].firstChild.nodeValue+"</li>";
          }
        catch (er)
          {
          txt=txt + "</td>";
          }
        }
     xx=x[i].getElementsByTagName("feature3");
        {
        try
          {
          txt=txt +"<li>"+xx[0].firstChild.nodeValue+"</li></ul>";
          }
        catch (er)
          {
          txt=txt + "</td></ul>";
          }
        }
	//	 xx=x[i].getElementsByTagName("item");
      //  {
       // try
         // {
       //   txt=txt +"<td width='30'><a href=z_"+xx[0].firstChild.nodeValue+".html>See More</a></p></td></td>";
        //  }
       // catch (er)
        //  {
        //  txt=txt + "<td></td>";
       //   }
      //  }
     txt=txt + "</tr></table>";

      }
	  txt=txt + "<hr/>";
//    txt=txt + "</table>";
    document.getElementById('display-products').innerHTML=txt;
    }
  }
xmlhttp.open("GET",url,true);
xmlhttp.send();
}
