<!--
function toggleUserType(evt) {
    if (evt == "individual") {
        document.getElementById("individual_block").style.display = "inline";
        document.getElementById("group_block").style.display = "none";
        document.getElementById("business_block").style.display = "none";
        document.getElementById("band_block").style.display = "none";
    }
    if (evt == "group") {
        document.getElementById("individual_block").style.display = "none";
        document.getElementById("group_block").style.display = "inline";
        document.getElementById("business_block").style.display = "none";
        document.getElementById("band_block").style.display = "none";
    }
    if (evt == "business") {
        document.getElementById("individual_block").style.display = "none";
        document.getElementById("group_block").style.display = "none";
        document.getElementById("business_block").style.display = "inline";
        document.getElementById("band_block").style.display = "none";
    }
    if (evt == "band") {
        document.getElementById("individual_block").style.display = "none";
        document.getElementById("group_block").style.display = "none";
        document.getElementById("business_block").style.display = "none";
        document.getElementById("band_block").style.display = "inline";
    }
}
function check_form() {
    var returnval = true;
    var errorstring = "";
    
    if (!document.registerform.username.value || !document.registerform.email.value) {
        errorstring += "<p><strong>You must supply values for username and email address.</strong></p>";
        returnval = false;
    }

    if (!document.registerform.agreeterms.checked) {
        errorstring += "<p><strong>You must read and agree to the terms of service to continue.</strong></p>";
        returnval = false;
    }
    
    if (!returnval) {
        document.getElementById('errors').innerHTML = errorstring;
    }

    return returnval;
}
-->