function getRefToDiv(divID) {
    if( document.layers ) { //Netscape layers
        return document.layers[divID]; }
    if( document.getElementById ) { //DOM; IE5, NS6, Mozilla, Opera
        return document.getElementById(divID); }
    if( document.all ) { //Proprietary DOM; IE4
        return document.all[divID]; }
    if( document[divID] ) { //Netscape alternative
        return document[divID]; }
    return false;
}
function showDiv(divID_as_a_string) {
    myReference = getRefToDiv(divID_as_a_string);
    if( !myReference ) {
       // window.alert('Nothing works in this browser');
        return false; 
    }
    if( myReference.style ) { 
        myReference.style.display = 'block';
    } else {
        if( myReference.display ) {
            myReference.display = 'block';
        } else {
           // window.alert('Nothing works in this browser');
            return false; 
        }
    }
    return true;
}
function hideDiv(divID_as_a_string) {
    myReference = getRefToDiv(divID_as_a_string);
    if( !myReference ) {
        //window.alert('Nothing works in this browser');
        return false; 
    }
    if( myReference.style ) { 
        myReference.style.display = 'none';
    } else {
        if( myReference.display ) {
            myReference.display = 'none';
        } else {
           // window.alert('Nothing works in this browser');
            return false; 
        }
    }
    return true;
}

