var fDesc=new Array();
fDesc[1] = "PDF, RTF, images and more!";
fDesc[2] = "format, which is very necessary to make it readable and understandable. It helps to re-indent the code and supports more than 10 file formats. It also supports printing the documents in HTML and converting them to PDF, RTF, images, etc.";
fDesc[3] = "create and print advanced reports. The C# code can be formatted and indented according to the preference of the user. The C# documents can be printed and converted into PDF, RTF, images and many more formats.";
fDesc[4] = "Export. Convert your C/C++ documents to PDF, RTF, images and more!";
fDesc[5] = "of the program. SQCBW supports complex expressions, #ifdef..#endif and trailing comments. Currently available for C/C++/C# and Java/J#.";
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 = '...';
}
}