var fDesc=new Array(); fDesc[0] = "Wendy loves to spell, but she needs help with some words she's got stuck on. In this word game you must try and use the end two letters of one word for the first two letters of the next one. Use the pictures as clues - the first one has been done for you. Wendy will be so pleased if you can help her!"; 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 = ''; } }