var fDesc=new Array(); fDesc[0] = "With this camera simulator you can try different aperture and shutters to affect a photos light, depth and motion blur. Try also to change the camera’s light sensitivity by manipulating its ISO value. A higher ISO value gives higher sensitivity to light, which allows faster shutter speeds. The disadvantage is that the picture is more grainy."; 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 = ''; } }