var fDesc=new Array(); fDesc[0] = "This is a Mahjong game with the theme of ancient temples. Long ago, the people who bowed before the ancient gods became careless and they forgot about them. They stopped visiting the temples and saying their prayers. The ancient gods flew into a fury and decided to punish them. However one of the gods felt sorry for the people and wanted to help them avoid their punishment. He can't involve himself personally in mortal affairs, so it's up to you to support him and restore the dilapidated temples."; 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 = ''; } }