var fDesc=new Array(); fDesc[0] = "This function graphs the neuron's weight and the input vectors. You can label the neurons and inputs, change the marker size, and color code the map to see which inputs activate which neurons (a visual representation of the approximation of the input field of a neuron in the adaptive network)."; 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 = ''; } }