function clearSearch() 
{	
	if (document.getElementById('search').value == 'search') {
		document.getElementById('search').value = '';
	}
}

function toggle(chkbox, group) {
    var visSetting = (chkbox.checked) ? "visible" : "hidden"
    document.getElementById(group).style.visibility = visSetting
}

function swap(radBtn, group) {
    var group2VisSetting = (group == "group2") ? ((radBtn.checked) ? "" : "none") : "none"
    var group3VisSetting = (group == "group3") ? ((radBtn.checked) ? "" : "none") : "none"

    document.getElementById("group2").style.display = group2VisSetting
    document.getElementById("group3").style.display = group3VisSetting

}

function swap2(radBtn, group) {
    var group2VisSetting = (group == "group4") ? ((radBtn.checked) ? "" : "none") : "none"
    var group3VisSetting = (group == "group5") ? ((radBtn.checked) ? "" : "none") : "none"
    document.getElementById("group4").style.display = group2VisSetting
    document.getElementById("group5").style.display = group3VisSetting
	
}

function swap3(radBtn, group) {
    var group2VisSetting = (group == "group6") ? ((radBtn.checked) ? "" : "none") : "none"
    var group3VisSetting = (group == "group7") ? ((radBtn.checked) ? "" : "none") : "none"
    document.getElementById("group6").style.display = group2VisSetting
    document.getElementById("group7").style.display = group3VisSetting
	
}

function swap4(radBtn, group) {
    var group2VisSetting = (group == "group8") ? ((radBtn.checked) ? "" : "none") : "none"
    var group3VisSetting = (group == "group9") ? ((radBtn.checked) ? "" : "none") : "none"
    document.getElementById("group8").style.display = group2VisSetting
    document.getElementById("group9").style.display = group3VisSetting
	
}

function swap5(radBtn, group) {
    var group2VisSetting = (group == "group10") ? ((radBtn.checked) ? "" : "none") : "none"
    var group3VisSetting = (group == "group11") ? ((radBtn.checked) ? "" : "none") : "none"
    document.getElementById("group10").style.display = group2VisSetting
    document.getElementById("group11").style.display = group3VisSetting
	
}

function swap6(radBtn, group) {
    var group2VisSetting = (group == "group12") ? ((radBtn.checked) ? "" : "none") : "none"
    var group3VisSetting = (group == "group13") ? ((radBtn.checked) ? "" : "none") : "none"
    document.getElementById("group12").style.display = group2VisSetting
    document.getElementById("group13").style.display = group3VisSetting
	
}
function swap7(radBtn, group) {
    var group2VisSetting = (group == "group14") ? ((radBtn.checked) ? "" : "none") : "none"
    var group3VisSetting = (group == "group15") ? ((radBtn.checked) ? "" : "none") : "none"
    document.getElementById("group14").style.display = group2VisSetting
    document.getElementById("group15").style.display = group3VisSetting
	
}


