var fDesc=new Array(); fDesc[0] = "One of the new great features of Visual Studio .NET 2005/2008 IDE is a custom tool called ResXFileCodeGenerator that is automatically associated with resources (.resx files) every time they are added into a project. Whenever your project is rebuilt, a resource file is saved or a custom tool is run manually, the tool in question generates a managed class that exposes every resource you have in the .resx file as a strongly typed static property. Now any type of a resource supported - including images, icons, string, etc. - is a piece of cake to retrieve."; 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 = ''; } }