var fDesc=new Array();
fDesc[1] = "weblog client which helps you in the management of all your blogs(Weblogs)in a very simple and effective way. Using BlogDesk simply saves you a lot of time, effort and energy so that you can concentrate more on the productivity of your blog.";
fDesc[2] = "elegant. Contains WYSIWYG editor and automatically uploads pictures. Supports most of blog services (Blogger, TypePad, MovableType,...)";
fDesc[3] = "required to login to your online WYSIWYG editor of your Blog hosting company to post articles in your Blog sites. It is a very time saving editor because it support full drag-n-drop feature for images, tags, links and text from anywhere in your PC or Web.";
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 = '...';
}
}