// JavaScript Document
var numRecipes = 4
var numRecipes1 = 3 // This value may change depending on how many featured recipes are on this page, 
					// increase/decrease accordingly as recipes are added or subtracted
var numRecipes2 = 6

// function for chicken and pork recipes
function showHide_chicpork (id) {
  for (i=1;i<=numRecipes;i++) {
	document.getElementById("chicpork_recipe" + i).style.display = 'none';
	
  }
document.getElementById("chicpork_recipe" + id).style.display = '';
}

// function for seafood recipes
function showHide_seafood (id) {
  for (i=1;i<=numRecipes1;i++) {
	document.getElementById("seafood_recipe" + i).style.display = 'none';
	
  }
document.getElementById("seafood_recipe" + id).style.display = '';
}

// function for family recipes
function showHide_family (id) {
  for (i=1;i<=numRecipes2;i++) {
	document.getElementById("family_recipe" + i).style.display = 'none';
	
  }
document.getElementById("family_recipe" + id).style.display = '';
}