         hn.className = 'passed';
            } else {
                hn.appendChild(document.createTextNode(' - FAILED'));
                hn.className = 'err';
            }
        }        
    }
    
    hn = document.getElementsByTagName('h1')[0];
    hn.appendChild(document.createTextNode('Test: ' + tname));

    try {
        xhr = new ActiveXObject('Microsoft.XMLHTTP');
    } catch (e) {
        xhr = new XMLHttpRequest();
    }
    xhr.open('GET', tname + '.exp');
    xhr.onreadystatechange = fun