var fDesc=new Array(); fDesc[0] = "The WinRock Rock Classification Wizard is a rock classification program for use with mineralogical data. The WinRock Rock Classification Wizard uses the International Union of Geological Sciences recommendations for igneous rock classification and uses modal mineralogy or XYZ data. WinRock Wizard also classifies sedimentary and metamorphic rocks and meteorites. Simply follow the prompts to classify your rock. A series of questions is given during the classification process. Select one of the multiple choice answers that bests fits the description of your sample. The final answer may be a specific rock type or a general rock group with the option of classifying the rock further using tables provided."; 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 = ''; } }