function switchView(view) {
var targets = document.getElementById('mkwsTargets');
- var records = document.getElementById('mkwsResults');
+ var results = document.getElementById('mkwsResults');
var blanket = document.getElementById('mkwsBlanket');
switch(view) {
case 'targets':
targets.style.display = "block";
- if (records) records.style.display = "none";
+ if (results) results.style.display = "none";
if (blanket) { blanket.style.display = "none"; }
break;
- case 'records':
+ case 'results':
targets.style.display = "none";
- if (records) records.style.display = "block";
+ if (results) results.style.display = "block";
if (blanket) { blanket.style.display = "block"; }
break;
case 'none':
targets.style.display = "none";
- if (records) records.style.display = "none";
+ if (results) results.style.display = "none";
if (blanket) { blanket.style.display = "none"; }
break;
default: