  <head>

<script>
function showSelectedValues()
{

 var checkboxes = document.getElementsByName('check');
  var checkboxesChecked = [];
  // loop over them all
  for (var i=0; i<checkboxes.length; i++) {
     // And stick the checked ones onto an array...
     if (checkboxes[i].checked) {
        checkboxesChecked.push(checkboxes[i].value);
     }
  }
  document.getElementById("show").value = checkboxesChecked;

window.location.href="http://www.bistrowinelist.com/foodmatches/?food1=D: Cocoa Pork&food2=S: Fish Cakes&food3=D: Grilled Fish Spicy Veg&food4=S: Churros";
}
</script>



 </head>
 <body>

  <div>

[xyz-ips snippet="SelectDistinctFoods"]


  </div>  
 </body>




