var fDesc=new Array(); fDesc[0] = "You operate a small machine. Your task moving on roads connecting 'Castels' is to destroy them. After destruction of the 'Castels'. There will be a picture to one the places you must take it. You should destroy all 'Castels' and collect all pictures at a level. After it is made go to exit. Level is passed. Between levels you should collect puzzle from pictures."; 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 = ''; } }