var fDesc=new Array(); fDesc[0] = "Date Calculator performs a variety of calendar related functions useful in business. It will display a calendar for any month of any year. It will calculate the number of days between any two dates, optionally not counting certain days of the week, such as Saturday and Sunday. It can also be programmed to skip holidays. It can also calculate the date X days before or after a given date, again optionally only counting certain user selected days of the week. It can automatically remind you of your appointments for the day, or show you a list of all your stored appointments, or only those appointments on any date you select. It has a feature for creating user defined"; 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 = ''; } }