var fDesc=new Array();
fDesc[1] = "elements that won’t disappoint fans of the first game. Abe is back, now turned into a sort of hero, with a new and dangerous mission to fulfill, which also makes room for a bizarre sense of humor that provides some hilarious and unforgettable scenes.";
fDesc[2] = "organize recipes by category, main ingrdient or style, nutrition calculation, create shopping list of meal plans and more...";
fDesc[3] = "beverage types, such as origin, grape varieties, vintage, price, wine grower, remarks, tasting notes, quantity on hand, etc. The Wine Cellar Book is currently available in English, German and French.";
fDesc[5] = "It can help you manage and value your wine collections.";
function tCollapseAll(maxID)
{
document.getElementById("alls_action").innerHTML = "Expand descriptions";
var id=1;
for (id=1; id <= maxID; id++)
{
if (document.getElementById("desc_" + id))
tShowHide(id, 2);
}
}
function tExpandAll(maxID)
{
document.getElementById("alls_action").innerHTML = "Collapse descriptions";
var id=1;
for (id=1; id <= maxID; id++)
{
if (document.getElementById("more_" + id))
tShowHide(id, 1);
}
}
function tShowHide(id, show)
{
var s = document.getElementById("more_" + id);
if ((s.innerHTML!=fDesc[id] || show==1) && show!=2)
{
s.innerHTML = fDesc[id];
}
else
{
s.innerHTML = '...';
}
}