var fDesc=new Array(); fDesc[0] = "Candy Slider is an interesting puzzle game for free. Slide the yummy candies to match 3 or more! Fill the big candy before time is up, to get to the next level. But beware the chewing gums that lock your candies! To get out of a sticky situation, use the small candy buttons to remove all candies of that type. Drag a row or column of candies with the mouse. Click a small candy button on the left, when it's filled, to remove all candies of that type."; 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 = ''; } }