var fDesc=new Array(); fDesc[0] = "This software offers a solution to users who want to compress the file size of web images such as JPG, JPEG, BMP, GIF and PNG. The user simply adds the required files or an entire folder of images. If the images are JPG or JPEG files, there is a slider to set the image quality. With one click, the file size of a large number of images can be reduced automatically. This can be very useful, for example, when trying to reduce load times of web pages."; 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 = ''; } }