var divids=new Array('Colleges_Classes','Colleges_Div. I','Colleges_Div. II','Colleges_Junior College','Colleges_NAIA','Colleges_NCCAA','Colleges_Out of State Players','Colleges_Class A','Colleges_Class B','Colleges_Class C1','Colleges_Class C2','Colleges_Class D1','Colleges_Class D2','Colleges_Now-Defunct VB','Colleges_Age 12','Colleges_Age 13','Colleges_Age 14','Colleges_Age 15','Colleges_Age 16','Colleges_Age 17','Colleges_Age 18','High Schools_Classes','High Schools_Div. I','High Schools_Div. II','High Schools_Junior College','High Schools_NAIA','High Schools_NCCAA','High Schools_Out of State Players','High Schools_Class A','High Schools_Class B','High Schools_Class C1','High Schools_Class C2','High Schools_Class D1','High Schools_Class D2','High Schools_Now-Defunct VB','High Schools_Age 12','High Schools_Age 13','High Schools_Age 14','High Schools_Age 15','High Schools_Age 16','High Schools_Age 17','High Schools_Age 18','Youth_Classes','Youth_Div. I','Youth_Div. II','Youth_Junior College','Youth_NAIA','Youth_NCCAA','Youth_Out of State Players','Youth_Class A','Youth_Class B','Youth_Class C1','Youth_Class C2','Youth_Class D1','Youth_Class D2','Youth_Now-Defunct VB','Youth_Age 12','Youth_Age 13','Youth_Age 14','Youth_Age 15','Youth_Age 16','Youth_Age 17','Youth_Age 18');

function onlydiv(id){	
hideall();
showdiv(id);
}

function switchdiv(id){	
current = document.getElementById(id);
if (current.style.display == 'block') {
hideall();
showdiv('div0');
} else {
hideall();
showdiv(id);
}
}

function togglediv(id){	
current = document.getElementById(id);
if (current.style.display == 'none') {
showdiv(id);
} else {
hidediv(id);
}
}

function hideall(){
for (var i=0;i<divids.length;i++){
hidediv(divids[i]);
}
}

function hidediv(id) {
if (document.getElementById) {
document.getElementById(id).style.display = 'none';
} else {
if (document.layers) {
document.id.display = 'none';
} else {
document.all.id.style.display = 'none';
}
}
}

function showdiv(id) {
if (document.getElementById) {
document.getElementById(id).style.display = 'block';
} else {
if (document.layers) {
document.id.display = 'block';
} else {
document.all.id.style.display = 'block';
}
}
}