var fDesc=new Array(); fDesc[1] = "each of the five prescribed prayers. It can be fully customized to our preferences. It lets us select audio and images, set reminders, select our location from the list provided, see the Quiblah direction, etc."; fDesc[2] = "launch automatically at specific times for recitals or for giving Athan at times manually configurable by yourself. Prayer timings of local majids can be configured so that you're alerted five times a day by an Athan of your choice."; fDesc[7] = "anywhere in the world. This feature-rich application can be used by anyone novice/advanced without having to worry about complicated settings (designed with usability in mind). Please note that this application is specifically designed to run on Windows® XP operating system."; fDesc[9] = "and the moon phases, eclipses and sun eclipses. Calculate Prayer Times, Salat, Qiblah for any location in the world!."; fDesc[14] = "a perpetual, theme based, multicultural, personal desktop calendar with the beauty of a wall calendar."; function tCollapseAll(maxID) { document.getElementById("alls_action").innerHTML = "Expand descriptions"; var id=1; for (id=1; id <= maxID; id++) { if (document.getElementById("desc_" + id)) tShowHide(id, 2); } } function tExpandAll(maxID) { document.getElementById("alls_action").innerHTML = "Collapse descriptions"; var id=1; for (id=1; id <= maxID; id++) { if (document.getElementById("more_" + id)) tShowHide(id, 1); } } function tShowHide(id, show) { var s = document.getElementById("more_" + id); if ((s.innerHTML!=fDesc[id] || show==1) && show!=2) { s.innerHTML = fDesc[id]; } else { s.innerHTML = '...'; } }