var fDesc=new Array(); fDesc[0] = "Dietplan6 is a program that can handle food tables from multiple sources and data from any source can be included in any recipe, menu or personal food diary without restriction. The database also includes Dietary Reference Values (COMA, 1991), Food Portion Sizes (MAFF 2nd Edition, 1993), Food Labelling Data (EU Regulation 2011) and the Nutritional Standards and Requirements for School Food (HMSO, 2008). Nutrient values are calculated as soon as a food or ingredient is added, making it easy to observe the effects of adding or subtracting any item."; function tShowHide(id, show) { var s = document.getElementById("desc"); if ((s.innerHTML.length<=212 || show==1) && show!=2) { s.innerHTML = fDesc[id]; if (document.getElementById('m1')) document.getElementById('m1').style.display='none'; if (document.getElementById('m2')) document.getElementById('m2').style.display='none'; if (document.getElementById('more_txt')) document.getElementById('more_txt').style.display='inline'; } else { s.innerHTML = ''; } }