var fDesc=new Array(); fDesc[0] = "AIT Trains is a action puzzle game with two main modes: puzzle game and classic game. It is a best remake of famous game "Short Line" Puzzle game - game with simple rules - your main goal - rout train to town. The color of the train determines the color of the town where this train should be routed to. In classic game mode you make railnet, constructed from several various elementary track parcels, switches, signals, crossings, dead-ends and other elements."; 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 = ''; } }