var fDesc=new Array(); fDesc[2] = "graphics and a complex socioeconomic scheme, this game will keep you entertained for a while. The 2008 version includes new features which makes it the best of the series, but if you already own City Life, just stick to your copy."; fDesc[5] = "and sound. The scenarios become full of life and colour, the designers have paid much attention to the design of details, the shadows and light effects are very good."; fDesc[7] = "suspicious items and clues from different stages, discover how to use them in order to solve the mystery and clean your name."; 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 = '...'; } }