var fDesc=new Array(); fDesc[0] = "At the beginning different pieces of pipes, as bendings, junctions, crossings, a.s.o are randomally placed on the board. A combination of connected pipes (sometimes a single pipe) is flooded by a fluid. Now you can rotate the pipes in 90°-steps by clicking them. But only these, which are flooded. All pipes, which have a connection with the rotated one now, will be flooded too. The fluid will drain away of all pipes, which have lost their connection with the rotated one. If you succeed in flooding all pipes, you have solved the level. More than 100 additional jobs will wait for you."; 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 = ''; } }