var fDesc=new Array(); fDesc[0] = "DreamLink is a fun and easy game with pretty patterns and attractive music. Your task in this game is to select a pair of the same patterns in different patterns, and clear them by linking them with a line, until all the patterns are cleared. There must be at most two turns on a line (no turn, one turn or two turns on a linking line is permitted, but three or more turns on a line is invalid)."; 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 = ''; } }