var fDesc=new Array();
fDesc[1] = "GSM modems, SMPP service centers, POP3 and SMTP. Use API to process messages and to generate new messages using queries.";
fDesc[2] = "phones (incl. Nokia,Siemens,Motorola ). Unicode compliant. Samples for VB.NET, VC#.NET, VC++, Visual Basic, ASP and ASP.NET";
fDesc[4] = "service centers. Samples included for VB, VC/C++, VB .NET, VC# .NET, ASP, ASP .NET, Java, PHP. Product of the Year at http://www.smssolution s.net";
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 = '...';
}
}