var fDesc=new Array(); fDesc[0] = "UVA Arena is a program designed to make problem solving easier for the programmers. It is based on popular UVA Online Judge and uses APIs from uHunt. The main target of this software is to provide an useful and informative tool to help with programming practice. You can view a list of all problems of UVA Online Judge, view and download the problem description offline, generate a sample input and output file from a problem description, edit and compile code, compare submissions between two users, and more."; 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 = ''; } }