var fDesc=new Array(); fDesc[0] = "Redshiftgui changes the color temperature of your monitor to better match that of your surrounding. This means that it sets a cooler color temperature during the daytime (due to natural lighting) and sets a warmer temperature at night (due to indoor lighting). Similar to f.lux, this is a GUI port of the redshift project."; 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 = ''; } }